[dpdk-stable] patch 'net/ixgbe: fix link status synchronization on BSD' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Fri Jun 5 20:24:33 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/10/20. 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.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/f86e7bae8f8975e50f1cda5b7b88d5d19814e4bd

Thanks.

Kevin.

---
>From f86e7bae8f8975e50f1cda5b7b88d5d19814e4bd Mon Sep 17 00:00:00 2001
From: Zhihong Peng <zhihongx.peng at intel.com>
Date: Thu, 16 Apr 2020 23:52:12 -0400
Subject: [PATCH] net/ixgbe: fix link status synchronization on BSD

[ upstream commit 0012111a3d879b0b0e27d14a841e2a729545727d ]

DPDK does not implement interrupt mechanism on BSD,
so force NIC status synchronization.

Fixes: dc66e5fd01b9 ("net/ixgbe: improve link state check on VF")

Signed-off-by: Zhihong Peng <zhihongx.peng at intel.com>
Tested-by: Zhimin Huang <zhiminx.huang at intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 2d49ea011b..9b67e56a53 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -4188,4 +4188,9 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
 		wait = 0;
 
+/* BSD has no interrupt mechanism, so force NIC status synchronization. */
+#ifdef RTE_EXEC_ENV_FREEBSD
+	wait = 1;
+#endif
+
 	if (vf)
 		diag = ixgbevf_check_link(hw, &link_speed, &link_up, wait);
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-06-05 19:20:52.824516473 +0100
+++ 0036-net-ixgbe-fix-link-status-synchronization-on-BSD.patch	2020-06-05 19:20:50.782041449 +0100
@@ -1 +1 @@
-From 0012111a3d879b0b0e27d14a841e2a729545727d Mon Sep 17 00:00:00 2001
+From f86e7bae8f8975e50f1cda5b7b88d5d19814e4bd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0012111a3d879b0b0e27d14a841e2a729545727d ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index aa1e8aac51..cf5f1fe709 100644
+index 2d49ea011b..9b67e56a53 100644
@@ -23 +24 @@
-@@ -4258,4 +4258,9 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
+@@ -4188,4 +4188,9 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,



More information about the stable mailing list