Re: [PATCH net-next v6 4/5] net: ti: icssg-prueth: Enable HSR Tx duplication, Tx Tag and Rx Tag offload

From: Roger Quadros
Date: Wed Sep 11 2024 - 07:59:05 EST




On 11/09/2024 11:16, MD Danish Anwar wrote:
> From: Ravi Gunasekaran <r-gunasekaran@xxxxxx>
>
> The HSR stack allows to offload its Tx packet duplication functionality to
> the hardware. Enable this offloading feature for ICSSG driver. Add support
> to offload HSR Tx Tag Insertion and Rx Tag Removal and duplicate discard.
>
> hsr tag insertion offload and hsr dup offload are tightly coupled in
> firmware implementation. Both these features need to be enabled / disabled
> together.
>
> Duplicate discard is done as part of RX tag removal and it is
> done by the firmware. When driver sends the r30 command
> ICSSG_EMAC_HSR_RX_OFFLOAD_ENABLE, firmware does RX tag removal as well as
> duplicate discard.
>
> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@xxxxxx>
> Signed-off-by: MD Danish Anwar <danishanwar@xxxxxx>

Reviewed-by: Roger Quadros <rogerq@xxxxxxxxxx>