[dpdk-stable] patch 'net/ixgbe: fix VF RSS offloads configuration' has been queued to LTS release 17.11.10

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Dec 19 15:32:41 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.10

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/21/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From cb57f18751845e3455deff4839a900c909ad8d1f Mon Sep 17 00:00:00 2001
From: Wei Zhao <wei.zhao1 at intel.com>
Date: Wed, 4 Sep 2019 16:40:54 +0800
Subject: [PATCH] net/ixgbe: fix VF RSS offloads configuration

[ upstream commit 9594db99c73b62c398310d812726cc90889297af ]

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")

Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 252c2bffc0..c722b36ebf 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -3854,6 +3854,7 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
 				DEV_TX_OFFLOAD_TCP_CKSUM   |
 				DEV_TX_OFFLOAD_SCTP_CKSUM  |
 				DEV_TX_OFFLOAD_TCP_TSO;
+	dev_info->flow_type_rss_offloads = IXGBE_RSS_OFFLOAD_ALL;
 
 	dev_info->default_rxconf = (struct rte_eth_rxconf) {
 		.rx_thresh = {
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-19 14:32:26.890031069 +0000
+++ 0014-net-ixgbe-fix-VF-RSS-offloads-configuration.patch	2019-12-19 14:32:25.441284659 +0000
@@ -1,13 +1,14 @@
-From 9594db99c73b62c398310d812726cc90889297af Mon Sep 17 00:00:00 2001
+From cb57f18751845e3455deff4839a900c909ad8d1f Mon Sep 17 00:00:00 2001
 From: Wei Zhao <wei.zhao1 at intel.com>
 Date: Wed, 4 Sep 2019 16:40:54 +0800
 Subject: [PATCH] net/ixgbe: fix VF RSS offloads configuration
 
+[ upstream commit 9594db99c73b62c398310d812726cc90889297af ]
+
 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 at dpdk.org
 
 Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
 Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
@@ -16,13 +17,13 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
-index e985053d6b..7eb3d0567b 100644
+index 252c2bffc0..c722b36ebf 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);
+@@ -3854,6 +3854,7 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
+ 				DEV_TX_OFFLOAD_TCP_CKSUM   |
+ 				DEV_TX_OFFLOAD_SCTP_CKSUM  |
+ 				DEV_TX_OFFLOAD_TCP_TSO;
 +	dev_info->flow_type_rss_offloads = IXGBE_RSS_OFFLOAD_ALL;
  
  	dev_info->default_rxconf = (struct rte_eth_rxconf) {


More information about the stable mailing list