From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3ED3545E88 for ; Thu, 12 Dec 2024 16:25:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30B74402EB; Thu, 12 Dec 2024 16:25:08 +0100 (CET) Received: from smtp-fw-52002.amazon.com (smtp-fw-52002.amazon.com [52.119.213.150]) by mails.dpdk.org (Postfix) with ESMTP id 39C4040269; Thu, 12 Dec 2024 16:25:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1734017105; x=1765553105; h=from:to:cc:subject:date:message-id:mime-version; bh=XgksmvZRWwCmi2uSr9sw5C2D4cDO/g99vLvlPwp6MtQ=; b=uGUhhgnIYjlRahTPv6NwTEmVAFVJa9dDmiXqhBLt2X+sigf30EatCQ3O 5d/BiDfTFYqOescbWj30weH9YTxekUUDGilh6qNKiLUMivm+MmxK/N1ks vwcSrIKz+9/RbhK/q3Ko09tYdgaROJdzDrTVYiVepptaEKJeR6hQow9WV s=; X-IronPort-AV: E=Sophos;i="6.12,228,1728950400"; d="scan'208";a="680901515" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-52002.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2024 15:25:02 +0000 Received: from EX19MTAEUB002.ant.amazon.com [10.0.43.254:23424] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.8.88:2525] with esmtp (Farcaster) id 8ba7663e-f3ad-43c3-88eb-45f1fe44cbbb; Thu, 12 Dec 2024 15:25:02 +0000 (UTC) X-Farcaster-Flow-ID: 8ba7663e-f3ad-43c3-88eb-45f1fe44cbbb Received: from EX19D027EUC002.ant.amazon.com (10.252.61.165) by EX19MTAEUB002.ant.amazon.com (10.252.51.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39; Thu, 12 Dec 2024 15:25:01 +0000 Received: from EX19MTAUEB001.ant.amazon.com (10.252.135.35) by EX19D027EUC002.ant.amazon.com (10.252.61.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39; Thu, 12 Dec 2024 15:25:01 +0000 Received: from email-imr-corp-prod-iad-1box-1a-6851662a.us-east-1.amazon.com (10.43.8.2) by mail-relay.amazon.com (10.252.135.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39 via Frontend Transport; Thu, 12 Dec 2024 15:25:01 +0000 Received: from HFA15-CG15235BS.amazon.com (unknown [10.85.143.174]) by email-imr-corp-prod-iad-1box-1a-6851662a.us-east-1.amazon.com (Postfix) with ESMTP id 3EA2F404B9; Thu, 12 Dec 2024 15:25:00 +0000 (UTC) From: To: CC: , Shai Brandes , , Yosef Raisman Subject: [PATCH] net/ena: fix missing default llq policy Date: Thu, 12 Dec 2024 17:24:55 +0200 Message-ID: <20241212152455.510-1-shaibran@amazon.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Shai Brandes 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 Signed-off-by: Shai Brandes --- 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