Question about pattern types for rte_flow RSS rule

lihuisong (C) lihuisong at huawei.com
Fri Jul 29 04:30:45 CEST 2022


Hi Ori, and all,

For RSS flow rule, pattern item types and RSS types in action
are an inclusive relationship, and RSS types contain pattern item
types. Is it necessary to set pattern item types when specify RSS
types to create a rule? How should the user set and how should the
driver do?

Looking forward to your reply.

Regards,
Huisong

在 2022/7/13 9:34, lihuisong (C) 写道:
> Hi all,
>
> Can someone open my confusion?
> I'm looking forward to your reply.
>
> Thanks,
> Huisong.
>
> 在 2022/7/7 11:50, lihuisong (C) 写道:
>> Hi all,
>>
>> From following testpmd command:
>> 'flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss 
>> types ipv4-tcp l3-src-only end queues end / end'
>> and
>> "flow create 0 ingress pattern end actions rss types ipv4-tcp 
>> l3-src-only end queues end / end"
>>
>> I have some confusions about rte_flow RSS rule:
>> 1> Do pattern item types need to set when configure rte_flow RSS rule?
>> 2> Does the driver need to check and process the pattern? (After all, 
>> the RSS types in actions alreadly contain all RSS offload types.)
>>
>> Have someone explains it?
>>
>> Regards,
>> Huisong
>>
>> .
> .


More information about the dev mailing list