net/i40e: fix Rx interrupt
authorBeilei Xing <beilei.xing@intel.com>
Tue, 6 Feb 2018 05:33:31 +0000 (13:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Feb 2018 18:08:13 +0000 (19:08 +0100)
commit378cc7f569a678e1c8469094104b757864c4ad05
treeb473b784304907df3f4c0afbf6c4dc0017498667
parentb1ec717bfff5cede471261078f3e2dce156553f4
net/i40e: fix Rx interrupt

This patch fixes interval error and corrects macros when
enabling Rx interrupt mode. The patch also fixes a logical
error during supporting multiple drivers.

Fixes: cfdfca493cae ("net/i40e: fix multiple driver support")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c