From patchwork Tue Mar 12 18:06:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Brandes, Shai" X-Patchwork-Id: 771 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 1B75E43C94; Tue, 12 Mar 2024 19:07:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C735240ED9; Tue, 12 Mar 2024 19:07:27 +0100 (CET) Received: from smtp-fw-52003.amazon.com (smtp-fw-52003.amazon.com [52.119.213.152]) by mails.dpdk.org (Postfix) with ESMTP id 11EB140E40 for ; Tue, 12 Mar 2024 19:07:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1710266847; x=1741802847; h=from:to:cc:subject:date:message-id:mime-version; bh=dKZ/+B1DbfCiPDLFP5LOiHj/uFHsCoLY7RYPvL8AW8g=; b=ecISHBAIDmeDXJrjNG5rQLNJGOSxqKr7IMgc+uK03ahOW+IxY8RLoe2c OrMihP1VRr+wQajbziuWfp5rR5DRTBJ7W9mHiMSXCObLjoD0ExlKtkOS5 bDSa+xZVQlxRSbadmdvrB2BoSpv2ttggc9rTZtJ9aHLFt6P2pkvfqY/27 w=; X-IronPort-AV: E=Sophos;i="6.07,119,1708387200"; d="scan'208";a="644223754" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-52003.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 18:07:25 +0000 Received: from EX19MTAEUA002.ant.amazon.com [10.0.43.254:14684] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.1.140:2525] with esmtp (Farcaster) id f4648330-0f87-4fa8-81ff-4ae23c204cdf; Tue, 12 Mar 2024 18:07:22 +0000 (UTC) X-Farcaster-Flow-ID: f4648330-0f87-4fa8-81ff-4ae23c204cdf Received: from EX19D007EUB002.ant.amazon.com (10.252.51.117) by EX19MTAEUA002.ant.amazon.com (10.252.50.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Tue, 12 Mar 2024 18:07:22 +0000 Received: from EX19MTAUWA001.ant.amazon.com (10.250.64.204) by EX19D007EUB002.ant.amazon.com (10.252.51.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Tue, 12 Mar 2024 18:07:22 +0000 Received: from HFA15-CG15235BS.amazon.com (10.85.143.174) by mail-relay.amazon.com (10.250.64.204) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Tue, 12 Mar 2024 18:07:20 +0000 From: To: CC: , Shai Brandes Subject: [PATCH v4 00/31] net/ena: v2.9.0 driver release Date: Tue, 12 Mar 2024 20:06:45 +0200 Message-ID: <20240312180716.8515-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 all, the ena v2.9.0 release introduces: 1. HAL upgrade: - renamed the 'base' folder to be 'hal' - separated the HAL patches instead of a bulk update. 2. Restructured ena stats and metrics. 3. Restructured the LLQ configuration: - configurable via devarg. - support device recommendation. - restructure the logic in driver. 4. Added support for the admin queue to work only in poll-mode - configurable via devarg. - allows to bind ports to uio_pci_generic kernel driver. 5. Reworked the device close to exhaust interrupt callbacks and alarms. 6. Fixed a bug in fast mbuf free. Best regards. --- v4: * deleted patch "[06/33] net/ena: rename base folder to hal". * reworked patch "[07/33] net/ena: restructure the llq policy setting process" so the code maintain backward compatibility in user devargs. * modified the title of "[09/33] net/ena/hal: add a new csum offload bit" * deleted patch "[10/33] net/ena/hal: added a bus parameter to ena memcpy macro" * reworked the commit message of "[08/33] net/ena/hal: exponential backoff exp limit" to better describe the reasoning for the change. * reworked the wording of "[28/33] net/ena/hal: cosmetic changes" * fixed "[26/33] net/ena: cosmetic changes" which broke patch by patch build. v3: * Fixed missing admin queue missing intialization in patch 0032 v2: * Fixed minor spelling issues from checkpatch Shai Brandes (31): net/ena: rework the metrics multi-process functions net/ena: report new supported link speed capabilities net/ena: update imissed stat with Rx overruns net/ena: sub-optimal configuration notifications support net/ena: fix fast mbuf free net/ena: restructure the llq policy setting process net/ena/base: limit exponential backoff exp net/ena/base: add a new csum offload bit net/ena/base: optimize Rx ring submission queue net/ena/base: rename fields in completion descriptors net/ena/base: use correct read once on u8 field net/ena/base: add completion descriptor corruption check net/ena/base: malformed Tx descriptor error reason net/ena/base: phc feature modifications net/ena/base: restructure interrupt handling net/ena/base: add unlikely to error checks net/ena/base: missing admin interrupt reset reason net/ena/base: check for existing keep alive notification net/ena/base: modify memory barrier comment net/ena/base: rework Rx ring submission queue net/ena/base: remove operating system type enum net/ena/base: handle command abort net/ena/base: add support for device reset request net/ena: cosmetic changes net/ena/base: modify customer metrics memory management net/ena/base: modify logs to use unsigned format specifier net/ena: update device-preferred size of rings net/ena: exhaust interrupt callbacks in device close net/ena: support max large llq depth from the device net/ena: control path pure polling mode net/ena: upgrade driver version to 2.9.0 doc/guides/nics/ena.rst | 47 ++- doc/guides/rel_notes/release_24_03.rst | 11 + drivers/net/ena/base/ena_com.c | 240 ++++++++++----- drivers/net/ena/base/ena_com.h | 53 +++- .../net/ena/base/ena_defs/ena_admin_defs.h | 92 ++++-- .../net/ena/base/ena_defs/ena_eth_io_defs.h | 49 ++- drivers/net/ena/base/ena_defs/ena_regs_defs.h | 3 + drivers/net/ena/base/ena_eth_com.c | 53 ++-- drivers/net/ena/base/ena_eth_com.h | 14 +- drivers/net/ena/base/ena_plat_dpdk.h | 6 +- drivers/net/ena/ena_ethdev.c | 280 ++++++++++++++---- drivers/net/ena/ena_ethdev.h | 17 +- 12 files changed, 662 insertions(+), 203 deletions(-)