net/i40e: fix multiple interrupts for VF
authorShougang Wang <shougangx.wang@intel.com>
Mon, 17 Feb 2020 03:09:35 +0000 (03:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 12:51:06 +0000 (13:51 +0100)
commitca9ae7209173b67bcb260f6007ab7a72e4457c4c
tree80b3afd79f421668d0114618d5a16140cad89916
parent888683110dc766b6907d2686c912e5189e3312ab
net/i40e: fix multiple interrupts for VF

Interrupt mapping should be 1:n queue(s).This patch fixes the
logic of interrupt bind by code reconstruction.

Fixes: 6a6cf5f88b4a ("net/i40e: enable multi-queue Rx interrupt for VF")

Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c