]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Extend and abstract efx_filter_spec to cover Huntington/EF10
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 26 Oct 2012 23:33:28 +0000 (00:33 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 22 Aug 2013 18:25:53 +0000 (19:25 +0100)
commit51ca61fea42b7c068a857592317ecc024021d149
tree8f93ef9333fed351a9fea98719d010f52e9ebc91
parent1a9fe51ff828e23ee00c71fe1a392763dfda964b
sfc: Extend and abstract efx_filter_spec to cover Huntington/EF10

Replace type field with match_flags.  Add rss_context and match values
covering of most of what is now in the MCDI protocol.

Change some fields into bitfields so that the structure size doesn't grow
beyond 64 bytes.

Ditch the filter decoding functions as it is now easier to pick apart
the abstract structure.

Rewrite ethtool NFC rule functions to set/get filter match flags and
values directly.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/filter.c
drivers/net/ethernet/sfc/filter.h