amd-xgbe: Use __napi_schedule_irqoff
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 17 Feb 2016 17:48:29 +0000 (11:48 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:22:18 +0000 (15:22 -0500)
commit793494228fdf15acb252063f9f6dcccd3d1d497e
tree50fe8fe7eb7e0267cd0cf86a9743a21f0b7ac808
parent491aefb38a31bb163e1e4393ba42abf68ce4c6eb
amd-xgbe: Use __napi_schedule_irqoff

Change from calling __napi_schedule to __napi_schedule_irqoff when running
in interrupt context or when called by netpoll with interrupts already
disabled. The Tx timer function will continue to use __napi_schedule.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c