summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Zhao <wei.zhao1@intel.com>2019-09-04 16:40:54 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-05 19:18:38 +0200
commit9594db99c73b62c398310d812726cc90889297af (patch)
tree3ddc27647609b761fc023e798158af604fe00869
parent5e0a2c935bf6724b8419ad8f9237c48a564bb2ff (diff)
downloaddpdk-next-eventdev-9594db99c73b62c398310d812726cc90889297af.zip
dpdk-next-eventdev-9594db99c73b62c398310d812726cc90889297af.tar.gz
dpdk-next-eventdev-9594db99c73b62c398310d812726cc90889297af.tar.xz
net/ixgbe: fix VF RSS offloads configuration
x550 NIC VF port has the capacity to set RSS hash, so device info get function should report that. 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: Xiaolong Ye <xiaolong.ye@intel.com>
-rw-r--r--drivers/net/ixgbe/ixgbe_ethdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index e985053..7eb3d05 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -3928,6 +3928,7 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
dev_info->tx_offload_capa = ixgbe_get_tx_port_offloads(dev);
dev_info->hash_key_size = IXGBE_HKEY_MAX_INDEX * sizeof(uint32_t);
dev_info->reta_size = ixgbe_reta_size_get(hw->mac.type);
+ dev_info->flow_type_rss_offloads = IXGBE_RSS_OFFLOAD_ALL;
dev_info->default_rxconf = (struct rte_eth_rxconf) {
.rx_thresh = {