[v1,00/35] net/ionic: updates for 22.11 release
Message ID | 20221011005032.47584-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 CB039A0544; Tue, 11 Oct 2022 02:51:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 888D940DFD; Tue, 11 Oct 2022 02:51:11 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2046.outbound.protection.outlook.com [40.107.101.46]) by mails.dpdk.org (Postfix) with ESMTP id E56AE40146 for <dev@dpdk.org>; Tue, 11 Oct 2022 02:51:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jkUtg9YK6S33K07ZckXsFQrJcWR4HWq2SCF24Jb8MXDYFpQjK/Y6MIeH5NUw7tEmp0Uwg/icSBZz/VEDMOxPgkky9XFctCbct7Wi+OxKeG0BD3PP/lRfhn8NBl3ok9Q/W5MFmYp3v86K0OYxEWy9Cmiv7KoQGgOjdBUqAy8v8dtf5XOwGcA+Qz/PXdxieqL4PA8+kSrkRirC7GF9BiGK7a/5MTBL09Ez+VvMniGv2ENYfJSoBakMrR9h+SPg5pUnksWsqg1k2zIUFVydKR3cA5tTRI5VdyzZy3CBmfHUvcqxEFOr6XJCVqedJKIfPCkEUxfS3fdeqXY8jPzEZo3uKA== 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=nNL8abKNIwKL+hXJTmQ9aCeBBhiDzEje2rwUSIPE05w=; b=JhgzYQDfMaxxqN2hkrAViFRTe7GG/soZOuSus0eJPHS9V7tYSLokUwziX2gzEUpJdinI3gDHRGKd3kiFU9g6y2SjKju0WBDTEwroG+btLiiSo/BjG30G7NbAs0PrsAe5KeLwW5GwXFvtlVZRy3cLlV+mf5KgGClu+WkfS1CvYexVvIx6dWpJiL7Z40BB1nvFE4TSZthgxj05nuaWa7exNFGVp/cJEUEvA2MCw85WgAWhHNQCFMCcoKzcltENUisWO+cy6LVIEPV/zAc9a1oDfilfpNDQwzCzcsxG2zYPhezR97W7KdyKtCgJuEVnGFGPXPo99+IeWEiz6thESeHqlQ== 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=nNL8abKNIwKL+hXJTmQ9aCeBBhiDzEje2rwUSIPE05w=; b=xq/Iuzmp2OiTdZtApmp0d695bJ62FBsmZcA0CIbeoNF8s/h1vNd/Nz7zB5EElYKujt/6pLrQpKCbASRdaoh6/5oGpNjPyz24L/cFNgBhKN16kTfnuMuOe9fxcB56EJqY37NXsF1JXkZ1qLjVBwcD4R+GY8nmeq2fRpww6yB44sI= Received: from BN6PR17CA0056.namprd17.prod.outlook.com (2603:10b6:405:75::45) by CY5PR12MB6406.namprd12.prod.outlook.com (2603:10b6:930:3d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.31; Tue, 11 Oct 2022 00:51:05 +0000 Received: from BN8NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:405:75:cafe::6) by BN6PR17CA0056.outlook.office365.com (2603:10b6:405:75::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.19 via Frontend Transport; Tue, 11 Oct 2022 00:51:04 +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 BN8NAM11FT028.mail.protection.outlook.com (10.13.176.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5709.10 via Frontend Transport; Tue, 11 Oct 2022 00:51:04 +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.28; Mon, 10 Oct 2022 19:51:02 -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 v1 00/35] net/ionic: updates for 22.11 release Date: Mon, 10 Oct 2022 17:49:57 -0700 Message-ID: <20221011005032.47584-1-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221007174336.54354-1-andrew.boyer@amd.com> References: <20221007174336.54354-1-andrew.boyer@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT028:EE_|CY5PR12MB6406:EE_ X-MS-Office365-Filtering-Correlation-Id: 62f3e4ac-68d9-454b-3598-08daab22acff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gQ++EvN2k0lvx9jzRUosKc4l6tFUuZm4NYa32U903G6xd5agCMnWN+AvUZNeLM/dBjgtDOboZs6+JT2If/00sy9uM5fKOSQnFkfuOfuKzf0hINWtmaBQiyiCfel2uYmrEyiVaYQ7haIwjeRlwO7xvkcTi4WvG0IBc7SIkAl7cFDFBK2IFZWB/gt5/V1AUX8ZCUndcP851JJEif4sn99IRH6n+Ef7IX8JTbVYCuHPMm3JnAojpOe8Y0tp9FrzNNZpiqpps9MKEVlqfNvuVyyJuXP6PZxrc+1nflyMeKNoe8wYs+mPdLi6Vs9vci79pQcLQvRGh6XyUubwDTQE+YGOSh131flxVrpix6068FnSphXIe5TIKcHU1wIRFW5HNvuvVqWb/Huye4VXbuaBnXF7z87SBWizOhQ3pzczxWsqzuTfBaFvsxIcFJ3j0Jyz9H1qHqF2xCNIOZIYiZZd7gBL3pHxVpgmOZ2co/A1p+wrrQnfxlfHxn55CpA/dPD4o4Ttv4RCQK1YBG6IJhSDfZuQ44dYu5sxj8jtMYLsSVcC6YNtptULbnUvFzHJpKp8LAeGEw1F6aY8DR+vUQXSGFLHQKFDF6bJTjPK8qJwzMm8bmP3hKTvy865oS07CR4s8gM9qnqnC49qaoA22YazDdqCJz4cSfH9e8T7Tus5h6R4z7T+97UTlxWTqGZEG5Q25g+q0uAN8G2z41rJVtgjHe6uqdFRcrYhAhUAkmOqi6EuzLlESKsSDpSigLtZZDVqg8isGTr5xX521SUfkGPOdQO3G5IQrWM6KzZ7Mj8o79C8nt/C6/6tXQ2iGK593UHhKG+z 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)(396003)(346002)(136003)(39860400002)(376002)(451199015)(46966006)(36840700001)(40470700004)(5660300002)(8936002)(86362001)(2906002)(41300700001)(44832011)(15650500001)(47076005)(1076003)(16526019)(336012)(82740400003)(186003)(70206006)(6916009)(82310400005)(81166007)(8676002)(40460700003)(70586007)(316002)(40480700001)(4326008)(426003)(26005)(83380400001)(356005)(6666004)(478600001)(36860700001)(36756003)(2616005)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2022 00:51:04.5522 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 62f3e4ac-68d9-454b-3598-08daab22acff 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: BN8NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6406 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. 11, 2022, 12:49 a.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 Andrew Boyer (35): 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 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 | 4 +- doc/guides/nics/features/ionic.ini | 3 + doc/guides/nics/ionic.rst | 28 +- doc/guides/rel_notes/release_22_11.rst | 13 +- drivers/net/ionic/ionic.h | 27 +- 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, 2155 insertions(+), 991 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