[PATCH net-next v2 5/7] net: ti: icssg-prueth: Enable HSR Tx Packet duplication offload
MD Danish Anwar
danishanwar at ti.com
Tue Aug 13 23:59:57 PDT 2024
On 13/08/24 8:53 pm, Andrew Lunn wrote:
>> --- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c
>> +++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
>> @@ -41,7 +41,8 @@
>> #define DEFAULT_PORT_MASK 1
>> #define DEFAULT_UNTAG_MASK 1
>>
>> -#define NETIF_PRUETH_HSR_OFFLOAD NETIF_F_HW_HSR_FWD
>> +#define NETIF_PRUETH_HSR_OFFLOAD (NETIF_F_HW_HSR_FWD | \
>> + NETIF_F_HW_HSR_DUP)
>
> Ah! Now i see why you added the alias. This is O.K. then.
>
> Maybe NETIF_PRUETH_HSR_OFFLOAD_FEATURES, although that is a bit long,
> but it makes it clear it is a collection of features, not an alias for
> one feature.
>
Sure. I will change this. Thanks for reviewing this series.
>
> Andrew
--
Thanks and Regards,
Danish
More information about the linux-arm-kernel
mailing list