Support simple queue destination flow API filters in Solarflare libefx-based PMD including: - Ethernet source/destination, EtherType exact matching - VLAN ID exact matching including double-tagging - IPv4/6 source/destination and IP protocol exact matching - TCP/UDP source/destination exact matching
Supported combinations of fields mentioned above depend on firmware (including running variant) and correctly processed by validate callback. v1 -> v2: - fix spelling - add comments to protocol parsers - add release notes - add l3 and l4 layer enum items on demand Andrew Rybchenko (2): net/sfc: implement dummy filter control callback net/sfc: provide a way to check if filter is supported Mark Spender (2): net/sfc/base: split local MAC I/G back into separate flags net/sfc/base: improve API to get supported filter matches Roman Zhukov (7): net/sfc: add flow API filters support net/sfc: add VLAN in flow API filters support net/sfc: add IPV4 in flow API filters support net/sfc: add IPV6 in flow API filters support net/sfc: add TCP in flow API filters support net/sfc: add UDP in flow API filters support net/sfc: add unknown unicast/multicast match in flow API doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 45 ++ doc/guides/rel_notes/release_17_05.rst | 4 + drivers/net/sfc/Makefile | 2 + drivers/net/sfc/base/ef10_filter.c | 134 ++-- drivers/net/sfc/base/ef10_impl.h | 7 +- drivers/net/sfc/base/efx.h | 17 +- drivers/net/sfc/base/efx_filter.c | 76 +- drivers/net/sfc/base/efx_impl.h | 3 +- drivers/net/sfc/sfc.c | 18 + drivers/net/sfc/sfc.h | 3 + drivers/net/sfc/sfc_ethdev.c | 59 +- drivers/net/sfc/sfc_filter.c | 135 ++++ drivers/net/sfc/sfc_filter.h | 60 ++ drivers/net/sfc/sfc_flow.c | 1181 ++++++++++++++++++++++++++++++++ drivers/net/sfc/sfc_flow.h | 62 ++ 16 files changed, 1711 insertions(+), 96 deletions(-) create mode 100644 drivers/net/sfc/sfc_filter.c create mode 100644 drivers/net/sfc/sfc_filter.h create mode 100644 drivers/net/sfc/sfc_flow.c create mode 100644 drivers/net/sfc/sfc_flow.h -- 2.9.3