i40e: fix configuration of Rx interrupt
authorHelin Zhang <helin.zhang@intel.com>
Wed, 29 Oct 2014 03:42:48 +0000 (11:42 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Oct 2014 22:44:26 +0000 (23:44 +0100)
commitc977ba006c8b857c72cf520b0a45dcce4a825b2b
tree75cc5117cfa5c74d95960ebac0271782c9bf8564
parentf20d60556cf4d53ed9dea8c190c12282ff069d41
i40e: fix configuration of Rx interrupt

Inside NIC RX interrupt is needed for single RX descriptor
write back. The fix is to correct the wrong configuration
of register 'I40E_QINT_RQCTL'.
Note that interrupt will be inside NIC only, that means it
will never be reported outside NIC hardware.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c