diff options
author | 2009-06-18 00:02:59 +0000 | |
---|---|---|
committer | 2009-06-19 00:18:39 -0700 | |
commit | 5fb379ee67a7ec55ff65b467b472f3d69b60ba16 (patch) | |
tree | 23d8c00fd535abb6f9d56e98ade838b8ed253e99 /drivers/net/usb/cdc_ether.c | |
parent | pegasus usb-net: Fix endianness bugs (diff) | |
download | wireguard-linux-5fb379ee67a7ec55ff65b467b472f3d69b60ba16.tar.xz wireguard-linux-5fb379ee67a7ec55ff65b467b472f3d69b60ba16.zip |
be2net: Add MCC queue mechanism for BE cmds
Currenlty all cmds use the blocking MCC mbox to post cmds. An mbox cmd is protected
via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context. Instead cmds that may be
called in BH context must use the MCC queue to post cmds. The cmd completions
are rcvd in a separate completion queue and the events are placed in the tx-event
queue.
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
0 files changed, 0 insertions, 0 deletions