aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/benet/be_cmds.h
diff options
context:
space:
mode:
authorSathya Perla <sathyap@serverengines.com>2009-06-18 00:05:54 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-19 00:18:40 -0700
commit6ac7b687cb3acc437a586794949a43f5249956bb (patch)
tree249aa952dfafa22a8c299dc344df1aa7aeea8364 /drivers/net/benet/be_cmds.h
parent5fb379ee67a7ec55ff65b467b472f3d69b60ba16 (diff)
be2net: Use MCC queue for cmds that may be called in BH context
Currenlty multicast_set and promiscuous_config cmds -- that may be called in BH context -- 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. So, these two cmds in BH context must use the MCC queue to post cmds. Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.h')
0 files changed, 0 insertions, 0 deletions