net/i40e: fix interrupt conflict with multi-driver
authorBeilei Xing <beilei.xing@intel.com>
Fri, 2 Feb 2018 12:05:52 +0000 (20:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 12:40:11 +0000 (13:40 +0100)
commit4ab831449a1cb9ff76e662fd04ce32ee585d6f85
tree238ee3c18bdf5a2592956423d0fc2145abcddc78
parentcfdfca493caebc5e8ae5708aa21a827791649456
net/i40e: fix interrupt conflict with multi-driver

There's interrupt conflict when using DPDK and Linux i40e
on different ports of the same Ethernet controller, this
patch fixes it by switching from IntN to Int0 if multiple
drivers are used.

Fixes: be6c228d4da3 ("i40e: support Rx interrupt")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c