* [PATCH] net/ena: fix missing default llq policy
@ 2024-12-12 15:24 shaibran
0 siblings, 0 replies; only message in thread
From: shaibran @ 2024-12-12 15:24 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, Shai Brandes, stable, Yosef Raisman
From: Shai Brandes <shaibran@amazon.com>
The driver failed to set a default llq_header_policy,
causing LLQ to be disabled when the devarg value is
not specified by the application.
Fixes: d7918d19d25e ("net/ena: restructure LLQ policy user setting")
Cc: stable@dpdk.org
Signed-off-by: Yosef Raisman <yraisman@amazon.com>
Signed-off-by: Shai Brandes <shaibran@amazon.com>
---
drivers/net/ena/ena_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index bba48ea1cc..aea2e5c929 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -2330,6 +2330,7 @@ static int eth_ena_dev_init(struct rte_eth_dev *eth_dev)
/* Assign default devargs values */
adapter->missing_tx_completion_to = ENA_TX_TIMEOUT;
+ adapter->llq_header_policy = ENA_LLQ_POLICY_RECOMMENDED;
/* Get user bypass */
rc = ena_parse_devargs(adapter, pci_dev->device.devargs);
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-12 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-12 15:24 [PATCH] net/ena: fix missing default llq policy shaibran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).