]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: thunderx: Use napi_schedule_irqoff()
authorSunil Goutham <sgoutham@cavium.com>
Thu, 11 Feb 2016 16:20:22 +0000 (21:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:30:26 +0000 (11:30 -0500)
commitef0a4d8601760b346d9d0893f2a554c338861c4f
treec0033a9aa043adfdc6c8255293ffd0e47b6b7860
parenta05d4845907a6f0296612d24956b189a51fb8df7
net: thunderx: Use napi_schedule_irqoff()

napi_schedule is being called from hard irq context, hence
switch to napi_schedule_irqoff which avoids unneeded call
to local_irq_save and local_irq_restore.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c