[PATCH] ixgbe: Removed FreeBSD forcing wait in ixgbe_dev_link_update_share()
lew at perftech.com
lew at perftech.com
Tue Oct 22 16:42:05 CEST 2024
From: Lewis Donzis <lew at perftech.com>
Forcing wait true prevents checking link status without delay, because the function will wait more than 10 seconds for link status to be true.
Signed-off-by: Lewis Donzis <lew at perftech.com>
---
drivers/net/ixgbe/ixgbe_ethdev.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index ab37c37469..008760e315 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -4314,11 +4314,6 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev,
if (wait_to_complete == 0 || dev->data->dev_conf.intr_conf.lsc != 0)
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);
else
--
2.46.2
More information about the dev
mailing list