diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-07 14:02:27 -0500 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-07 14:02:50 -0500 |
commit | 8891681af928f1da795cd4bd59043e5e0fadd6c8 (patch) | |
tree | 11a1d55774d82ffd2694ce68cea103b8416323ba /drivers/net/sfc/efx.h | |
parent | ac33ac610dc613b2b1c938f8b61eef651ab72563 (diff) |
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/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index 10a1bf40da96..003fdb35b4bb 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -74,9 +74,8 @@ extern int efx_filter_insert_filter(struct efx_nic *efx, | |||
74 | bool replace); | 74 | bool replace); |
75 | extern int efx_filter_remove_filter(struct efx_nic *efx, | 75 | extern int efx_filter_remove_filter(struct efx_nic *efx, |
76 | struct efx_filter_spec *spec); | 76 | struct efx_filter_spec *spec); |
77 | extern void efx_filter_table_clear(struct efx_nic *efx, | 77 | extern void efx_filter_clear_rx(struct efx_nic *efx, |
78 | enum efx_filter_table_id table_id, | 78 | enum efx_filter_priority priority); |
79 | enum efx_filter_priority priority); | ||
80 | 79 | ||
81 | /* Channels */ | 80 | /* Channels */ |
82 | extern void efx_process_channel_now(struct efx_channel *channel); | 81 | extern void efx_process_channel_now(struct efx_channel *channel); |