net/iavf: fix queue interrupt for ice
authorWei Zhao <wei.zhao1@intel.com>
Thu, 18 Apr 2019 04:58:15 +0000 (12:58 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commitdcfbc594f7ddc3f934693549854b70d2d94cf8cf
tree741674d25ee5a3be5d1dff5a8a19f4096035594b
parentbc902974d7c355248717ec7cea1f3a1328082244
net/iavf: fix queue interrupt for ice

Enable CLEARPBA bit is required by ice NIC of A0/A1 version to
enable Tx and Rx queue interrupt.
Also enable CLEARPBA bit does no impact on IAVF behaviour when be
hosted by other devices, so we can make it as default.

Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c