From patchwork Tue Oct 24 10:21:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Brandes, Shai" X-Patchwork-Id: 298 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 F0FBB431EF; Tue, 24 Oct 2023 12:21:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D4339402BE; Tue, 24 Oct 2023 12:21:44 +0200 (CEST) Received: from smtp-fw-33001.amazon.com (smtp-fw-33001.amazon.com [207.171.190.10]) by mails.dpdk.org (Postfix) with ESMTP id 1348240285 for ; Tue, 24 Oct 2023 12:21:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1698142903; x=1729678903; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kokWx4ehusSXJ/RDpAH2r+7q5+55g6ThzMlM6zfX3/Y=; b=GcFLf2M04AepXXVdAkACbw1uRALQlvu83OLWwqSJrNzHEZff/2H0g9Q4 mJ0JoqFtZlskiPnjhV0/2nO3a+GLv9xJOaT5TWVAwGoZlr8vCrh+gvWoW moxVUUuUqJfYAMx9XpscxQdKaNhXNigtMxIbxF+/Sd4AYn+kJHDLrKWLX w=; X-IronPort-AV: E=Sophos;i="6.03,247,1694736000"; d="scan'208";a="310038625" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-iad-1e-m6i4x-3e1fab07.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2023 10:21:36 +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-1e-m6i4x-3e1fab07.us-east-1.amazon.com (Postfix) with ESMTPS id 20F6C80752; Tue, 24 Oct 2023 10:21:34 +0000 (UTC) Received: from EX19MTAEUA002.ant.amazon.com [10.0.10.100:26440] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.5.166:2525] with esmtp (Farcaster) id 06ccca00-5d2a-4daa-824a-fb4ebc329076; Tue, 24 Oct 2023 10:21:33 +0000 (UTC) X-Farcaster-Flow-ID: 06ccca00-5d2a-4daa-824a-fb4ebc329076 Received: from EX19D007EUB004.ant.amazon.com (10.252.51.85) 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.1118.39; Tue, 24 Oct 2023 10:21:33 +0000 Received: from EX19MTAUWB001.ant.amazon.com (10.250.64.248) 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.1118.39; Tue, 24 Oct 2023 10:21:32 +0000 Received: from HFA15-CG15235BS.amazon.com (10.85.143.172) by mail-relay.amazon.com (10.250.64.254) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Tue, 24 Oct 2023 10:21:31 +0000 From: To: CC: , Shai Brandes Subject: [PATCH 0/5] net/ena: v2.8.0 driver release Date: Tue, 24 Oct 2023 13:21:23 +0300 Message-ID: <20231024102128.16832-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. 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(-)