RFC Enable Intel VF flow director with DDP
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest20 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | ice: Add more basic protocol support for flow filterdrivers/ drivers/ drivers/ +2 more | +221 | 0 replies | |
| 2/20 | ice: Support non word aligned input set fielddrivers/ drivers/ drivers/ +5 more | +621 | 0 replies | |
| 3/20 | ice: Add more advanced protocol support in flow filterdrivers/ drivers/ drivers/ | +396 | 0 replies | |
| 4/20 | ice: Support to separate GTP-U uplink and downlinkdrivers/ drivers/ drivers/ +1 more | +242 | 0 replies | |
| 5/20 | ice: Enhanced IPv4 and IPv6 flow filterdrivers/ drivers/ | +53 | 0 replies | |
| 6/20 | ice: Enable RSS Configure for AVFdrivers/ drivers/ include/ | +628 | 0 replies | |
| 7/20 | ice: Support RSS configure removal for AVFdrivers/ drivers/ drivers/ | +110 | 0 replies | |
| 8/20 | ice: Add support for per VF ctrl VSI enablingdrivers/ drivers/ drivers/ +2 more | +130 | 0 replies | |
| 9/20 | ice: Support FDIR configure for AVFdrivers/ drivers/ drivers/ +7 more | +1215 | 0 replies | |
| 10/20 | ice: Add FDIR pattern action parser for VFdrivers/ | +351 | 0 replies | |
| 11/20 | ice: Add new actions support for VF FDIRdrivers/ drivers/ drivers/ +1 more | +27 | 0 replies | |
| 12/20 | ice: Add non-IP Layer2 protocol FDIR filter for AVFdrivers/ drivers/ drivers/ +3 more | +70 | 0 replies | |
| 13/20 | ice: Add GTPU FDIR filter for AVFdrivers/ drivers/ drivers/ +1 more | +237 | 0 replies | |
| 14/20 | ice: Add more FDIR filter type for AVFdrivers/ drivers/ drivers/ +1 more | +545 | 0 replies | |
| 15/20 | ice: Check FDIR program status for AVFdrivers/ drivers/ drivers/ +4 more | +536 | 0 replies | |
| 16/20 | iavf: Add framework to enable ethtool ntuple filtersdrivers/ drivers/ drivers/ +1 more | +259 | 4 replies | |
| 17/20 | iavf: Support IPv4 Flow Director filtersdrivers/ drivers/ drivers/ +2 more | +881 | 0 replies | |
| 18/20 | iavf: Support IPv6 Flow Director filtersdrivers/ drivers/ drivers/ | +246 | 0 replies | |
| 19/20 | iavf: Support Ethernet Type Flow Director filtersdrivers/ drivers/ drivers/ | +42 | 0 replies | |
| 20/20 | iavf: Enable flex-bytes supportdrivers/ drivers/ drivers/ | +327 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Intel-wired-lan] [RFC 00/20] Enable Intel VF flow director with DDP
The Intel E810 Series supports a programmable pipeline for a domain specific protocols classification, for example GTP by Dynamic Device Personalization (DDP) profile.
The E810 PF has introduced flex-bytes support by ethtool user-def option allowing for packet deeper matching based on an offset and value for DDP usage.
For making VF also benefit from this flexible protocol classification, some new virtchnl messages are defined and handled by PF, so VF can query this new flow director capability, and use ethtool with extending the user-def option to configure Rx flow classification.
The new user-def 0xAAAABBBBCCCCDDDD: BBBB is the 2 byte pattern while AAAA corresponds to its offset in the packet. Similarly DDDD is the 2 byte pattern with CCCC being the corresponding offset. The offset ranges from 0x0 to 0x1F7 (up to 504 bytes into the packet). The offset starts from the beginning of the packet.
This feature can be used to allow customers to set flow director rules for protocols headers that are beyond standard ones supported by ethtool (e.g. PFCP or GTP-U).
Like for matching GTP-U's TEID value 0x10203040:
ethtool -N ens787f0v0 flow-type udp4 dst-port 2152 \
user-def 0x002e102000303040 action 13Haiyue Wang (5):
iavf: Add framework to enable ethtool ntuple filters
iavf: Support IPv4 Flow Director filters
iavf: Support IPv6 Flow Director filters
iavf: Support Ethernet Type Flow Director filters
iavf: Enable flex-bytes support
Qi Zhang (15):
ice: Add more basic protocol support for flow filter
ice: Support non word aligned input set field
ice: Add more advanced protocol support in flow filter
ice: Support to separate GTP-U uplink and downlink
ice: Enhanced IPv4 and IPv6 flow filter
ice: Enable RSS Configure for AVF
ice: Support RSS configure removal for AVF
ice: Add support for per VF ctrl VSI enabling
ice: Support FDIR configure for AVF
ice: Add FDIR pattern action parser for VF
ice: Add new actions support for VF FDIR
ice: Add non-IP Layer2 protocol FDIR filter for AVF
ice: Add GTPU FDIR filter for AVF
ice: Add more FDIR filter type for AVF
ice: Check FDIR program status for AVF
drivers/net/ethernet/intel/iavf/Makefile | 2 +- drivers/net/ethernet/intel/iavf/iavf.h | 12 + .../net/ethernet/intel/iavf/iavf_ethtool.c | 631 +++++ drivers/net/ethernet/intel/iavf/iavf_fdir.c | 773 ++++++ drivers/net/ethernet/intel/iavf/iavf_fdir.h | 113 + drivers/net/ethernet/intel/iavf/iavf_main.c | 27 + .../net/ethernet/intel/iavf/iavf_virtchnl.c | 195 ++ drivers/net/ethernet/intel/ice/Makefile | 2 +- drivers/net/ethernet/intel/ice/ice.h | 5 +- .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 4 + drivers/net/ethernet/intel/ice/ice_fdir.c | 505 +++- drivers/net/ethernet/intel/ice/ice_fdir.h | 58 + .../net/ethernet/intel/ice/ice_flex_pipe.c | 524 +++- .../net/ethernet/intel/ice/ice_flex_pipe.h | 3 +- .../net/ethernet/intel/ice/ice_flex_type.h | 78 + drivers/net/ethernet/intel/ice/ice_flow.c | 810 +++++- drivers/net/ethernet/intel/ice/ice_flow.h | 168 +- .../net/ethernet/intel/ice/ice_hw_autogen.h | 19 + .../net/ethernet/intel/ice/ice_lan_tx_rx.h | 22 + drivers/net/ethernet/intel/ice/ice_lib.c | 64 +- drivers/net/ethernet/intel/ice/ice_main.c | 11 +- .../ethernet/intel/ice/ice_protocol_type.h | 10 + drivers/net/ethernet/intel/ice/ice_txrx.c | 5 + drivers/net/ethernet/intel/ice/ice_type.h | 18 + .../ethernet/intel/ice/ice_virtchnl_fdir.c | 2208 +++++++++++++++++ .../ethernet/intel/ice/ice_virtchnl_fdir.h | 49 + .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 546 +++- .../net/ethernet/intel/ice/ice_virtchnl_pf.h | 8 + include/linux/avf/virtchnl.h | 293 +++ 29 files changed, 7087 insertions(+), 76 deletions(-) create mode 100644 drivers/net/ethernet/intel/iavf/iavf_fdir.c create mode 100644 drivers/net/ethernet/intel/iavf/iavf_fdir.h create mode 100644 drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c create mode 100644 drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.h
Signature · 1 line
2.29.2