i40e: Invoke softirqs after napi_reschedule
authorBenjamin Poirier <bpoirier@suse.com>
Fri, 13 Jan 2017 01:04:14 +0000 (17:04 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Feb 2017 04:35:36 +0000 (20:35 -0800)
commit83a0c6e589017ce737720b9e05e2fa3fe4f7b860
treeca8f2826be840cdc443f7ddc27061628a0cf717d
parentee847d935156b041679ad82c269796dae1afaa6b
i40e: Invoke softirqs after napi_reschedule

The following message is logged from time to time when using i40e:
NOHZ: local_softirq_pending 08

i40e may schedule napi from a workqueue. Afterwards, softirqs are not run
in a deterministic time frame. The problem is the same as what was
described in commit ec13ee80145c ("virtio_net: invoke softirqs after
__napi_schedule") and this patch applies the same fix to i40e.

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c