Skip to content

Commit

Permalink
net/ena: fix missing default llq policy
Browse files Browse the repository at this point in the history
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: d7918d1 ("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>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
  • Loading branch information
shaibran authored and shemminger committed Dec 13, 2024
1 parent 7df61db commit f1e0472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ena/ena_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f1e0472

Please sign in to comment.