From patchwork Mon Apr 8 12:15:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Brandes, Shai" X-Patchwork-Id: 847 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F69943DA3; Mon, 8 Apr 2024 14:15:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B13F40647; Mon, 8 Apr 2024 14:15:42 +0200 (CEST) Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by mails.dpdk.org (Postfix) with ESMTP id 8291240041; Mon, 8 Apr 2024 14:15:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1712578540; x=1744114540; h=from:to:cc:subject:date:message-id:mime-version; bh=RHiUXgWALZR/t3eO0kL4ZVuZh9+qEKMbC+SSYjvYg/o=; b=JS/dBCQZHh95hyBksFsWkvb1JnAvVUNMpswVEGZItuZJlSiGKh43R9ZJ 5BXprWqSRr5RVBlSJBWKqPa4pAVf1KJDEXiYd91YndHIzXFlRlNzd85nR oxTO5DY/X+8bHBYxGwUpsH3BPgVUdMVlN19bfMcdS7CZOjM/y25yJqmFs o=; X-IronPort-AV: E=Sophos;i="6.07,186,1708387200"; d="scan'208";a="409908758" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev) ([10.25.36.214]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 12:15:32 +0000 Received: from EX19MTAEUB002.ant.amazon.com [10.0.10.100:35544] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.18.212:2525] with esmtp (Farcaster) id bc34f181-05ed-4533-9f5b-38e974e307ac; Mon, 8 Apr 2024 12:15:30 +0000 (UTC) X-Farcaster-Flow-ID: bc34f181-05ed-4533-9f5b-38e974e307ac Received: from EX19D007EUB004.ant.amazon.com (10.252.51.85) by EX19MTAEUB002.ant.amazon.com (10.252.51.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Mon, 8 Apr 2024 12:15:30 +0000 Received: from EX19MTAUEA001.ant.amazon.com (10.252.134.203) by EX19D007EUB004.ant.amazon.com (10.252.51.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Mon, 8 Apr 2024 12:15:29 +0000 Received: from HFA15-CG15235BS.amazon.com (10.1.212.52) by mail-relay.amazon.com (10.252.134.102) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Mon, 8 Apr 2024 12:15:28 +0000 From: To: , , , , CC: , , Shai Brandes Subject: [PATCH v2 0/1] net/ena/base: bug fix for 23.11 stable only Date: Mon, 8 Apr 2024 15:15:24 +0300 Message-ID: <20240408121525.1906-1-shaibran@amazon.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Shai Brandes Hi, the fix is for a bug that was introduced in 23.11. The fix was already merged into 24.03 indirectly as part of c8a1898f82f8 ("net/ena: improve style and readability") and the entire function was later restructured in patch bcb1753156ac ("net/ena/base: modify customer metrics memory management"). Meaning, this issue is indirectly fixed going forward, but we need to introduce a dedicated fix for 23.11 stable only. I CC'ed also dev mailing list since this involves Bugzilla bug fix. All the best, Shai --- v2: * reordered the tags in the commit message Shai Brandes (1): net/ena/base: fix metrics excessive memory consumption drivers/net/ena/base/ena_com.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)