Skip to contentSkip to conversation

net/ena: fix missing default llq policy

PATCH In review [email protected] 2 participants 2 messages Dec 12, 2024 – Jan 14, 2025 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ena: fix missing default llq policy

From: Shai Brandes <[email protected]>

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")
---
 drivers/net/ena/ena_ethdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ena/ena_ethdev.c +1 -0
index bba48ea1cc..aea2e5c929 100644
@@ -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);
Signature · 1 line
2.17.1
#1 lore raw
Quoted 11 lines · On Thu, 12 Dec 2024 17:24:55 +0200 <[email protected]> wrote:

From: Shai Brandes <[email protected]>

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

---

Multiple signed-off-by's is good, but please send a patch to add Yosef to the .mailmap file.

$ ./devtools/check-git-log.sh
Contributor name/email mismatch with .mailmap: 
	Yosef Raisman <[email protected]> is unknown in .mailmap