net/i40e: add alarm handler
authorBeilei Xing <beilei.xing@intel.com>
Tue, 11 Sep 2018 03:35:41 +0000 (11:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Sep 2018 18:08:41 +0000 (20:08 +0200)
commit4205c7ccec4fc2aeafe3e7ccf6b028d9476fccaf
tree2b8ab9ab9001c84685963ea11a60ceb46d48df02
parent58e90a91138d2ed491b37b2173fe39ae44c9ca06
net/i40e: add alarm handler

This patch adds alarm handler, and then i40e
PF will use alarm handler instead of interrupt
handler when device is started and Rx interrupt
mode is disabled. This way will save CPU cycles
during receiving packets.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c