Skip to content

Add support for network flow classifier rules

Alexander Duyck netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add support for ESP as a separate protocol from AHethtool.8.in ethtool.c+17 -60 replies
2/4Remove strings based approach for displaying ntupleethtool-copy.h ethtool.c+1 -460 replies
3/4v2 Add RX packet classification interfaceMakefile.am ethtool-bitops.h ethtool-util.h +3 more+1459 -2620 replies
4/4Add support for displaying a ntuple contained in an rx_flow_specethtool-copy.h ethtool.8.in ethtool.c +1 more+101 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [ethtool PATCH 0/4] Add support for network flow classifier rules

This patch series implements the user-space portion of network flow classifier rules. The original patches were applied to the kernel a couple of years ago, but the user-space side was never applied. As such I have gone though and updated the original patch from Santwona Behera to make it applicable to the current ethtool git tree.

In addition this updates the network flow classification rules to handle displaying the same fields as ntuple filters due to the fact that ntuple display functionality had some serious issues, and provided no means for a driver to display rules if they are stored internally.

The formatting of the man page and the help text may still need some work. I was having difficulties determining the best way to layout the class-rule-add and flow-type help instructions since they are mutually exclusive but both contain a large number of possible options.

Finally there was one minor change adding ESP hashing as a separate option to Rx-hashing that was contained in the original patch that I have moved out into a separate patch.

---

Alexander Duyck (3):
Add support for displaying a ntuple contained in an rx_flow_spec Remove strings based approach for displaying ntuple Add support for ESP as a separate protocol from AH

Santwona Behera (1):
v2 Add RX packet classification interface

 Makefile.am      |    3 
 ethtool-bitops.h |   25 +
 ethtool-copy.h   |   23 +
 ethtool-util.h   |   42 ++
 ethtool.8.in     |  204 +++++----
 ethtool.c        |  344 ++++++---------
 rxclass.c        | 1241 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 1573 insertions(+), 309 deletions(-)
 create mode 100644 ethtool-bitops.h
 create mode 100644 rxclass.c