[PATCH] app/testpmd: support config offloads for all ports

lihuisong (C) lihuisong at huawei.com
Sat Nov 11 04:09:09 CET 2023


在 2023/11/11 10:50, Ferruh Yigit 写道:
> On 11/10/2023 9:10 AM, Dengdui Huang wrote:
>> Support config Rx/Tx offload for all ports in following commands:
>> 1. port config all rx_offload (offloading) (on|off)
>> 2. port config all tx_offload (offloading) (on|off)
>>
>> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
>> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
>>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>
>
> <...>
>
>> @@ -11230,6 +11238,79 @@ static cmdline_parse_inst_t cmd_config_per_port_rx_offload = {
>>   	}
>>   };
>>   
>> +/* Enable/Disable a per port offloading */
>>
> Comment needs to be updated for 'all' port, and it may be good to add
> Rx, like:
>
> /* Enable/Disable all port Rx offloading */
>
> Similar comment is for Tx code.

+1

Acked-by: Huisong Li <lihuisong at huawei.com>

>
>
> As this is only a minor change and rest looks good to me, I will update
> while merging.
>
> .


More information about the dev mailing list