Skip to content

Enable Intel VF flow director with DDP

Jesse Brandeburg intel-wired-lan oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 18 patches 0 repliesNew

Patches in v4 No applies recorded yet

None of the 18 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [Intel-wired-lan] [Patch v4 00/18] Enable Intel VF flow director with DDP
Quoted 13 lines · Haiyue Wang

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.

Quoted 5 lines

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.

Why must you use the ethtool user-def interface like this? I suspect that you should be using tc-u32.

At the very least you should cover why you're *not* using u32 in the cover letter, otherwise I'm sure the question will come up.

Quoted 7 lines

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 \