Re: [PATCH v2 net-next] be2net: disable bh with spin_lock in be_process_mcc

2019-08-01 Thread David Miller
From: Denis Kirjanov Date: Thu, 1 Aug 2019 11:24:20 +0200 > be_process_mcc() is invoked in 3 different places and > always with BHs disabled except the be_poll function > but since it's invoked from softirq with BHs > disabled it won't hurt. > > v1->v2: added explanation to the patch > > Signe

Re: [PATCH v2 net-next] be2net: disable bh with spin_lock in be_process_mcc

2019-08-01 Thread Willem de Bruijn
On Thu, Aug 1, 2019 at 5:24 AM Denis Kirjanov wrote: > > be_process_mcc() is invoked in 3 different places and > always with BHs disabled except the be_poll function > but since it's invoked from softirq with BHs > disabled it won't hurt. This describes the current state. What is the benefit of r

[PATCH v2 net-next] be2net: disable bh with spin_lock in be_process_mcc

2019-08-01 Thread Denis Kirjanov
be_process_mcc() is invoked in 3 different places and always with BHs disabled except the be_poll function but since it's invoked from softirq with BHs disabled it won't hurt. v1->v2: added explanation to the patch Signed-off-by: Denis Kirjanov --- drivers/net/ethernet/emulex/benet/be_cmds.c |