diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2011-07-14 05:16:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 17:49:44 +0200 |
commit | e5dcf6dcde26ffdbd237dda4956bc6d7115dfae6 (patch) | |
tree | f3ba42a0661b9eb7bbb005e43b801064ab51247d /drivers/net/qlcnic/qlcnic.h | |
parent | qlcnic: updated supported cards information (diff) | |
download | linux-e5dcf6dcde26ffdbd237dda4956bc6d7115dfae6.tar.xz linux-e5dcf6dcde26ffdbd237dda4956bc6d7115dfae6.zip |
qlcnic: enable mac-learning in promiscous mode.
MAC learning is required in bridge mode.
During bridge mode device will be put in promiscous mode.
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 7c0d6ee1697e..3ae24501911e 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h @@ -1015,6 +1015,7 @@ struct qlcnic_adapter { u8 mac_addr[ETH_ALEN]; u64 dev_rst_time; + u8 mac_learn; unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)]; struct qlcnic_npar_info *npars; @@ -1460,6 +1461,7 @@ netdev_tx_t qlcnic_xmit_frame(struct sk_buff *skb, struct net_device *netdev); int qlcnic_validate_max_rss(struct net_device *netdev, u8 max_hw, u8 val); int qlcnic_set_max_rss(struct qlcnic_adapter *adapter, u8 data); void qlcnic_dev_request_reset(struct qlcnic_adapter *); +void qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter *adapter); /* Management functions */ int qlcnic_get_mac_address(struct qlcnic_adapter *, u8*); |