From: Wei Zhao Date: Wed, 4 Sep 2019 08:40:54 +0000 (+0800) Subject: net/ixgbe: fix VF RSS offloads configuration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9594db99c73b62c398310d812726cc90889297af;p=dpdk.git 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 Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index e985053d6b..7eb3d0567b 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 = {