summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-12-23 14:27:43 +0100
committerDavid S. Miller <davem@davemloft.net>2009-12-24 06:03:40 +0100
commit9959a18556c73ebf2936b8df183ea7b41f38d933 (patch)
treedd3f715d82e9d655e16baf0aed86c518ad9eb8ef /drivers/net/enic/enic.h
parentenic: Bug fix: try harder to fill Rx ring on skb allocation failures (diff)
downloadlinux-9959a18556c73ebf2936b8df183ea7b41f38d933.tar.xz
linux-9959a18556c73ebf2936b8df183ea7b41f38d933.zip
enic: minimize pkt filter updates to firmware
In set_multicast(), only push pkt filter changes down to firmware if pkt filter actually changes. Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com> Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r--drivers/net/enic/enic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index 8dd0105a8d9c..b090d65ad0c8 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -89,6 +89,7 @@ struct enic {
spinlock_t devcmd_lock;
u8 mac_addr[ETH_ALEN];
u8 mc_addr[ENIC_MULTICAST_PERFECT_FILTERS][ETH_ALEN];
+ unsigned int flags;
unsigned int mc_count;
int csum_rx_enabled;
u32 port_mtu;