net/i40e: fix interrupt throttling setting in PF
authorJingjing Wu <jingjing.wu@intel.com>
Thu, 24 Aug 2017 01:57:51 +0000 (09:57 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commitcfd662d22e7bddb4ba41dbd1384f8497f38c2b4e
tree639b25ff9f169c2499e78c9d1e7663177b8ca6f8
parent975ffea6f67152088dc941426a1f3ef631cece85
net/i40e: fix interrupt throttling setting in PF

As no matter the PF host driver is DPDK or other kernel drivers,
they are sharing the same virtchnnl interfaces to communicate to VFs.
To follow the generic interface, DPDK PF need to set Interrupt
Throttling (ITR) index according to the rxitr_idx from virtchnnl
instead of ITR_NONE.

Fixes: 6d59e4ea74a6 ("net/i40e: change version number to support Linux VF")
Cc: stable@dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_pf.c