summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSuresh Reddy <suresh.reddy@avagotech.com>2015-07-10 05:32:49 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-10 23:24:30 -0700
commit8af65c2f4deeb02a128c5cf29fa351b70bf16424 (patch)
tree697c6eab435cdafdbafb6d0b84697a4be70cc5c8 /drivers/net
parentefaa408e964012225897e87d9aad97a4d0ebc1d5 (diff)
downloadop-kernel-dev-8af65c2f4deeb02a128c5cf29fa351b70bf16424.zip
op-kernel-dev-8af65c2f4deeb02a128c5cf29fa351b70bf16424.tar.gz
be2net: make the RX_FILTER command asynchronous
This fix makes the RX_FILTER cmd asynchronous, i.e., the caller issues this cmd and doesn't wait for a completion from the FW. If the FW/adapter is in an error state, this change helps in not holding up the rtnl_lock and keeping bottom halves disabled while the driver timesout waiting for a response from the FW. Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com> Signed-off-by: Sathya Perla <sathya.perla@avagotech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index a299f7b..93934d3 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -1962,7 +1962,7 @@ static int __be_cmd_rx_filter(struct be_adapter *adapter, u32 flags, u32 value)
memcpy(req->mcast_mac[i++].byte, ha->addr, ETH_ALEN);
}
- status = be_mcc_notify_wait(adapter);
+ status = be_mcc_notify(adapter);
err:
spin_unlock_bh(&adapter->mcc_lock);
return status;
OpenPOWER on IntegriCloud