WSL2-Linux-Kernel/drivers/net/benet
Sathya Perla 6ac7b687cb 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>
2009-06-19 00:18:40 -07:00
..
Kconfig net: Add be2net driver. 2009-03-11 23:32:22 -07:00
Makefile net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be.h be2net: Add MCC queue mechanism for BE cmds 2009-06-19 00:18:39 -07:00
be_cmds.c be2net: Use MCC queue for cmds that may be called in BH context 2009-06-19 00:18:40 -07:00
be_cmds.h be2net: Add MCC queue mechanism for BE cmds 2009-06-19 00:18:39 -07:00
be_ethtool.c be2net: fix for default setting of pause auto-negotiation 2009-04-13 15:41:50 -07:00
be_hw.h be2net: Add MCC queue mechanism for BE cmds 2009-06-19 00:18:39 -07:00
be_main.c be2net: Add MCC queue mechanism for BE cmds 2009-06-19 00:18:39 -07:00