]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: make the RX_FILTER command asynchronous
authorSuresh Reddy <suresh.reddy@avagotech.com>
Fri, 10 Jul 2015 09:32:49 +0000 (05:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jul 2015 06:24:30 +0000 (23:24 -0700)
commitea71c2534492c2eaf515d580aa61a72a2a086782
tree697c6eab435cdafdbafb6d0b84697a4be70cc5c8
parent43ae7f9af542b2e662fb185b29a237c4c5a6670b
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>
drivers/net/ethernet/emulex/benet/be_cmds.c