Hi,

I submitted a patch for supporting generic flow in native avf.  
https://gerrit.fd.io/r/c/vpp/+/37563

Generic flow related features were discussed and accepted in the past two 
releases, for example, generic flow in dpdk plugins and packetforge. This time 
we are willing to enable it in native avf.
However, since native avf does not support RSS now, we should also enable RSS 
function this time. It is the reason why we mark this patch as RFC.

We only enabled RSS functions needed by generic flow in this patch. It will 
parse the generic flow patterns and deliver the spec and mask to kernel driver 
through virtual channel. The same in FDIR. Native avf does not need to 
translate generic flow to hardware accepted flow profile. It is the work of 
kernel driver. We kept a position for common RSS process, but it will do 
nothing.

Since the original "avf_flow_add" functions are only for FDIR, we extend them 
for RSS and FDIR both. The flow rule type (RSS or FDIR) will be determined by 
the flow command, for example, the "test flow" command in vnet/flow CLI, 
"redirect-to-queue 3" means FDIR and "rss function default" means RSS.

[cid:image002.png@01D8EDDF.A64C5560]

I would be grateful if maintainers can have a look at this RFC patch, and give 
comments especially on RSS design in native avf. Thanks!

Best Regards
Xu Ting

Attachment: image001.emz
Description: image001.emz

Attachment: oledata.mso
Description: oledata.mso

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22110): https://lists.fd.io/g/vpp-dev/message/22110
Mute This Topic: https://lists.fd.io/mt/94701971/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to