aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/mcdi_port.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-11-19 23:08:20 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-08-22 19:25:59 +0100
commit8803e15042fbf5bd53b9b43147a91e3f50cffb03 (patch)
treed2235bad8fa93762996e6004be336572a266a71b /drivers/net/ethernet/sfc/mcdi_port.c
parentsfc: Refactor Falcon-arch filter removal (diff)
downloadlinux-dev-8803e15042fbf5bd53b9b43147a91e3f50cffb03.tar.xz
linux-dev-8803e15042fbf5bd53b9b43147a91e3f50cffb03.zip
sfc: Add flag for stack-owned RX MAC filters
MAC filters inserted on request from the stack (ndo_set_rx_mode) should allow manual steering but not removal. Currently we have a special case for Siena's all-multicast and all-unicast MAC filters, but on EF10 we need to allow for steering of precise MAC filters as well. The EFX_FILTER_FLAG_RX_STACK flag changes the behaviour of replacement and removal requests: - Replacement *of* a filter with this flag never clears the flag but does change steering and saved priority - Replacement *by* a filter with this flag only sets the flag but does not change steering - Removal with priority < EFX_FILTER_PRI_REQUIRED really resets RX steering and saved priority This could support precise MAC filtering on Siena in future. As a side-benefit, the default MAC filters are hidden from ethtool until they are steered. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions