[PATCH V3 app/testpmd 2/4] app/testpmd: unify RSS types display and obtaination
lihuisong (C)
lihuisong at huawei.com
Thu Jun 9 05:25:36 CEST 2022
在 2022/6/7 23:46, Ferruh Yigit 写道:
> On 6/7/2022 9:32 AM, Huisong Li wrote:
>
>>
>> The 'rss_type_table[]' maintains string name and value of RSS types.
>> This
>> patch unifies a common interface to display or obtain RSS types.
>>
>> Signed-off-by: Huisong Li <lihuisong at huawei.com>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at xilinx.com>
>
> <...>
>
>> @@ -5669,6 +5681,7 @@ set_record_burst_stats(uint8_t on_off)
>> record_burst_stats = on_off;
>> }
>>
>> +#if defined(RTE_NET_I40E) || defined(RTE_NET_IXGBE)
>> static char*
>> flowtype_to_str(uint16_t flow_type)
>> {
>> @@ -5712,8 +5725,6 @@ flowtype_to_str(uint16_t flow_type)
>> return NULL;
>> }
>>
>> -#if defined(RTE_NET_I40E) || defined(RTE_NET_IXGBE)
>> -
>
> I think this change should be in first patch (v1/4) where
> 'flowtype_to_str' stopped being used.
Ack.
>
> .
More information about the dev
mailing list