sfc: Move last mc_promisc flag to EF10 filter table state
It is used for EF10 only and logically belongs to EF10 filter table state. It is OK that it is reset to false on filter table recreation since all filters are removed on destruction. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
100a9db52f
commit
b071c3a222
@@ -916,7 +916,6 @@ struct vfdi_status;
|
||||
* @stats_lock: Statistics update lock. Must be held when calling
|
||||
* efx_nic_type::{update,start,stop}_stats.
|
||||
* @n_rx_noskb_drops: Count of RX packets dropped due to failure to allocate an skb
|
||||
* @mc_promisc: Whether in multicast promiscuous mode when last changed
|
||||
*
|
||||
* This is stored in the private area of the &struct net_device.
|
||||
*/
|
||||
@@ -1065,7 +1064,6 @@ struct efx_nic {
|
||||
int last_irq_cpu;
|
||||
spinlock_t stats_lock;
|
||||
atomic_t n_rx_noskb_drops;
|
||||
bool mc_promisc;
|
||||
};
|
||||
|
||||
static inline int efx_dev_registered(struct efx_nic *efx)
|
||||
|
Reference in New Issue
Block a user