From patchwork Thu Oct 26 14:21:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Brandes, Shai" X-Patchwork-Id: 311 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 A0A5343209; Thu, 26 Oct 2023 16:21:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9145A42DDB; Thu, 26 Oct 2023 16:21:57 +0200 (CEST) Received: from smtp-fw-9106.amazon.com (smtp-fw-9106.amazon.com [207.171.188.206]) by mails.dpdk.org (Postfix) with ESMTP id 29643402CF for ; Thu, 26 Oct 2023 16:21:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1698330116; x=1729866116; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Wjfn2N/QbKntFlzPj9HECGia/DeBmslcLq57wpyI048=; b=KLl9JIAcZRzfdSRmMuRjGBg/vYdWRdTuzryTB5EjUuVCYZdCnS0vcGuP e9/8Uz4QW32Gomq0EIWBwpUmiPzXon31Lvkun8o43djpZT9RfJI6QQPgX x3I7MpUPKkwRYYzbJLqcNu7ElXMCOoUYI+zXkbklqWofJPKuxepGe+taZ s=; X-IronPort-AV: E=Sophos;i="6.03,253,1694736000"; d="scan'208";a="680449139" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-iad-1d-m6i4x-00fceed5.us-east-1.amazon.com) ([10.25.36.210]) by smtp-border-fw-9106.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 14:21:49 +0000 Received: from smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev (iad7-ws-svc-p70-lb3-vlan3.iad.amazon.com [10.32.235.38]) by email-inbound-relay-iad-1d-m6i4x-00fceed5.us-east-1.amazon.com (Postfix) with ESMTPS id 70D2EA2F19; Thu, 26 Oct 2023 14:21:47 +0000 (UTC) Received: from EX19MTAEUA001.ant.amazon.com [10.0.10.100:1362] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.35.121:2525] with esmtp (Farcaster) id 613c5d69-6540-4dce-b10a-d798eb0de927; Thu, 26 Oct 2023 14:21:46 +0000 (UTC) X-Farcaster-Flow-ID: 613c5d69-6540-4dce-b10a-d798eb0de927 Received: from EX19D007EUA002.ant.amazon.com (10.252.50.68) by EX19MTAEUA001.ant.amazon.com (10.252.50.192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 26 Oct 2023 14:21:40 +0000 Received: from EX19MTAUWC001.ant.amazon.com (10.250.64.145) by EX19D007EUA002.ant.amazon.com (10.252.50.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 26 Oct 2023 14:21:40 +0000 Received: from HFA15-CG15235BS.amazon.com (10.85.143.173) by mail-relay.amazon.com (10.250.64.145) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Thu, 26 Oct 2023 14:21:38 +0000 From: To: CC: , , , , Subject: [PATCH v3 0/5] net/ena: v2.8.0 driver release Date: Thu, 26 Oct 2023 17:21:30 +0300 Message-ID: <20231026142135.19967-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, This patchset contains alignment of the driver to the latest HAL version which adds support for retrieving new metrics from the device and opens a path to use additional device features that are not yet supported by the driver. The new driver features are mostly about adding additional metrics. We added support for an additional customer metric, ENA-express metrics and are now reporting also rx overrun errors. All new metrics have MP support. * Testing: The team performed directed tests for all the features and executed our proprietary performance benchamarking (BW, PPS, Latency) to verify there is no regression. It was executed on the entire Amazon EC2 instance types matrix that covers all device generations and CPU architectures. --- v3: * updated the ena hal upgrade patch 0001: * Removed all irrelvant headers from the ena_plat * Changed interal bit shift implementation to rte define. * Fixed an unintentional revert of queue status patch. * Fixed minor typo errors. * moved the ena release notes section to its proper location in the release notes doc (ordered in vendor in the driver group). v2: * Fixed spelling issues from checkpatch in patch 0001 Shai Brandes (5): net/ena: hal upgrade net/ena: add support for connection tracking metric net/ena: report Rx overrun errors in xstats net/ena: add support for ena-express metrics net/ena: update ena version to 2.8.0 doc/guides/rel_notes/release_23_11.rst | 7 + drivers/net/ena/base/ena_com.c | 497 +++++++++++++++--- drivers/net/ena/base/ena_com.h | 197 ++++++- .../net/ena/base/ena_defs/ena_admin_defs.h | 198 ++++++- .../net/ena/base/ena_defs/ena_eth_io_defs.h | 18 +- drivers/net/ena/base/ena_defs/ena_gen_info.h | 4 +- drivers/net/ena/base/ena_defs/ena_regs_defs.h | 12 + drivers/net/ena/base/ena_eth_com.c | 45 +- drivers/net/ena/base/ena_eth_com.h | 30 +- drivers/net/ena/base/ena_plat.h | 18 - drivers/net/ena/base/ena_plat_dpdk.h | 51 +- drivers/net/ena/ena_ethdev.c | 309 ++++++++--- drivers/net/ena/ena_ethdev.h | 43 +- 13 files changed, 1199 insertions(+), 230 deletions(-)