net/ixgbe: fix RETA size for VF
authorWei Zhao <wei.zhao1@intel.com>
Fri, 26 Jul 2019 01:38:28 +0000 (09:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Jul 2019 11:24:32 +0000 (13:24 +0200)
commitfb3a93f9feeb771d56b89df19d1038be573da9f5
tree7197e6662148f7303c9d0d55b0d32a3e94442f22
parent3d6666ac97d790660067218c900a1c642c55fd26
net/ixgbe: fix RETA size for VF

Filling correct RETA table size at ixgbevf_dev_info_get,
so RETA table update will be supported for VF port.
For X540_vf and 82599_vf, since they don't support
RETA table update, set RETA size to 0.

Fixes: 2144f6630fca ("ixgbe: add redirection table size in device info")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c