aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/filter.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-07 19:02:27 +0000
committerBen Hutchings <bhutchings@solarflare.com>2010-12-07 19:02:50 +0000
commit8891681af928f1da795cd4bd59043e5e0fadd6c8 (patch)
tree11a1d55774d82ffd2694ce68cea103b8416323ba /drivers/net/sfc/filter.h
parentsfc: Log start and end of ethtool self-test at INFO level (diff)
downloadlinux-dev-8891681af928f1da795cd4bd59043e5e0fadd6c8.tar.xz
linux-dev-8891681af928f1da795cd4bd59043e5e0fadd6c8.zip
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>
Diffstat (limited to 'drivers/net/sfc/filter.h')
-rw-r--r--drivers/net/sfc/filter.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/sfc/filter.h b/drivers/net/sfc/filter.h
index a53319ded79c..d11e4aa78133 100644
--- a/drivers/net/sfc/filter.h
+++ b/drivers/net/sfc/filter.h
@@ -12,12 +12,6 @@
#include <linux/types.h>
-enum efx_filter_table_id {
- EFX_FILTER_TABLE_RX_IP = 0,
- EFX_FILTER_TABLE_RX_MAC,
- EFX_FILTER_TABLE_COUNT,
-};
-
/**
* enum efx_filter_type - type of hardware filter
* @EFX_FILTER_RX_TCP_FULL: RX, matching TCP/IPv4 4-tuple