[v2,00/36] net/ionic: updates for 22.11 release
Message ID | 20221018194131.23006-1-andrew.boyer@amd.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 D8617A0560; Tue, 18 Oct 2022 21:41:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8264540395; Tue, 18 Oct 2022 21:41:53 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2081.outbound.protection.outlook.com [40.107.243.81]) by mails.dpdk.org (Postfix) with ESMTP id 1017340041 for <dev@dpdk.org>; Tue, 18 Oct 2022 21:41:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mDEC9j9grI4cQDol0hzZbI3SbJey+G1/meyHRsF5Z6UjZkjai8UpoX8W7JOZvGlxPeib8EwwmvMThU6vQwg6MIAWBlnepDO6dqV+Mt7EM3CMMtRcqdk1HSAV+J+3i44iS/n2iyAjQdMSRCBtRA3IaPY2g9BLZJu9fR6CbF430LvFjJt1QbH+SLFCPm3SqMVqUD0CZjBGw4MhapjRlt9sy26t+7HiMYPaz04+tlBxhlbvGczwiolItZzITtU4MgFVjyINf2YIXkd+wusy4PUu8QgDK9KuyEsKM4dg3tXAa0DCMxWXUcG3b9ktBG6ytI2l+gW2uPsc88yqOsjIlTbJKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3NFePLQUDPQNA00KwPPa+i2/XozFvv7HwpSrX9zkwW0=; b=aIRLro+Nye07X+hbOx38q20HZAKFPoViumz0AGPxigrMojkdAHFNDP/daZKbfEDxFBiZOQ+2vu05eKprgkKECrMfM+7TvqSNpqEvl5JsPFns/ft3hRDuB746ds4Hc1gpcqg4V590XLE+3zmPIr2k+Lr5ZkrZzUFYhso87fveQGPL3dpMzz3J3J3vkhMnNbiGfuEYKNsVqv3KrKxEZtJep9Wzq59zTpPeCd2GYtj4wjUIOrmHtcbnkKQzkyGAw7zKXBIqcjdrNOuc7n1yUa4UIApUYGjiUYH2rpcIy6NhMLCsvnSTWsiq7oJYcGl9F39geDYemlDs5H7x0d8ieYH8uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3NFePLQUDPQNA00KwPPa+i2/XozFvv7HwpSrX9zkwW0=; b=1YSsxz+vrk2Sqq+A/g5PVtde6rS7cp7punzyYlnP5Pa6xIXTQ5aYVzMU/mCkfv2hQdOf06YJKcCi1gt+ZfZ1ENgpqu+fRR94SjZtSE/tGlz9jnAaY+vXcxV5f455cOi5mTAbkFQ6TtSVeAaNmy84H57DGbQ7+aU0OxtxFckDIUQ= Received: from BN9PR03CA0163.namprd03.prod.outlook.com (2603:10b6:408:f4::18) by CH0PR12MB5091.namprd12.prod.outlook.com (2603:10b6:610:be::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Tue, 18 Oct 2022 19:41:50 +0000 Received: from BN8NAM11FT058.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f4:cafe::c2) by BN9PR03CA0163.outlook.office365.com (2603:10b6:408:f4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30 via Frontend Transport; Tue, 18 Oct 2022 19:41:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT058.mail.protection.outlook.com (10.13.177.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.16 via Frontend Transport; Tue, 18 Oct 2022 19:41:49 +0000 Received: from driver-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 14:41:45 -0500 From: Andrew Boyer <andrew.boyer@amd.com> To: <dev@dpdk.org> CC: Andrew Boyer <andrew.boyer@amd.com>, R Mohamed Shah <mohamedshah.r@amd.com>, Neel Patel <neel.patel@amd.com>, Allen Hubbe <allen.hubbe@amd.com> Subject: [PATCH v2 00/36] net/ionic: updates for 22.11 release Date: Tue, 18 Oct 2022 12:40:55 -0700 Message-ID: <20221018194131.23006-1-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221011005032.47584-1-andrew.boyer@amd.com> References: <20221011005032.47584-1-andrew.boyer@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT058:EE_|CH0PR12MB5091:EE_ X-MS-Office365-Filtering-Correlation-Id: 47bbf055-019e-408d-1d69-08dab140cc59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QRzlM7K1cj70pfMWxHdP40L2L/YAHNVNj0EEApf8Lmlt1Ddxo7rvU9kqJZRzJnq0rwZNeP69bnQcA8Kt8ZwuUXFQ4sLrICfLtsRJOfWSXn2zCUb+cyNtFT6CWQc/Js87xKCQ5wXKZLcQUK9KUqEXN6wI0tYa7qBoy4adZrmWqm+XrSeDy8Esne1ccrHpoZygqhRxZx/93v+bpntJDk6qX8bZhKA+LuFvd+aCrqEYj5sLsZFwKFDjv8TnVpdZczMFC87tY3KG9agvmfF+QN/ech8G1XKSq2q+Cd7AEfmR7XZB5bjA+vY7DG8kjyUbs26+GFCqVsYUXqqq4FPdopJdzZ9c68fi5fEu0gNj5KgxyypqLxx19u0m4KgSLpz0SeblqVcSWMurSix5sdPJQBjZhc/+cHGy+gyzSMkjTl2mk+N7++WTxnoiWfOcZE+Z+rPbgv+y1F14TVMq5Txv5RJMJsxBzS1ol9ieZ66w6GCuDv0hGdCmCB2TSDFBF+25z4XBPEOQZ7iK6GTHsitw6YX2NOOg+Jg3nED48TQ4GZsbznOwJ4r+FFNAbvtLR7YcpdfEuIbRfivibr3UDvUKcyIgzRQNJDRThgduqbu4hYUWQ4KAkM/OSpPojjr0GI1AaFbuhW+HDIobceL6THcGMIJFyNMcTL0X+m5qmMoiJrUsgx1iP9OBQmAeqpVCDTCM+e4CAYEpBogUPkOxX2QCG7SW0fO2ChjfTdNKZKrU7vLpO/oOuay3/o8t4HAyROx11jCIcczqMqGoJ9n1HpTFqcUh1emTxZ9nQt8ha0lH2uk4cJ/sleKWQ0RubjlRm/QJvpAi X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(39860400002)(396003)(136003)(451199015)(36840700001)(40470700004)(46966006)(83380400001)(16526019)(2906002)(2616005)(1076003)(336012)(186003)(15650500001)(426003)(36756003)(40460700003)(81166007)(4326008)(8676002)(26005)(82740400003)(47076005)(40480700001)(86362001)(356005)(82310400005)(36860700001)(316002)(54906003)(41300700001)(6916009)(5660300002)(8936002)(44832011)(70206006)(6666004)(70586007)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2022 19:41:49.0293 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47bbf055-019e-408d-1d69-08dab140cc59 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5091 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Andrew Boyer
Oct. 18, 2022, 7:40 p.m. UTC
This patch series provides features and performance improvements relevant for the upstream release of DPDK 22.11. There are some bits (like struct ionic_dev_intf) only useful for drivers and device types which have not yet been upstreamed. All of the changes are confined to the ionic PMD. Signed-off-by: Andrew Boyer <andrew.boyer@amd.com> Signed-off-by: R Mohamed Shah <mohamedshah.r@amd.com> Signed-off-by: Neel Patel <neel.patel@amd.com> Signed-off-by: Allen Hubbe <allen.hubbe@amd.com> --- v1: * Rebased to avoid conflicts in release notes * Added missing links to product briefs in patch 6 v2: * Split DSC-200 addition into its own patch * Reverted driver ID string change * Removed "All Rights Reserved" text * Updated license on ionic.rst file * Sorted our entry in maintainers file * Sorted our entry in release notes Andrew Boyer (36): net/ionic: fix up endianness for Rx and Tx handling net/ionic: fix up endianness for RSS net/ionic: fix to set the adapter name for logging net/ionic: fix up the Rx filter save API net/ionic: fix up reported error stats net/ionic: update documentation and copyrights net/ionic: update supported devices list net/ionic: update license terms to remove GPL net/ionic: update MTU calculations net/ionic: simplify code by removing doorbell map helper net/ionic: remove unused identifiers net/ionic: only allocate interrupts if required net/ionic: move PCI-specific code to a separate file net/ionic: only request notifyq interrupt if supported net/ionic: replace void pointer with actual type net/ionic: free all buffers during Rx queue stop net/ionic: precalculate segment lengths on receive side net/ionic: use a helper variable in packet Tx function net/ionic: do one-time init of receive descriptors net/ionic: overhaul receive side for performance net/ionic: overhaul transmit side for performance net/ionic: add support for mbuf fast free net/ionic: do bulk allocations of receive mbufs net/ionic: add a lookup table for packet type net/ionic: add a lookup table for checksum flags net/ionic: advertise supported packet types net/ionic: add Rx descriptor status functions net/ionic: add Tx descriptor status function net/ionic: add Q-in-CMB option controlled by devarg net/ionic: update array allocations to use calloc net/ionic: add alignment and socket info in allocations net/ionic: allow client to specify Tx free threshold net/ionic: add optimized handlers for non-scattered Rx/Tx net/ionic: use a helper variable for page size net/ionic: retry init commands up to five times net/ionic: add watchdogs to protect each queue type MAINTAINERS | 12 +- doc/guides/nics/features/ionic.ini | 3 + doc/guides/nics/ionic.rst | 30 +- doc/guides/rel_notes/release_22_11.rst | 12 + drivers/net/ionic/ionic.h | 25 +- drivers/net/ionic/ionic_dev.c | 79 +-- drivers/net/ionic/ionic_dev.h | 40 +- drivers/net/ionic/ionic_dev_pci.c | 274 ++++++++ drivers/net/ionic/ionic_ethdev.c | 254 +++---- drivers/net/ionic/ionic_ethdev.h | 15 +- drivers/net/ionic/ionic_if.h | 13 +- drivers/net/ionic/ionic_lif.c | 310 ++++++--- drivers/net/ionic/ionic_lif.h | 33 +- drivers/net/ionic/ionic_logs.h | 4 +- drivers/net/ionic/ionic_mac_api.c | 4 +- drivers/net/ionic/ionic_mac_api.h | 4 +- drivers/net/ionic/ionic_main.c | 32 +- drivers/net/ionic/ionic_osdep.h | 4 +- drivers/net/ionic/ionic_regs.h | 4 +- drivers/net/ionic/ionic_rx_filter.c | 9 +- drivers/net/ionic/ionic_rx_filter.h | 4 +- drivers/net/ionic/ionic_rxtx.c | 916 +++++++++---------------- drivers/net/ionic/ionic_rxtx.h | 56 +- drivers/net/ionic/ionic_rxtx_sg.c | 544 +++++++++++++++ drivers/net/ionic/ionic_rxtx_simple.c | 465 +++++++++++++ drivers/net/ionic/meson.build | 7 +- 26 files changed, 2159 insertions(+), 994 deletions(-) create mode 100644 drivers/net/ionic/ionic_dev_pci.c create mode 100644 drivers/net/ionic/ionic_rxtx_sg.c create mode 100644 drivers/net/ionic/ionic_rxtx_simple.c