be2net: make the RX_FILTER command asynchronous
authorSuresh Reddy <[email protected]>
Fri, 10 Jul 2015 09:32:49 +0000 (05:32 -0400)
committerDavid S. Miller <[email protected]>
Sat, 11 Jul 2015 06:24:30 +0000 (23:24 -0700)
commit8af65c2f4deeb02a128c5cf29fa351b70bf16424
tree697c6eab435cdafdbafb6d0b84697a4be70cc5c8
parentefaa408e964012225897e87d9aad97a4d0ebc1d5
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 <[email protected]>
Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/emulex/benet/be_cmds.c