]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: do not call napi_schedule() without care
authorEric Dumazet <edumazet@google.com>
Fri, 13 Jan 2017 16:39:24 +0000 (08:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jan 2017 16:44:10 +0000 (11:44 -0500)
commitfffc49a5f05e2c2319d954421c249b6cbd2459ec
treead2b0afac883e5613962f92d571d0365111e1f14
parent1fcf3d2c054b545cef29691eca9be181602a9e17
mlx4: do not call napi_schedule() without care

Disable BH around the call to napi_schedule() to avoid following warning

[   52.095499] NOHZ: local_softirq_pending 08
[   52.421291] NOHZ: local_softirq_pending 08
[   52.608313] NOHZ: local_softirq_pending 08

Fixes: bd396e809f74 ("net/mlx4_en: Process all completions in RX rings after port goes up")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Erez Shitrit <erezsh@mellanox.com>
Cc: Eugenia Emantayev <eugenia@mellanox.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c