sfc: Add filter table management

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ben Hutchings
2010-09-20 08:43:07 +00:00
committed by David S. Miller
parent a77f5db361
commit 64eebcfd89
7 changed files with 678 additions and 1 deletions

View File

@ -619,6 +619,8 @@ union efx_multicast_hash {
efx_oword_t oword[EFX_MCAST_HASH_ENTRIES / sizeof(efx_oword_t) / 8];
};
struct efx_filter_state;
/**
* struct efx_nic - an Efx NIC
* @name: Device name (net device name or bus id before net device registered)
@ -799,6 +801,8 @@ struct efx_nic {
u64 loopback_modes;
void *loopback_selftest;
struct efx_filter_state *filter_state;
};
static inline int efx_dev_registered(struct efx_nic *efx)