From patchwork Wed Oct 25 13:36:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Brandes, Shai" X-Patchwork-Id: 302 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 ED66B431FC; Wed, 25 Oct 2023 15:36:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD165402B3; Wed, 25 Oct 2023 15:36:24 +0200 (CEST) Received: from smtp-fw-52003.amazon.com (smtp-fw-52003.amazon.com [52.119.213.152]) by mails.dpdk.org (Postfix) with ESMTP id 10AF540273 for ; Wed, 25 Oct 2023 15:36:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1698240984; x=1729776984; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cvoLrHbM94UTQSW8j9/m69IVAP9wTOVJKpRj6HndQXM=; b=XWVm8OUVBWg3/1YQXK3eycvcBXQP55jnmc9uK19eiOz+0dA/X0ENOLtd VMF3fCd+YVl2XR6vTaU8AGZfVHxFA34N+R3ti8pj62Jn3cO2kZxDtSAaP pia0RoYIdrnLKb29G0gsH4RtYCvWeMYSWiMMALH+DNj5BXmLxsSQSkMgD c=; X-IronPort-AV: E=Sophos;i="6.03,250,1694736000"; d="scan'208";a="615601013" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1a-m6i4x-b5bd57cf.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-52003.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 13:36:22 +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-1a-m6i4x-b5bd57cf.us-east-1.amazon.com (Postfix) with ESMTPS id E12164891F; Wed, 25 Oct 2023 13:36:21 +0000 (UTC) Received: from EX19MTAEUB002.ant.amazon.com [10.0.43.254:48765] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.0.200:2525] with esmtp (Farcaster) id 1132824a-ac9d-469d-914e-ff9ef22100a1; Wed, 25 Oct 2023 13:36:20 +0000 (UTC) X-Farcaster-Flow-ID: 1132824a-ac9d-469d-914e-ff9ef22100a1 Received: from EX19D023EUB001.ant.amazon.com (10.252.51.75) 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.1118.39; Wed, 25 Oct 2023 13:36:20 +0000 Received: from EX19MTAUEB001.ant.amazon.com (10.252.135.35) by EX19D023EUB001.ant.amazon.com (10.252.51.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 25 Oct 2023 13:36:20 +0000 Received: from HFA15-CG15235BS.amazon.com (10.106.83.33) by mail-relay.amazon.com (10.252.135.35) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Wed, 25 Oct 2023 13:36:18 +0000 From: To: CC: , , , , Subject: [PATCH v2 0/5] net/ena: v2.8.0 driver release Date: Wed, 25 Oct 2023 16:36:04 +0300 Message-ID: <20231025133609.17931-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. --- 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 | 499 +++++++++++++++--- 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 | 8 +- drivers/net/ena/base/ena_plat_dpdk.h | 49 +- drivers/net/ena/ena_ethdev.c | 321 ++++++++--- drivers/net/ena/ena_ethdev.h | 43 +- 13 files changed, 1204 insertions(+), 227 deletions(-)