]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Remove filter table IDs from filter functions
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 7 Dec 2010 19:02:27 +0000 (19:02 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 7 Dec 2010 19:02:50 +0000 (19:02 +0000)
commit7f1c3422afe2bc2bed2a2d93b65f6d986379764e
tree11a1d55774d82ffd2694ce68cea103b8416323ba
parent5428ab8917a7835a000ca57c5306d7ca6c3ca688
sfc: Remove filter table IDs from filter functions

The separation between filter tables is largely an internal detail
and it may be removed in future hardware.  To prepare for that:

- Merge table ID with filter index to make an opaque filter ID
- Wrap efx_filter_table_clear() with a function that clears filters
  from both RX tables, which is all that the current caller requires

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