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)
commit7c460d9be6109834da86052c4d4a9bb0be9cd407
tree8f93ef9333fed351a9fea98719d010f52e9ebc91
parentf26e958cfce0522832a5d593943948e6b61c3126
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