]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Add support for configuring RX unicast/multicast default filters
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 2 Feb 2012 22:41:49 +0000 (22:41 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 16 Feb 2012 00:11:24 +0000 (00:11 +0000)
commitd5d53b8c2d3c7faab1104d37085ec0c66280a6e0
treea30ae1b9657f498a582f025b43d9db203d23965a
parenta7c88eec2161b773e7a75f9adac5eef48753aa6b
sfc: Add support for configuring RX unicast/multicast default filters

On Siena all received packets that don't match a more specific filter
will match the unicast or multicast default filter.  Currently we
leave these set to the default values (RSS with base queue number of
0).  Allow them to be reconfigured to select a single RX queue.

These default filters are programmed through the FILTER_CTL register,
but we represent them internally as an additional table of size 2.

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