diff options
author | Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> | 2013-01-25 10:20:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-27 01:00:08 -0500 |
commit | fe1adc6bf227d71997e85c5aba30d84c099aedf9 (patch) | |
tree | cbb559d525f15ad6f0b158e14825d08d84cd8378 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | |
parent | 1d9219ddb9a74ae80aa8d4f0492158224406c3fd (diff) | |
download | linux-stable-fe1adc6bf227d71997e85c5aba30d84c099aedf9.tar.gz linux-stable-fe1adc6bf227d71997e85c5aba30d84c099aedf9.tar.bz2 linux-stable-fe1adc6bf227d71997e85c5aba30d84c099aedf9.zip |
qlcnic: add support for FDB netdevice ops.
Providing communication channel between KVM and e-Switch so that it
can be informed when hypervisor configures a MAC address and VLAN.
qlcnic_mac_learn module param usage will be changed to:
0 = MAC learning is disable
1 = Driver learning is enable
2 = FDB learning is enable
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index 0033971b5b2b..fdf34836ef41 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c @@ -521,7 +521,7 @@ netdev_tx_t qlcnic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) if (unlikely(qlcnic_tx_pkt(adapter, first_desc, skb))) goto unwind_buff; - if (adapter->mac_learn) + if (adapter->drv_mac_learn) qlcnic_send_filter(adapter, first_desc, skb); adapter->stats.txbytes += skb->len; |