diff options
author | Edward Cree <ecree@solarflare.com> | 2018-03-08 15:45:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 21:54:52 -0500 |
commit | 84a1d9c4820080bebcbd413a845076dcb62f45fa (patch) | |
tree | 10e996ae368f9ca86af6f2f50954d6c5f7898fce /drivers/net | |
parent | 571e6776add4f499661e761e03e46ec0f6d66243 (diff) | |
download | linux-stable-84a1d9c4820080bebcbd413a845076dcb62f45fa.tar.gz linux-stable-84a1d9c4820080bebcbd413a845076dcb62f45fa.tar.bz2 linux-stable-84a1d9c4820080bebcbd413a845076dcb62f45fa.zip |
net: ethtool: extend RXNFC API to support RSS spreading of filter matches
We use a two-step process to configure a filter with RSS spreading. First,
the RSS context is allocated and configured using ETHTOOL_SRSSH; this
returns an identifier (rss_context) which can then be passed to subsequent
invocations of ETHTOOL_SRXCLSRLINS to specify that the offset from the RSS
indirection table lookup should be added to the queue number (ring_cookie)
when delivering the packet. Drivers for devices which can only use the
indirection table entry directly (not add it to a base queue number)
should reject rule insertions combining RSS with a nonzero ring_cookie.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions