diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2010-10-08 01:46:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-08 22:59:10 +0200 |
commit | ee07c1a70117fe93cf71686d481791c2498f80d2 (patch) | |
tree | f275d7b88a23a48257b0941ca69b9809a16cc9b7 /drivers/net/qlcnic/qlcnic_hw.c | |
parent | qlcnic: fix board description (diff) | |
download | linux-ee07c1a70117fe93cf71686d481791c2498f80d2.tar.xz linux-ee07c1a70117fe93cf71686d481791c2498f80d2.zip |
qlcnic: fix promiscous mode for VF
o Allow promiscous mode setting for VF's depending upon the configuration.
Signed-off-by: Rajesh Borundia <rajesh.borundia@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_hw.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c index 7f1f9b4ca0ff..53e805316f4a 100644 --- a/drivers/net/qlcnic/qlcnic_hw.c +++ b/drivers/net/qlcnic/qlcnic_hw.c @@ -442,7 +442,8 @@ void qlcnic_set_multi(struct net_device *netdev) qlcnic_nic_add_mac(adapter, bcast_addr); if (netdev->flags & IFF_PROMISC) { - mode = VPORT_MISS_MODE_ACCEPT_ALL; + if (!(adapter->flags & QLCNIC_PROMISC_DISABLED)) + mode = VPORT_MISS_MODE_ACCEPT_ALL; goto send_fw_cmd; } |