]> 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)
commit202fa77b9269ddd5923654b4c1c63ebe9db81cdc
tree8f93ef9333fed351a9fea98719d010f52e9ebc91
parent5dcd689b385c602277c0ac20de16329852e13429
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