diff options
author | Suresh Reddy <Suresh.Reddy@emulex.com> | 2015-07-10 05:32:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-10 23:24:30 -0700 |
commit | 9c8559750cd7b7936dd38810fc2110fc91d7d527 (patch) | |
tree | 6838d849e43444c5beb70b2e4b1de0d690926656 /mm/migrate.c | |
parent | be2net: make the RX_FILTER command asynchronous (diff) | |
download | linux-dev-9c8559750cd7b7936dd38810fc2110fc91d7d527.tar.xz linux-dev-9c8559750cd7b7936dd38810fc2110fc91d7d527.zip |
be2net: make SET_LOOPBACK_MODE cmd asynchrounous
The SET_LOOPBACK_MODE command is always issued from ethtool only in a
process context. So, while waiting for the cmd to complete, the driver
can sleep instead of holding spin_lock_bh() on the mcc_lock. This is done
by calling be_mcc_notify() instead of be_mcc_notify_wait() (that returns
only after the cmd completes while the MCCQ is locked).
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 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions