From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D2AEEA0548 for ; Sun, 28 Nov 2021 16:03:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB16E40FDF; Sun, 28 Nov 2021 16:03:16 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2054.outbound.protection.outlook.com [40.107.92.54]) by mails.dpdk.org (Postfix) with ESMTP id 583FA4068A for ; Sun, 28 Nov 2021 16:03:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nIiNWFe8NbAiFU7irrz5KqUMhiiPwr+IeN8HwbJJ2YQE+ykV/0G3n29HJWmng4XlRDqawqv6GnL+x9fJXPTnNpE9L9K9ZXLmIK0x9KqNcqPQZc/KfSGipleBlzvIgp6loGz+VlG6hauUkULnE2ow1YRNPpC2qG2oKVK1fs5eqF+UUqHFOjmMJiVmhcrw9Siu5QKQ+wFBrFs3j1jt/Ls9iwr21aeVR36Qb3wSteQx9Tg1TL1EEY9SzEimV2RAFCbB/9BFkzfH/5QOvd8MKfVu7TOwyOnijfiNfi5VNgz7mk4+BxN+fwUxcfzMv1nUkhmI/kbpuggE9c8T4M8X9z0n8Q== 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=IsP/mFrzD5PfIpY73Fpz3w1oQPsUBMFOsq9dT1tjGl0=; b=ZV4wSTcOO26G1cD4Al3exu023g+BEF5k3cuHakr1l+O2wLALiymvp59hjI3jpmoHEo5aCJJGnsuUml0OOMZJy0a/dWFfOhRNOUHBoZ82WDvqz4ciZ9s7ybgip9BsW8mhBnTXI5Xowl2s7jzLxOk6Crdml1xza3FUclyYPnddwu4hQG3UgMtUwPNdjgTyMOetuk9tq278QxJkUhiqY3ToiWNxw3iaN/WgV7qAQiA5DALjohI2kmqulBsBf6mRoJbr/ijvFprnP5zVX5Ik1VLz2m3tZyMkYKXXNC+VNMLI3Z5ih1Bkz0kEjZkjVl0rO4hxcOq3AwQvjHSYod3MNcQTLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IsP/mFrzD5PfIpY73Fpz3w1oQPsUBMFOsq9dT1tjGl0=; b=aRix9/MIBW7mbCzoTUKom4RQCBlDDqpYjxtjU1hIKWKKJTb4OjCxQvo7f0TrrRXvKHcn3zpuvwB3Wk7o3EO6nn1O1AekP9E9Z56sG3TKSshjs0H02P5EnIggkQbGDRCYI1ZZXxp4yYG1vIfvs0WfC5pnccgHKvCFMTY0f8dKEJ+3OLwciyfODrNfCcGFQgCUY6uWZCldxZRCvSOKv6X4dHtaLz+bKbr7f8qZkW4KH5f7XO88nPp2vlPo8T4gCKbo8/My8x4hwFbKZRmU1XBScmEtkbb1IVnP8/8pjqjC6VIdjgo1RwV0i+4sDy6nZQtC9tQgI7Bl7wNrCWe/uDObXA== Received: from BN6PR19CA0063.namprd19.prod.outlook.com (2603:10b6:404:e3::25) by BYAPR12MB2693.namprd12.prod.outlook.com (2603:10b6:a03:6a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22; Sun, 28 Nov 2021 15:03:12 +0000 Received: from BN8NAM11FT041.eop-nam11.prod.protection.outlook.com (2603:10b6:404:e3:cafe::7d) by BN6PR19CA0063.outlook.office365.com (2603:10b6:404:e3::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 15:03:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT041.mail.protection.outlook.com (10.13.177.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 15:03:11 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 15:03:07 +0000 From: Xueming Li To: Sean Morrissey CC: Luca Boccassi , Conor Fogarty , John McNamara , Conor Walsh , Ferruh Yigit , dpdk stable Subject: patch 'fix PMD wording' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:54:19 +0800 Message-ID: <20211128145423.3974892-76-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2bd3553c-661c-43ff-ea98-08d9b2803244 X-MS-TrafficTypeDiagnostic: BYAPR12MB2693: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fglAtK6r9kmSXPBn3ebqvro6eD7hQ8NeVxf+DEi3u/SGkE7e2m0c1NBgq/kUdLfTCq4yW9y241yWn3/HRCVpRNZ2plQtFv35Mn8YqWk1SM37gS3wr3h2oLeeXpTdgT0Mz8uvZeYMgALe5CiQPFhwXiHF5CkY+B4ulTvXJDMPHCFN5+wRXj7wSbSTkuI/rHBu8dsLeQ5IiiJH47jBLce1jEnzyTj9W+YJaeuKtdGECXxkPTV4tqagAGbtwpNaQEEBPrYD2pijwBXVeiAlYzL2FqN06gwy/Dnin2Alr+6C1HCyfBVGm8huImEX4R8TuCb1wSAANKJdl0FsPiqICdXirjzPS7X7+J6l151OWsftCPXiQ4df5WLNP0EUwqhlwVun9umCzTL0VLdGXpuXaEXLvwRUKS4t0oic0b1lIVy/pAaywqxaH1yG2l7NP9C/Fx5W/of3V6naEmel7iDLqeZo5OGXbiE8IpGhk/lq50S6L7c8wO7/cBJOSx+p0AjVVwDUKwlskrGrHBnp0pWakbm8shSMzkFB4Pw1jbUfJ9nmLc7XBsG6eC+Q+USeKUjF3AyZTS57nOtIvjCbS+998Din9YKRoO7raU4cYHKd0zEbzfu0BFOHaA3zz4ep5FqFUJC0dBRN7bfy+vB9lR75VOQMZ0/EWzEq8AkFsLi0UDnI+ctgo/D9wRkBLcpogF7iMOI/A4rbdUPQGh0B4i8CAF06Ch9NU1Azc1GcRNSoKi6KpXMBJL6dMtZCWnZzEKpbwv2Gch8CMaGlcqA6Tqq+X5Vdr9bU0oosQuU3eP5XOhyJKuH2ki5E84lNJBkSWGm4RA+Jyjh7J7qSlu03NnGl8qNnFQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(47076005)(7636003)(1076003)(356005)(6286002)(7696005)(966005)(2906002)(8936002)(26005)(36756003)(508600001)(54906003)(83380400001)(316002)(336012)(30864003)(82310400004)(426003)(40140700001)(55016003)(4326008)(6666004)(53546011)(16526019)(2616005)(8676002)(36860700001)(70206006)(86362001)(4001150100001)(5660300002)(186003)(70586007)(6916009)(579004)(559001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 15:03:11.6682 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2bd3553c-661c-43ff-ea98-08d9b2803244 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT041.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2693 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/30/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/f198b59e4165974716bf386fd87d577421bdd39f Thanks. Xueming Li --- >From f198b59e4165974716bf386fd87d577421bdd39f Mon Sep 17 00:00:00 2001 From: Sean Morrissey Date: Mon, 22 Nov 2021 10:50:44 +0000 Subject: [PATCH] fix PMD wording Cc: Xueming Li [ upstream commit f8dbaebbf1c9efcbb2e2354b341ed62175466a57 ] Removing the use of driver following PMD as its unnecessary. Signed-off-by: Sean Morrissey Signed-off-by: Conor Fogarty Acked-by: John McNamara Reviewed-by: Conor Walsh Reviewed-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 4 +-- doc/guides/bbdevs/turbo_sw.rst | 2 +- doc/guides/cryptodevs/virtio.rst | 2 +- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- doc/guides/nics/af_packet.rst | 2 +- doc/guides/nics/af_xdp.rst | 2 +- doc/guides/nics/avp.rst | 4 +-- doc/guides/nics/fm10k.rst | 4 +-- doc/guides/nics/intel_vf.rst | 2 +- doc/guides/nics/netvsc.rst | 2 +- doc/guides/nics/nfp.rst | 2 +- doc/guides/nics/thunderx.rst | 2 +- doc/guides/nics/virtio.rst | 4 +-- .../prog_guide/writing_efficient_code.rst | 4 +-- doc/guides/rel_notes/known_issues.rst | 2 +- doc/guides/rel_notes/release_16_04.rst | 2 +- doc/guides/rel_notes/release_19_05.rst | 6 ++-- doc/guides/rel_notes/release_19_11.rst | 2 +- doc/guides/rel_notes/release_20_11.rst | 4 +-- doc/guides/rel_notes/release_2_2.rst | 4 +-- doc/guides/sample_app_ug/bbdev_app.rst | 2 +- .../sample_app_ug/l3_forward_access_ctrl.rst | 2 +- doc/guides/tools/testeventdev.rst | 2 +- drivers/common/sfc_efx/efsys.h | 2 +- drivers/compress/qat/qat_comp_pmd.h | 2 +- drivers/crypto/qat/qat_asym_pmd.h | 2 +- drivers/crypto/qat/qat_sym_pmd.h | 2 +- drivers/net/fm10k/fm10k_ethdev.c | 2 +- drivers/net/hinic/base/hinic_pmd_cmdq.h | 2 +- drivers/net/hns3/hns3_ethdev.c | 6 ++-- drivers/net/hns3/hns3_ethdev.h | 8 +++--- drivers/net/hns3/hns3_ethdev_vf.c | 28 +++++++++---------- drivers/net/hns3/hns3_rss.c | 4 +-- drivers/net/hns3/hns3_rxtx.c | 8 +++--- drivers/net/hns3/hns3_rxtx.h | 4 +-- drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/nfp/nfp_net.c | 2 +- drivers/net/nfp/nfp_net_pmd.h | 2 +- drivers/raw/ifpga/base/README | 2 +- lib/librte_bbdev/rte_bbdev.h | 12 ++++---- lib/librte_compressdev/rte_compressdev_pmd.h | 2 +- lib/librte_cryptodev/rte_cryptodev_pmd.h | 2 +- lib/librte_eal/include/rte_dev.h | 2 +- lib/librte_ethdev/rte_ethdev.h | 18 ++++++------ 44 files changed, 89 insertions(+), 89 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 22283bc355..ee9335e3d3 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -2607,7 +2607,7 @@ cmd_config_rxtx_queue_parsed(void *parsed_result, ret = rte_eth_dev_tx_queue_stop(res->portid, res->qid); if (ret == -ENOTSUP) - printf("Function not supported in PMD driver\n"); + fprintf(stderr, "Function not supported in PMD\n"); } cmdline_parse_token_string_t cmd_config_rxtx_queue_port = @@ -14035,7 +14035,7 @@ no_print_return: free(proto); #endif if (ret == -ENOTSUP) - printf("Function not supported in PMD driver\n"); + fprintf(stderr, "Function not supported in PMD\n"); close_file(pkg); } diff --git a/doc/guides/bbdevs/turbo_sw.rst b/doc/guides/bbdevs/turbo_sw.rst index 43c5129fd7..1e23e37027 100644 --- a/doc/guides/bbdevs/turbo_sw.rst +++ b/doc/guides/bbdevs/turbo_sw.rst @@ -149,7 +149,7 @@ Example: * For AVX512 machines with SDK libraries installed then both 4G and 5G can be enabled for full real time FEC capability. For AVX2 machines it is possible to only enable the 4G libraries and the PMD capabilities will be limited to 4G FEC. - If no library is present then the PMD driver will still build but its capabilities will be limited accordingly. + If no library is present then the PMD will still build but its capabilities will be limited accordingly. To use the PMD in an application, user must: diff --git a/doc/guides/cryptodevs/virtio.rst b/doc/guides/cryptodevs/virtio.rst index 8b96446ff2..ce4d43519a 100644 --- a/doc/guides/cryptodevs/virtio.rst +++ b/doc/guides/cryptodevs/virtio.rst @@ -73,7 +73,7 @@ number of the virtio-crypto device: echo -n 0000:00:04.0 > /sys/bus/pci/drivers/virtio-pci/unbind echo "1af4 1054" > /sys/bus/pci/drivers/uio_pci_generic/new_id -Finally the front-end virtio crypto PMD driver can be installed. +Finally the front-end virtio crypto PMD can be installed. Tests ----- diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 396fcf08d7..7a12795c70 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -66,7 +66,7 @@ The EAL options are as follows: * ``-d``: Add a driver or driver directory to be loaded. - The application should use this option to load the pmd drivers + The application should use this option to load the PMDs that are built as shared libraries. * ``-m MB``: diff --git a/doc/guides/nics/af_packet.rst b/doc/guides/nics/af_packet.rst index efd6f1ca73..cf098fcaa4 100644 --- a/doc/guides/nics/af_packet.rst +++ b/doc/guides/nics/af_packet.rst @@ -5,7 +5,7 @@ AF_PACKET Poll Mode Driver ========================== The AF_PACKET socket in Linux allows an application to receive and send raw -packets. This Linux-specific PMD driver binds to an AF_PACKET socket and allows +packets. This Linux-specific PMD binds to an AF_PACKET socket and allows a DPDK application to send and receive raw packets through the Kernel. In order to improve Rx and Tx performance this implementation makes use of diff --git a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst index 5ed24374f8..7b2989ab84 100644 --- a/doc/guides/nics/af_xdp.rst +++ b/doc/guides/nics/af_xdp.rst @@ -12,7 +12,7 @@ For the full details behind AF_XDP socket, you can refer to `AF_XDP documentation in the Kernel `_. -This Linux-specific PMD driver creates the AF_XDP socket and binds it to a +This Linux-specific PMD creates the AF_XDP socket and binds it to a specific netdev queue, it allows a DPDK application to send and receive raw packets through the socket which would bypass the kernel network stack. Current implementation only supports single queue, multi-queues feature will diff --git a/doc/guides/nics/avp.rst b/doc/guides/nics/avp.rst index 1a194fc23c..a749f2a0f6 100644 --- a/doc/guides/nics/avp.rst +++ b/doc/guides/nics/avp.rst @@ -35,7 +35,7 @@ to another with minimal packet loss. Features and Limitations of the AVP PMD --------------------------------------- -The AVP PMD driver provides the following functionality. +The AVP PMD provides the following functionality. * Receive and transmit of both simple and chained mbuf packets, @@ -74,7 +74,7 @@ Launching a VM with an AVP type network attachment The following example will launch a VM with three network attachments. The first attachment will have a default vif-model of "virtio". The next two network attachments will have a vif-model of "avp" and may be used with a DPDK -application which is built to include the AVP PMD driver. +application which is built to include the AVP PMD. .. code-block:: console diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst index 7b8ef0e782..9057fd8c9e 100644 --- a/doc/guides/nics/fm10k.rst +++ b/doc/guides/nics/fm10k.rst @@ -114,9 +114,9 @@ Switch manager ~~~~~~~~~~~~~~ The Intel FM10000 family of NICs integrate a hardware switch and multiple host -interfaces. The FM10000 PMD driver only manages host interfaces. For the +interfaces. The FM10000 PMD only manages host interfaces. For the switch component another switch driver has to be loaded prior to the -FM10000 PMD driver. The switch driver can be acquired from Intel support. +FM10000 PMD. The switch driver can be acquired from Intel support. Only Testpoint is validated with DPDK, the latest version that has been validated with DPDK is 4.1.6. diff --git a/doc/guides/nics/intel_vf.rst b/doc/guides/nics/intel_vf.rst index 529ff4a955..079ff7e4d7 100644 --- a/doc/guides/nics/intel_vf.rst +++ b/doc/guides/nics/intel_vf.rst @@ -570,7 +570,7 @@ Fast Host-based Packet Processing Software Defined Network (SDN) trends are demanding fast host-based packet handling. In a virtualization environment, -the DPDK VF PMD driver performs the same throughput result as a non-VT native environment. +the DPDK VF PMD performs the same throughput result as a non-VT native environment. With such host instance fast packet processing, lots of services such as filtering, QoS, DPI can be offloaded on the host fast path. diff --git a/doc/guides/nics/netvsc.rst b/doc/guides/nics/netvsc.rst index c0e218c743..77efe1dc91 100644 --- a/doc/guides/nics/netvsc.rst +++ b/doc/guides/nics/netvsc.rst @@ -14,7 +14,7 @@ checksum and segmentation offloads. Features and Limitations of Hyper-V PMD --------------------------------------- -In this release, the hyper PMD driver provides the basic functionality of packet reception and transmission. +In this release, the hyper PMD provides the basic functionality of packet reception and transmission. * It supports merge-able buffers per packet when receiving packets and scattered buffer per packet when transmitting packets. The packet size supported is from 64 to 65536. diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst index bf8be723b0..30cdc69202 100644 --- a/doc/guides/nics/nfp.rst +++ b/doc/guides/nics/nfp.rst @@ -14,7 +14,7 @@ This document explains how to use DPDK with the Netronome Poll Mode Driver (PMD) supporting Netronome's Network Flow Processor 6xxx (NFP-6xxx) and Netronome's Flow Processor 4xxx (NFP-4xxx). -NFP is a SRIOV capable device and the PMD driver supports the physical +NFP is a SRIOV capable device and the PMD supports the physical function (PF) and the virtual functions (VFs). Dependencies diff --git a/doc/guides/nics/thunderx.rst b/doc/guides/nics/thunderx.rst index 12d43ce93e..f233504ba3 100644 --- a/doc/guides/nics/thunderx.rst +++ b/doc/guides/nics/thunderx.rst @@ -199,7 +199,7 @@ Each port consists of a primary VF and n secondary VF(s). Each VF provides 8 Tx/ When a given port is configured to use more than 8 queues, it requires one (or more) secondary VF. Each secondary VF adds 8 additional queues to the queue set. -During PMD driver initialization, the primary VF's are enumerated by checking the +During PMD initialization, the primary VF's are enumerated by checking the specific flag (see sqs message in DPDK boot log - sqs indicates secondary queue set). They are at the beginning of VF list (the remain ones are secondary VF's). diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index 1f0aba3207..f96df3fb62 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -17,7 +17,7 @@ With this enhancement, virtio could achieve quite promising performance. For basic qemu-KVM installation and other Intel EM poll mode driver in guest VM, please refer to Chapter "Driver for VM Emulated Devices". -In this chapter, we will demonstrate usage of virtio PMD driver with two backends, +In this chapter, we will demonstrate usage of virtio PMD with two backends, standard qemu vhost back end and vhost kni back end. Virtio Implementation in DPDK @@ -40,7 +40,7 @@ end if necessary. Features and Limitations of virtio PMD -------------------------------------- -In this release, the virtio PMD driver provides the basic functionality of packet reception and transmission. +In this release, the virtio PMD provides the basic functionality of packet reception and transmission. * It supports merge-able buffers per packet when receiving packets and scattered buffer per packet when transmitting packets. The packet size supported is from 64 to 1518. diff --git a/doc/guides/prog_guide/writing_efficient_code.rst b/doc/guides/prog_guide/writing_efficient_code.rst index a61e8320ae..e6c26efdd3 100644 --- a/doc/guides/prog_guide/writing_efficient_code.rst +++ b/doc/guides/prog_guide/writing_efficient_code.rst @@ -119,8 +119,8 @@ The code algorithm that dequeues messages may be something similar to the follow my_process_bulk(obj_table, count); } -PMD Driver ----------- +PMD +--- The DPDK Poll Mode Driver (PMD) is also able to work in bulk/burst mode, allowing the factorization of some code for each call in the send or receive function. diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst index e8f9fe6023..65c196de6c 100644 --- a/doc/guides/rel_notes/known_issues.rst +++ b/doc/guides/rel_notes/known_issues.rst @@ -250,7 +250,7 @@ PMD does not work with --no-huge EAL command line parameter **Description**: Currently, the DPDK does not store any information about memory allocated by ``malloc()` (for example, NUMA node, - physical address), hence PMD drivers do not work when the ``--no-huge`` command line parameter is supplied to EAL. + physical address), hence PMDs do not work when the ``--no-huge`` command line parameter is supplied to EAL. **Implication**: Sending and receiving data with PMD will not work. diff --git a/doc/guides/rel_notes/release_16_04.rst b/doc/guides/rel_notes/release_16_04.rst index e9f1e6ff6c..7e7fcd0ac4 100644 --- a/doc/guides/rel_notes/release_16_04.rst +++ b/doc/guides/rel_notes/release_16_04.rst @@ -57,7 +57,7 @@ New Features * **Enabled Virtio 1.0 support.** - Enabled Virtio 1.0 support for Virtio pmd driver. + Enabled Virtio 1.0 support for Virtio PMD. * **Supported Virtio for ARM.** diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19_05.rst index b4c6972e35..52829bdb08 100644 --- a/doc/guides/rel_notes/release_19_05.rst +++ b/doc/guides/rel_notes/release_19_05.rst @@ -93,13 +93,13 @@ New Features Updated the KNI kernel module to set the ``max_mtu`` according to the given initial MTU size. Without it, the maximum MTU was 1500. - Updated the KNI PMD driver to set the ``mbuf_size`` and MTU based on + Updated the KNI PMD to set the ``mbuf_size`` and MTU based on the given mb-pool. This provide the ability to pass jumbo frames if the mb-pool contains a suitable buffer size. * **Added the AF_XDP PMD.** - Added a Linux-specific PMD driver for AF_XDP. This PMD can create an AF_XDP socket + Added a Linux-specific PMD for AF_XDP. This PMD can create an AF_XDP socket and bind it to a specific netdev queue. It allows a DPDK application to send and receive raw packets through the socket which would bypass the kernel network stack to achieve high performance packet processing. @@ -311,7 +311,7 @@ ABI Changes The ``rte_eth_dev_info`` structure has had two extra fields added: ``min_mtu`` and ``max_mtu``. Each of these are of type ``uint16_t``. - The values of these fields can be set specifically by the PMD drivers as + The values of these fields can be set specifically by the PMDs as supported values can vary from device to device. * cryptodev: in 18.08 a new structure ``rte_crypto_asym_op`` was introduced and diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst index 0261d28431..e493628614 100644 --- a/doc/guides/rel_notes/release_19_11.rst +++ b/doc/guides/rel_notes/release_19_11.rst @@ -236,7 +236,7 @@ New Features * **Added Marvell OCTEON TX2 crypto PMD.** - Added a new PMD driver for hardware crypto offload block on ``OCTEON TX2`` + Added a new PMD for hardware crypto offload block on ``OCTEON TX2`` SoC. See :doc:`../cryptodevs/octeontx2` for more details diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index b2f76bccae..0234a9001f 100644 --- a/doc/guides/rel_notes/release_20_11.rst +++ b/doc/guides/rel_notes/release_20_11.rst @@ -238,7 +238,7 @@ New Features * **Added Wangxun txgbe PMD.** - Added a new PMD driver for Wangxun 10 Gigabit Ethernet NICs. + Added a new PMD for Wangxun 10 Gigabit Ethernet NICs. See the :doc:`../nics/txgbe` for more details. @@ -334,7 +334,7 @@ New Features * **Added Marvell OCTEON TX2 regex PMD.** - Added a new PMD driver for the hardware regex offload block for OCTEON TX2 SoC. + Added a new PMD for the hardware regex offload block for OCTEON TX2 SoC. See the :doc:`../regexdevs/octeontx2` for more details. diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 8273473ff4..029b758e90 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -10,8 +10,8 @@ New Features * **Introduce ARMv7 and ARMv8 architectures.** * It is now possible to build DPDK for the ARMv7 and ARMv8 platforms. - * ARMv7 can be tested with virtual PMD drivers. - * ARMv8 can be tested with virtual and physical PMD drivers. + * ARMv7 can be tested with virtual PMDs. + * ARMv8 can be tested with virtual and physical PMDs. * **Enabled freeing of ring.** diff --git a/doc/guides/sample_app_ug/bbdev_app.rst b/doc/guides/sample_app_ug/bbdev_app.rst index 45e69e36e2..7f02f0ed90 100644 --- a/doc/guides/sample_app_ug/bbdev_app.rst +++ b/doc/guides/sample_app_ug/bbdev_app.rst @@ -31,7 +31,7 @@ Limitations Compiling the Application ------------------------- -DPDK needs to be built with ``baseband_turbo_sw`` PMD driver enabled along +DPDK needs to be built with ``baseband_turbo_sw`` PMD enabled along with ``FLEXRAN SDK`` Libraries. Refer to *SW Turbo Poll Mode Driver* documentation for more details on this. diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst index 2cf6e4556f..b252efd7a7 100644 --- a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst +++ b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst @@ -220,7 +220,7 @@ Once the application starts, it transitions through three phases: * **Final Phase** - Perform the following tasks: - Calls the EAL, PMD driver and ACL library to free resource, then quits. + Calls the EAL, PMD and ACL library to free resource, then quits. Compiling the Application ------------------------- diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index ad1788a3d8..4317f3170a 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -207,7 +207,7 @@ to the ordered queue. The worker receives the events from ordered queue and forwards to atomic queue. Since the events from an ordered queue can be processed in parallel on the different workers, the ingress order of events might have changed on the downstream atomic queue enqueue. On enqueue to the -atomic queue, the eventdev PMD driver reorders the event to the original +atomic queue, the eventdev PMD reorders the event to the original ingress order(i.e producer ingress order). When the event is dequeued from the atomic queue by the worker, this test diff --git a/drivers/common/sfc_efx/efsys.h b/drivers/common/sfc_efx/efsys.h index c2ff3fe9bc..8e22507080 100644 --- a/drivers/common/sfc_efx/efsys.h +++ b/drivers/common/sfc_efx/efsys.h @@ -607,7 +607,7 @@ typedef struct efsys_bar_s { /* DMA SYNC */ /* - * DPDK does not provide any DMA syncing API, and no PMD drivers + * DPDK does not provide any DMA syncing API, and no PMDs * have any traces of explicit DMA syncing. * DMA mapping is assumed to be coherent. */ diff --git a/drivers/compress/qat/qat_comp_pmd.h b/drivers/compress/qat/qat_comp_pmd.h index 252b4b24e3..ed7e917e62 100644 --- a/drivers/compress/qat/qat_comp_pmd.h +++ b/drivers/compress/qat/qat_comp_pmd.h @@ -12,7 +12,7 @@ #include "qat_device.h" -/**< Intel(R) QAT Compression PMD driver name */ +/**< Intel(R) QAT Compression PMD name */ #define COMPRESSDEV_NAME_QAT_PMD compress_qat /** private data structure for a QAT compression device. diff --git a/drivers/crypto/qat/qat_asym_pmd.h b/drivers/crypto/qat/qat_asym_pmd.h index 3b5abddec8..f6770bc4fb 100644 --- a/drivers/crypto/qat/qat_asym_pmd.h +++ b/drivers/crypto/qat/qat_asym_pmd.h @@ -9,7 +9,7 @@ #include #include "qat_device.h" -/** Intel(R) QAT Asymmetric Crypto PMD driver name */ +/** Intel(R) QAT Asymmetric Crypto PMD name */ #define CRYPTODEV_NAME_QAT_ASYM_PMD crypto_qat_asym diff --git a/drivers/crypto/qat/qat_sym_pmd.h b/drivers/crypto/qat/qat_sym_pmd.h index e0992cbe27..c449924194 100644 --- a/drivers/crypto/qat/qat_sym_pmd.h +++ b/drivers/crypto/qat/qat_sym_pmd.h @@ -16,7 +16,7 @@ #include "qat_sym_capabilities.h" #include "qat_device.h" -/** Intel(R) QAT Symmetric Crypto PMD driver name */ +/** Intel(R) QAT Symmetric Crypto PMD name */ #define CRYPTODEV_NAME_QAT_SYM_PMD crypto_qat /* Internal capabilities */ diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index c187088a33..6057f34525 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b/drivers/net/fm10k/fm10k_ethdev.c @@ -254,7 +254,7 @@ rx_queue_clean(struct fm10k_rx_queue *q) for (i = 0; i < q->nb_fake_desc; ++i) q->hw_ring[q->nb_desc + i] = zero; - /* vPMD driver has a different way of releasing mbufs. */ + /* vPMD has a different way of releasing mbufs. */ if (q->rx_using_sse) { fm10k_rx_queue_release_mbufs_vec(q); return; diff --git a/drivers/net/hinic/base/hinic_pmd_cmdq.h b/drivers/net/hinic/base/hinic_pmd_cmdq.h index 0d5e380123..58a1fbda71 100644 --- a/drivers/net/hinic/base/hinic_pmd_cmdq.h +++ b/drivers/net/hinic/base/hinic_pmd_cmdq.h @@ -9,7 +9,7 @@ #define HINIC_SCMD_DATA_LEN 16 -/* pmd driver uses 64, kernel l2nic use 4096 */ +/* PMD uses 64, kernel l2nic use 4096 */ #define HINIC_CMDQ_DEPTH 64 #define HINIC_CMDQ_BUF_SIZE 2048U diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index c97e38e279..cf9302ed00 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -984,7 +984,7 @@ hns3_vlan_pvid_set(struct rte_eth_dev *dev, uint16_t pvid, int on) return ret; /* * Only in HNS3_SW_SHIFT_AND_MODE the PVID related operation in Tx/Rx - * need be processed by PMD driver. + * need be processed by PMD. */ if (pvid_en_state_change && hw->vlan_mode == HNS3_SW_SHIFT_AND_DISCARD_MODE) @@ -2930,7 +2930,7 @@ hns3_parse_cfg(struct hns3_cfg *cfg, struct hns3_cmd_desc *desc) * Field ext_rss_size_max obtained from firmware will be more flexible * for future changes and expansions, which is an exponent of 2, instead * of reading out directly. If this field is not zero, hns3 PF PMD - * driver uses it as rss_size_max under one TC. Device, whose revision + * uses it as rss_size_max under one TC. Device, whose revision * id is greater than or equal to PCI_REVISION_ID_HIP09_A, obtains the * maximum number of queues supported under a TC through this field. */ @@ -6090,7 +6090,7 @@ hns3_fec_set(struct rte_eth_dev *dev, uint32_t mode) if (ret < 0) return ret; - /* HNS3 PMD driver only support one bit set mode, e.g. 0x1, 0x4 */ + /* HNS3 PMD only support one bit set mode, e.g. 0x1, 0x4 */ if (!is_fec_mode_one_bit_set(mode)) { hns3_err(hw, "FEC mode(0x%x) not supported in HNS3 PMD, " "FEC mode should be only one bit set", mode); diff --git a/drivers/net/hns3/hns3_ethdev.h b/drivers/net/hns3/hns3_ethdev.h index 2bb449be9d..4334c1ee60 100644 --- a/drivers/net/hns3/hns3_ethdev.h +++ b/drivers/net/hns3/hns3_ethdev.h @@ -401,8 +401,8 @@ struct hns3_queue_intr { * enable Rx interrupt. * * - HNS3_INTR_MAPPING_VEC_ALL - * PMD driver can map/unmmap all interrupt vectors with queues When - * Rx interrupt in enabled. + * PMD can map/unmmap all interrupt vectors with queues when + * Rx interrupt is enabled. */ uint8_t mapping_mode; /* @@ -501,14 +501,14 @@ struct hns3_hw { * * - HNS3_SW_SHIFT_AND_DISCARD_MODE * For some versions of hardware network engine, because of the - * hardware limitation, PMD driver needs to detect the PVID status + * hardware limitation, PMD needs to detect the PVID status * to work with haredware to implement PVID-related functions. * For example, driver need discard the stripped PVID tag to ensure * the PVID will not report to mbuf and shift the inserted VLAN tag * to avoid port based VLAN covering it. * * - HNS3_HW_SHIT_AND_DISCARD_MODE - * PMD driver does not need to process PVID-related functions in + * PMD does not need to process PVID-related functions in * I/O process, Hardware will adjust the sequence between port based * VLAN tag and BD VLAN tag automatically and VLAN tag stripped by * PVID will be invisible to driver. And in this mode, hns3 is able diff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c index e4caa396ec..3428cefb2c 100644 --- a/drivers/net/hns3/hns3_ethdev_vf.c +++ b/drivers/net/hns3/hns3_ethdev_vf.c @@ -319,7 +319,7 @@ hns3vf_set_default_mac_addr(struct rte_eth_dev *dev, HNS3_TWO_ETHER_ADDR_LEN, true, NULL, 0); if (ret) { /* - * The hns3 VF PMD driver depends on the hns3 PF kernel ethdev + * The hns3 VF PMD depends on the hns3 PF kernel ethdev * driver. When user has configured a MAC address for VF device * by "ip link set ..." command based on the PF device, the hns3 * PF kernel ethdev driver does not allow VF driver to request @@ -573,9 +573,9 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, req = (struct hns3_mbx_vf_to_pf_cmd *)desc.data; /* - * The hns3 VF PMD driver depends on the hns3 PF kernel ethdev driver, + * The hns3 VF PMD depends on the hns3 PF kernel ethdev driver, * so there are some features for promiscuous/allmulticast mode in hns3 - * VF PMD driver as below: + * VF PMD as below: * 1. The promiscuous/allmulticast mode can be configured successfully * only based on the trusted VF device. If based on the non trusted * VF device, configuring promiscuous/allmulticast mode will fail. @@ -583,14 +583,14 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, * kernel ethdev driver on the host by the following command: * "ip link set vf turst on" * 2. After the promiscuous mode is configured successfully, hns3 VF PMD - * driver can receive the ingress and outgoing traffic. In the words, + * can receive the ingress and outgoing traffic. This includes * all the ingress packets, all the packets sent from the PF and * other VFs on the same physical port. * 3. Note: Because of the hardware constraints, By default vlan filter * is enabled and couldn't be turned off based on VF device, so vlan * filter is still effective even in promiscuous mode. If upper * applications don't call rte_eth_dev_vlan_filter API function to - * set vlan based on VF device, hns3 VF PMD driver will can't receive + * set vlan based on VF device, hns3 VF PMD will can't receive * the packets with vlan tag in promiscuoue mode. */ hns3_cmd_setup_basic_desc(&desc, HNS3_OPC_MBX_VF_TO_PF, false); @@ -902,9 +902,9 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) /* * The hns3 PF/VF devices on the same port share the hardware MTU * configuration. Currently, we send mailbox to inform hns3 PF kernel - * ethdev driver to finish hardware MTU configuration in hns3 VF PMD - * driver, there is no need to stop the port for hns3 VF device, and the - * MTU value issued by hns3 VF PMD driver must be less than or equal to + * ethdev driver to finish hardware MTU configuration in hns3 VF PMD, + * there is no need to stop the port for hns3 VF device, and the + * MTU value issued by hns3 VF PMD must be less than or equal to * PF's MTU. */ if (rte_atomic16_read(&hw->reset.resetting)) { @@ -914,8 +914,8 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) /* * when Rx of scattered packets is off, we have some possibility of - * using vector Rx process function or simple Rx functions in hns3 PMD - * driver. If the input MTU is increased and the maximum length of + * using vector Rx process function or simple Rx functions in hns3 PMD. + * If the input MTU is increased and the maximum length of * received packets is greater than the length of a buffer for Rx * packet, the hardware network engine needs to use multiple BDs and * buffers to store these packets. This will cause problems when still @@ -2474,7 +2474,7 @@ hns3vf_check_default_mac_change(struct hns3_hw *hw) * ethdev driver sets the MAC address for VF device after the * initialization of the related VF device, the PF driver will notify * VF driver to reset VF device to make the new MAC address effective - * immediately. The hns3 VF PMD driver should check whether the MAC + * immediately. The hns3 VF PMD should check whether the MAC * address has been changed by the PF kernel ethdev driver, if changed * VF driver should configure hardware using the new MAC address in the * recovering hardware configuration stage of the reset process. @@ -2814,12 +2814,12 @@ hns3vf_dev_init(struct rte_eth_dev *eth_dev) /* * The hns3 PF ethdev driver in kernel support setting VF MAC address * on the host by "ip link set ..." command. To avoid some incorrect - * scenes, for example, hns3 VF PMD driver fails to receive and send + * scenes, for example, hns3 VF PMD fails to receive and send * packets after user configure the MAC address by using the - * "ip link set ..." command, hns3 VF PMD driver keep the same MAC + * "ip link set ..." command, hns3 VF PMD keep the same MAC * address strategy as the hns3 kernel ethdev driver in the * initialization. If user configure a MAC address by the ip command - * for VF device, then hns3 VF PMD driver will start with it, otherwise + * for VF device, then hns3 VF PMD will start with it, otherwise * start with a random MAC address in the initialization. */ if (rte_is_zero_ether_addr((struct rte_ether_addr *)hw->mac.mac_addr)) diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c index 6726c19afe..3a11a78341 100644 --- a/drivers/net/hns3/hns3_rss.c +++ b/drivers/net/hns3/hns3_rss.c @@ -672,7 +672,7 @@ hns3_set_default_rss_args(struct hns3_hw *hw) } /* - * RSS initialization for hns3 pmd driver. + * RSS initialization for hns3 PMD. */ int hns3_config_rss(struct hns3_adapter *hns) @@ -744,7 +744,7 @@ rss_tuple_uninit: } /* - * RSS uninitialization for hns3 pmd driver. + * RSS uninitialization for hns3 PMD. */ void hns3_rss_uninit(struct hns3_adapter *hns) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 235197ce55..cea8017432 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -1885,8 +1885,8 @@ hns3_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, /* * For hns3 PF device, if the VLAN mode is HW_SHIFT_AND_DISCARD_MODE, * the pvid_sw_discard_en in the queue struct should not be changed, - * because PVID-related operations do not need to be processed by PMD - * driver. For hns3 VF device, whether it needs to process PVID depends + * because PVID-related operations do not need to be processed by PMD. + * For hns3 VF device, whether it needs to process PVID depends * on the configuration of PF kernel mode netdevice driver. And the * related PF configuration is delivered through the mailbox and finally * reflectd in port_base_vlan_cfg. @@ -2700,8 +2700,8 @@ hns3_tx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, /* * For hns3 PF device, if the VLAN mode is HW_SHIFT_AND_DISCARD_MODE, * the pvid_sw_shift_en in the queue struct should not be changed, - * because PVID-related operations do not need to be processed by PMD - * driver. For hns3 VF device, whether it needs to process PVID depends + * because PVID-related operations do not need to be processed by PMD. + * For hns3 VF device, whether it needs to process PVID depends * on the configuration of PF kernel mode netdev driver. And the * related PF configuration is delivered through the mailbox and finally * reflectd in port_base_vlan_cfg. diff --git a/drivers/net/hns3/hns3_rxtx.h b/drivers/net/hns3/hns3_rxtx.h index f425c9e8a3..9f398b507e 100644 --- a/drivers/net/hns3/hns3_rxtx.h +++ b/drivers/net/hns3/hns3_rxtx.h @@ -303,7 +303,7 @@ struct hns3_rx_queue { * should not be transitted to the upper-layer application. For hardware * network engine whose vlan mode is HNS3_HW_SHIFT_AND_DISCARD_MODE, * such as kunpeng 930, PVID will not be reported to the BDs. So, PMD - * driver does not need to perform PVID-related operation in Rx. At this + * does not need to perform PVID-related operation in Rx. At this * point, the pvid_sw_discard_en will be false. */ bool pvid_sw_discard_en; @@ -417,7 +417,7 @@ struct hns3_tx_queue { * PVID will overwrite the outer VLAN field of Tx BD. For the hardware * network engine whose vlan mode is HNS3_HW_SHIFT_AND_DISCARD_MODE, * such as kunpeng 930, if the PVID is set, the hardware will shift the - * VLAN field automatically. So, PMD driver does not need to do + * VLAN field automatically. So, PMD does not need to do * PVID-related operations in Tx. And pvid_sw_shift_en will be false at * this point. */ diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a195281795..ba4a4a9ddc 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1995,7 +1995,7 @@ i40e_dev_configure(struct rte_eth_dev *dev) goto err; /* VMDQ setup. - * General PMD driver call sequence are NIC init, configure, + * General PMD call sequence are NIC init, configure, * rx/tx_queue_setup and dev_start. In rx/tx_queue_setup() function, it * will try to lookup the VSI that specific queue belongs to if VMDQ * applicable. So, VMDQ setting has to be done before diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 8e27845ce6..deea3de910 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -912,7 +912,7 @@ nfp_net_close(struct rte_eth_dev *dev) (void *)dev); /* - * The ixgbe PMD driver disables the pcie master on the + * The ixgbe PMD disables the pcie master on the * device. The i40e does not... */ diff --git a/drivers/net/nfp/nfp_net_pmd.h b/drivers/net/nfp/nfp_net_pmd.h index 444c1b3773..ac6118d639 100644 --- a/drivers/net/nfp/nfp_net_pmd.h +++ b/drivers/net/nfp/nfp_net_pmd.h @@ -8,7 +8,7 @@ * * @file dpdk/pmd/nfp_net_pmd.h * - * Netronome NFP_NET PMD driver + * Netronome NFP_NET PMD */ #ifndef _NFP_NET_PMD_H_ diff --git a/drivers/raw/ifpga/base/README b/drivers/raw/ifpga/base/README index 6b2b171b01..55d92d590a 100644 --- a/drivers/raw/ifpga/base/README +++ b/drivers/raw/ifpga/base/README @@ -42,5 +42,5 @@ Some features added in this version: 3. Add altera SPI master driver and Intel MAX10 device driver. 4. Add Altera I2C master driver and AT24 eeprom driver. 5. Add Device Tree support to get the configuration from card. -6. Instruding and exposing APIs to DPDK PMD driver to access networking +6. Instruding and exposing APIs to DPDK PMD to access networking functionality. diff --git a/lib/librte_bbdev/rte_bbdev.h b/lib/librte_bbdev/rte_bbdev.h index 7017124414..7fbc75f572 100644 --- a/lib/librte_bbdev/rte_bbdev.h +++ b/lib/librte_bbdev/rte_bbdev.h @@ -174,7 +174,7 @@ rte_bbdev_queue_configure(uint16_t dev_id, uint16_t queue_id, * * @return * - 0 on success - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int @@ -220,7 +220,7 @@ rte_bbdev_close(uint16_t dev_id); * * @return * - 0 on success - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int @@ -236,7 +236,7 @@ rte_bbdev_queue_start(uint16_t dev_id, uint16_t queue_id); * * @return * - 0 on success - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int @@ -807,7 +807,7 @@ rte_bbdev_callback_unregister(uint16_t dev_id, enum rte_bbdev_event_type event, * * @return * - 0 on success - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int @@ -824,7 +824,7 @@ rte_bbdev_queue_intr_enable(uint16_t dev_id, uint16_t queue_id); * * @return * - 0 on success - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int @@ -852,7 +852,7 @@ rte_bbdev_queue_intr_disable(uint16_t dev_id, uint16_t queue_id); * @return * - 0 on success * - ENOTSUP if interrupts are not supported by the identified device - * - negative value on failure - as returned from PMD driver + * - negative value on failure - as returned from PMD */ __rte_experimental int diff --git a/lib/librte_compressdev/rte_compressdev_pmd.h b/lib/librte_compressdev/rte_compressdev_pmd.h index b2a0e25001..f9a42d1f05 100644 --- a/lib/librte_compressdev/rte_compressdev_pmd.h +++ b/lib/librte_compressdev/rte_compressdev_pmd.h @@ -319,7 +319,7 @@ rte_compressdev_pmd_release_device(struct rte_compressdev *dev); * PMD assist function to parse initialisation arguments for comp driver * when creating a new comp PMD device instance. * - * PMD driver should set default values for that PMD before calling function, + * PMD should set default values for that PMD before calling function, * these default values will be over-written with successfully parsed values * from args string. * diff --git a/lib/librte_cryptodev/rte_cryptodev_pmd.h b/lib/librte_cryptodev/rte_cryptodev_pmd.h index 96bea17c92..6c46acf7c2 100644 --- a/lib/librte_cryptodev/rte_cryptodev_pmd.h +++ b/lib/librte_cryptodev/rte_cryptodev_pmd.h @@ -435,7 +435,7 @@ rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev); * PMD assist function to parse initialisation arguments for crypto driver * when creating a new crypto PMD device instance. * - * PMD driver should set default values for that PMD before calling function, + * PMD should set default values for that PMD before calling function, * these default values will be over-written with successfully parsed values * from args string. * diff --git a/lib/librte_eal/include/rte_dev.h b/lib/librte_eal/include/rte_dev.h index 6dd72c11a1..ef3ce849be 100644 --- a/lib/librte_eal/include/rte_dev.h +++ b/lib/librte_eal/include/rte_dev.h @@ -8,7 +8,7 @@ /** * @file * - * RTE PMD Driver Registration Interface + * RTE PMD Registration Interface * * This file manages the list of device drivers. */ diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 57a2edf363..8856648d11 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -2321,7 +2321,7 @@ int rte_eth_tx_hairpin_queue_setup * - (-EINVAL) if bad parameter. * - (-ENODEV) if *port_id* invalid * - (-ENOTSUP) if hardware doesn't support. - * - Others detailed errors from PMD drivers. + * - Others detailed errors from PMDs. */ __rte_experimental int rte_eth_hairpin_get_peer_ports(uint16_t port_id, uint16_t *peer_ports, @@ -2347,7 +2347,7 @@ int rte_eth_hairpin_get_peer_ports(uint16_t port_id, uint16_t *peer_ports, * - (-ENODEV) if Tx port ID is invalid. * - (-EBUSY) if device is not in started state. * - (-ENOTSUP) if hardware doesn't support. - * - Others detailed errors from PMD drivers. + * - Others detailed errors from PMDs. */ __rte_experimental int rte_eth_hairpin_bind(uint16_t tx_port, uint16_t rx_port); @@ -2374,7 +2374,7 @@ int rte_eth_hairpin_bind(uint16_t tx_port, uint16_t rx_port); * - (-ENODEV) if Tx port ID is invalid. * - (-EBUSY) if device is in stopped state. * - (-ENOTSUP) if hardware doesn't support. - * - Others detailed errors from PMD drivers. + * - Others detailed errors from PMDs. */ __rte_experimental int rte_eth_hairpin_unbind(uint16_t tx_port, uint16_t rx_port); @@ -2417,7 +2417,7 @@ int rte_eth_dev_is_valid_port(uint16_t port_id); * - -ENODEV: if *port_id* is invalid. * - -EINVAL: The queue_id out of range or belong to hairpin. * - -EIO: if device is removed. - * - -ENOTSUP: The function not supported in PMD driver. + * - -ENOTSUP: The function not supported in PMD. */ int rte_eth_dev_rx_queue_start(uint16_t port_id, uint16_t rx_queue_id); @@ -2435,7 +2435,7 @@ int rte_eth_dev_rx_queue_start(uint16_t port_id, uint16_t rx_queue_id); * - -ENODEV: if *port_id* is invalid. * - -EINVAL: The queue_id out of range or belong to hairpin. * - -EIO: if device is removed. - * - -ENOTSUP: The function not supported in PMD driver. + * - -ENOTSUP: The function not supported in PMD. */ int rte_eth_dev_rx_queue_stop(uint16_t port_id, uint16_t rx_queue_id); @@ -2454,7 +2454,7 @@ int rte_eth_dev_rx_queue_stop(uint16_t port_id, uint16_t rx_queue_id); * - -ENODEV: if *port_id* is invalid. * - -EINVAL: The queue_id out of range or belong to hairpin. * - -EIO: if device is removed. - * - -ENOTSUP: The function not supported in PMD driver. + * - -ENOTSUP: The function not supported in PMD. */ int rte_eth_dev_tx_queue_start(uint16_t port_id, uint16_t tx_queue_id); @@ -2472,7 +2472,7 @@ int rte_eth_dev_tx_queue_start(uint16_t port_id, uint16_t tx_queue_id); * - -ENODEV: if *port_id* is invalid. * - -EINVAL: The queue_id out of range or belong to hairpin. * - -EIO: if device is removed. - * - -ENOTSUP: The function not supported in PMD driver. + * - -ENOTSUP: The function not supported in PMD. */ int rte_eth_dev_tx_queue_stop(uint16_t port_id, uint16_t tx_queue_id); @@ -2674,7 +2674,7 @@ int rte_eth_allmulticast_get(uint16_t port_id); * Link information written back. * @return * - (0) if successful. - * - (-ENOTSUP) if the function is not supported in PMD driver. + * - (-ENOTSUP) if the function is not supported in PMD. * - (-ENODEV) if *port_id* invalid. */ int rte_eth_link_get(uint16_t port_id, struct rte_eth_link *link); @@ -2689,7 +2689,7 @@ int rte_eth_link_get(uint16_t port_id, struct rte_eth_link *link); * Link information written back. * @return * - (0) if successful. - * - (-ENOTSUP) if the function is not supported in PMD driver. + * - (-ENOTSUP) if the function is not supported in PMD. * - (-ENODEV) if *port_id* invalid. */ int rte_eth_link_get_nowait(uint16_t port_id, struct rte_eth_link *link); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:07.061129827 +0800 +++ 0075-fix-PMD-wording.patch 2021-11-28 22:41:03.553536756 +0800 @@ -1 +1 @@ -From f8dbaebbf1c9efcbb2e2354b341ed62175466a57 Mon Sep 17 00:00:00 2001 +From f198b59e4165974716bf386fd87d577421bdd39f Mon Sep 17 00:00:00 2001 @@ -4,0 +5 @@ +Cc: Xueming Li @@ -6 +7 @@ -Removing the use of driver following PMD as its unnecessary. +[ upstream commit f8dbaebbf1c9efcbb2e2354b341ed62175466a57 ] @@ -8 +9 @@ -Cc: stable@dpdk.org +Removing the use of driver following PMD as its unnecessary. @@ -23 +23,0 @@ - doc/guides/nics/enetfec.rst | 2 +- @@ -36,4 +35,0 @@ - doc/guides/rel_notes/release_21_02.rst | 2 +- - doc/guides/rel_notes/release_21_05.rst | 2 +- - doc/guides/rel_notes/release_21_08.rst | 2 +- - doc/guides/rel_notes/release_21_11.rst | 2 +- @@ -57,3 +53,2 @@ - drivers/net/nfp/nfp_common.h | 2 +- - drivers/net/nfp/nfp_ethdev.c | 2 +- - drivers/net/nfp/nfp_ethdev_vf.c | 2 +- + drivers/net/nfp/nfp_net.c | 2 +- + drivers/net/nfp/nfp_net_pmd.h | 2 +- @@ -61,8 +56,6 @@ - lib/bbdev/rte_bbdev.h | 12 ++++---- - lib/compressdev/rte_compressdev_pmd.h | 2 +- - lib/cryptodev/cryptodev_pmd.h | 2 +- - lib/dmadev/rte_dmadev_core.h | 2 +- - lib/eal/include/rte_dev.h | 2 +- - lib/eal/include/rte_devargs.h | 4 +-- - lib/ethdev/rte_ethdev.h | 18 ++++++------ - 52 files changed, 98 insertions(+), 98 deletions(-) + lib/librte_bbdev/rte_bbdev.h | 12 ++++---- + lib/librte_compressdev/rte_compressdev_pmd.h | 2 +- + lib/librte_cryptodev/rte_cryptodev_pmd.h | 2 +- + lib/librte_eal/include/rte_dev.h | 2 +- + lib/librte_ethdev/rte_ethdev.h | 18 ++++++------ + 44 files changed, 89 insertions(+), 89 deletions(-) @@ -71 +64 @@ -index c43c85c591..6e10afeedd 100644 +index 22283bc355..ee9335e3d3 100644 @@ -74 +67 @@ -@@ -2701,7 +2701,7 @@ cmd_config_rxtx_queue_parsed(void *parsed_result, +@@ -2607,7 +2607,7 @@ cmd_config_rxtx_queue_parsed(void *parsed_result, @@ -78 +71 @@ -- fprintf(stderr, "Function not supported in PMD driver\n"); +- printf("Function not supported in PMD driver\n"); @@ -83 +76 @@ -@@ -14700,7 +14700,7 @@ no_print_return: +@@ -14035,7 +14035,7 @@ no_print_return: @@ -87 +80 @@ -- fprintf(stderr, "Function not supported in PMD driver\n"); +- printf("Function not supported in PMD driver\n"); @@ -119 +112 @@ -index efd2dd23f1..4f99617233 100644 +index 396fcf08d7..7a12795c70 100644 @@ -132 +125 @@ -index 54feffdef4..8292369141 100644 +index efd6f1ca73..cf098fcaa4 100644 @@ -145 +138 @@ -index 8bf40b5f0f..c9d0e1ad6c 100644 +index 5ed24374f8..7b2989ab84 100644 @@ -179,13 +171,0 @@ -diff --git a/doc/guides/nics/enetfec.rst b/doc/guides/nics/enetfec.rst -index a64e72fdd6..381635e627 100644 ---- a/doc/guides/nics/enetfec.rst -+++ b/doc/guides/nics/enetfec.rst -@@ -65,7 +65,7 @@ The diagram below shows a system level overview of ENETFEC: - | PHY | - +-----+ - --ENETFEC Ethernet driver is traditional DPDK PMD driver running in userspace. -+ENETFEC Ethernet driver is traditional DPDK PMD running in userspace. - 'fec-uio' is the kernel driver. - The MAC and PHY are the hardware blocks. - ENETFEC PMD uses standard UIO interface to access kernel @@ -193 +173 @@ -index bba53f5a64..d6efac0917 100644 +index 7b8ef0e782..9057fd8c9e 100644 @@ -209 +189 @@ -index fd235e1463..648af39c22 100644 +index 529ff4a955..079ff7e4d7 100644 @@ -212 +192 @@ -@@ -571,7 +571,7 @@ Fast Host-based Packet Processing +@@ -570,7 +570,7 @@ Fast Host-based Packet Processing @@ -248 +228 @@ -index 98f23a2b2a..d96395dafa 100644 +index 12d43ce93e..f233504ba3 100644 @@ -261 +241 @@ -index 98e0d012b7..7c0ae2b3af 100644 +index 1f0aba3207..f96df3fb62 100644 @@ -298 +278 @@ -index beea877bad..187d9c942e 100644 +index e8f9fe6023..65c196de6c 100644 @@ -311 +291 @@ -index b7d07834e1..ac18e1dddb 100644 +index e9f1e6ff6c..7e7fcd0ac4 100644 @@ -314 +294 @@ -@@ -56,7 +56,7 @@ New Features +@@ -57,7 +57,7 @@ New Features @@ -324 +304 @@ -index 30f704e204..89ae425bdb 100644 +index b4c6972e35..52829bdb08 100644 @@ -327 +307 @@ -@@ -46,13 +46,13 @@ New Features +@@ -93,13 +93,13 @@ New Features @@ -343 +323 @@ -@@ -240,7 +240,7 @@ ABI Changes +@@ -311,7 +311,7 @@ ABI Changes @@ -353 +333 @@ -index b509a6dd28..302b3e5f37 100644 +index 0261d28431..e493628614 100644 @@ -356 +336 @@ -@@ -189,7 +189,7 @@ New Features +@@ -236,7 +236,7 @@ New Features @@ -366 +346 @@ -index 90cc3ed680..af7ce90ba3 100644 +index b2f76bccae..0234a9001f 100644 @@ -369 +349 @@ -@@ -192,7 +192,7 @@ New Features +@@ -238,7 +238,7 @@ New Features @@ -378 +358 @@ -@@ -288,7 +288,7 @@ New Features +@@ -334,7 +334,7 @@ New Features @@ -387,52 +366,0 @@ -diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst -index 9d5e17758f..5fbf5b3d43 100644 ---- a/doc/guides/rel_notes/release_21_02.rst -+++ b/doc/guides/rel_notes/release_21_02.rst -@@ -135,7 +135,7 @@ New Features - - * **Added mlx5 compress PMD.** - -- Added a new compress PMD driver for Bluefield 2 adapters. -+ Added a new compress PMD for Bluefield 2 adapters. - - See the :doc:`../compressdevs/mlx5` for more details. - -diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst -index 8adb225a4d..49044ed422 100644 ---- a/doc/guides/rel_notes/release_21_05.rst -+++ b/doc/guides/rel_notes/release_21_05.rst -@@ -78,7 +78,7 @@ New Features - * Updated ena_com (HAL) to the latest version. - * Added indication of the RSS hash presence in the mbuf. - --* **Updated Arkville PMD driver.** -+* **Updated Arkville PMD.** - - Updated Arkville net driver with new features and improvements, including: - -diff --git a/doc/guides/rel_notes/release_21_08.rst b/doc/guides/rel_notes/release_21_08.rst -index 6fb4e43346..ac1c081903 100644 ---- a/doc/guides/rel_notes/release_21_08.rst -+++ b/doc/guides/rel_notes/release_21_08.rst -@@ -67,7 +67,7 @@ New Features - - * **Added Wangxun ngbe PMD.** - -- Added a new PMD driver for Wangxun 1Gb Ethernet NICs. -+ Added a new PMD for Wangxun 1Gb Ethernet NICs. - See the :doc:`../nics/ngbe` for more details. - - * **Added inflight packets clear API in vhost library.** -diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst -index f31d52f557..115c679c23 100644 ---- a/doc/guides/rel_notes/release_21_11.rst -+++ b/doc/guides/rel_notes/release_21_11.rst -@@ -321,7 +321,7 @@ New Features - - * **Added NXP LA12xx baseband PMD.** - -- * Added a new baseband PMD driver for NXP LA12xx Software defined radio. -+ * Added a new baseband PMD for NXP LA12xx Software defined radio. - * See the :doc:`../bbdevs/la12xx` for more details. - - * **Updated Mellanox compress driver.** @@ -468 +396 @@ -index 486247ac2e..ecb1c857c4 100644 +index 2cf6e4556f..b252efd7a7 100644 @@ -481 +409 @@ -index 7b4cdeb43f..48efb9ea6e 100644 +index ad1788a3d8..4317f3170a 100644 @@ -484 +412 @@ -@@ -239,7 +239,7 @@ to the ordered queue. The worker receives the events from ordered queue and +@@ -207,7 +207,7 @@ to the ordered queue. The worker receives the events from ordered queue and @@ -494 +422 @@ -index b2109bf3c0..3860c2835a 100644 +index c2ff3fe9bc..8e22507080 100644 @@ -497 +425 @@ -@@ -609,7 +609,7 @@ typedef struct efsys_bar_s { +@@ -607,7 +607,7 @@ typedef struct efsys_bar_s { @@ -507 +435 @@ -index 86317a513c..3c8682a768 100644 +index 252b4b24e3..ed7e917e62 100644 @@ -510 +438,2 @@ -@@ -13,7 +13,7 @@ +@@ -12,7 +12,7 @@ + @@ -512 +440,0 @@ - #include "qat_comp.h" @@ -518 +446 @@ - /* Private data structure for a QAT compression device capability. */ + /** private data structure for a QAT compression device. @@ -520 +448 @@ -index fd6b406248..f988d646e5 100644 +index 3b5abddec8..f6770bc4fb 100644 @@ -523,2 +451,2 @@ -@@ -10,7 +10,7 @@ - #include "qat_crypto.h" +@@ -9,7 +9,7 @@ + #include @@ -533 +461 @@ -index 0dc0c6f0d9..59fbdefa12 100644 +index e0992cbe27..c449924194 100644 @@ -537 +465 @@ - #include "qat_crypto.h" + #include "qat_sym_capabilities.h" @@ -546 +474 @@ -index 7c85a05746..43e1d13431 100644 +index c187088a33..6057f34525 100644 @@ -549 +477 @@ -@@ -255,7 +255,7 @@ rx_queue_clean(struct fm10k_rx_queue *q) +@@ -254,7 +254,7 @@ rx_queue_clean(struct fm10k_rx_queue *q) @@ -572 +500 @@ -index 847e660f44..0bd12907d8 100644 +index c97e38e279..cf9302ed00 100644 @@ -575 +503 @@ -@@ -1060,7 +1060,7 @@ hns3_vlan_pvid_set(struct rte_eth_dev *dev, uint16_t pvid, int on) +@@ -984,7 +984,7 @@ hns3_vlan_pvid_set(struct rte_eth_dev *dev, uint16_t pvid, int on) @@ -584 +512 @@ -@@ -2592,7 +2592,7 @@ hns3_parse_cfg(struct hns3_cfg *cfg, struct hns3_cmd_desc *desc) +@@ -2930,7 +2930,7 @@ hns3_parse_cfg(struct hns3_cfg *cfg, struct hns3_cmd_desc *desc) @@ -593 +521 @@ -@@ -6311,7 +6311,7 @@ hns3_fec_set(struct rte_eth_dev *dev, uint32_t mode) +@@ -6090,7 +6090,7 @@ hns3_fec_set(struct rte_eth_dev *dev, uint32_t mode) @@ -603 +531 @@ -index 6d30125dcc..aa45b31261 100644 +index 2bb449be9d..4334c1ee60 100644 @@ -606 +534 @@ -@@ -465,8 +465,8 @@ struct hns3_queue_intr { +@@ -401,8 +401,8 @@ struct hns3_queue_intr { @@ -617 +545 @@ -@@ -575,14 +575,14 @@ struct hns3_hw { +@@ -501,14 +501,14 @@ struct hns3_hw { @@ -635 +563 @@ -index d8a99693e0..805abd4543 100644 +index e4caa396ec..3428cefb2c 100644 @@ -638 +566 @@ -@@ -232,7 +232,7 @@ hns3vf_set_default_mac_addr(struct rte_eth_dev *dev, +@@ -319,7 +319,7 @@ hns3vf_set_default_mac_addr(struct rte_eth_dev *dev, @@ -647 +575 @@ -@@ -312,9 +312,9 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, +@@ -573,9 +573,9 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, @@ -659 +587 @@ -@@ -322,14 +322,14 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, +@@ -583,14 +583,14 @@ hns3vf_set_promisc_mode(struct hns3_hw *hw, bool en_bc_pmc, @@ -676 +604 @@ -@@ -553,9 +553,9 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) +@@ -902,9 +902,9 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) @@ -688,2 +616,2 @@ - if (__atomic_load_n(&hw->reset.resetting, __ATOMIC_RELAXED)) { -@@ -565,8 +565,8 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) + if (rte_atomic16_read(&hw->reset.resetting)) { +@@ -914,8 +914,8 @@ hns3vf_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) @@ -700 +628 @@ -@@ -2075,7 +2075,7 @@ hns3vf_check_default_mac_change(struct hns3_hw *hw) +@@ -2474,7 +2474,7 @@ hns3vf_check_default_mac_change(struct hns3_hw *hw) @@ -709 +637 @@ -@@ -2416,12 +2416,12 @@ hns3vf_dev_init(struct rte_eth_dev *eth_dev) +@@ -2814,12 +2814,12 @@ hns3vf_dev_init(struct rte_eth_dev *eth_dev) @@ -726 +654 @@ -index 85495bbe89..3a4b699ae2 100644 +index 6726c19afe..3a11a78341 100644 @@ -729 +657 @@ -@@ -667,7 +667,7 @@ hns3_rss_set_default_args(struct hns3_hw *hw) +@@ -672,7 +672,7 @@ hns3_set_default_rss_args(struct hns3_hw *hw) @@ -738 +666 @@ -@@ -739,7 +739,7 @@ rss_tuple_uninit: +@@ -744,7 +744,7 @@ rss_tuple_uninit: @@ -748 +676 @@ -index 40cc4e9c1a..f365daadf8 100644 +index 235197ce55..cea8017432 100644 @@ -751 +679 @@ -@@ -1899,8 +1899,8 @@ hns3_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, +@@ -1885,8 +1885,8 @@ hns3_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, @@ -762 +690 @@ -@@ -3039,8 +3039,8 @@ hns3_tx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, +@@ -2700,8 +2700,8 @@ hns3_tx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t nb_desc, @@ -774 +702 @@ -index df731856ef..5423568cd0 100644 +index f425c9e8a3..9f398b507e 100644 @@ -777 +705 @@ -@@ -318,7 +318,7 @@ struct hns3_rx_queue { +@@ -303,7 +303,7 @@ struct hns3_rx_queue { @@ -785,2 +713,2 @@ - uint8_t pvid_sw_discard_en:1; -@@ -490,7 +490,7 @@ struct hns3_tx_queue { + bool pvid_sw_discard_en; +@@ -417,7 +417,7 @@ struct hns3_tx_queue { @@ -796 +724 @@ -index 344cbd25d3..c0bfff43ee 100644 +index a195281795..ba4a4a9ddc 100644 @@ -799 +727 @@ -@@ -1922,7 +1922,7 @@ i40e_dev_configure(struct rte_eth_dev *dev) +@@ -1995,7 +1995,7 @@ i40e_dev_configure(struct rte_eth_dev *dev) @@ -808,31 +736,5 @@ -diff --git a/drivers/net/nfp/nfp_common.h b/drivers/net/nfp/nfp_common.h -index 3556c9cd17..8b35fa119c 100644 ---- a/drivers/net/nfp/nfp_common.h -+++ b/drivers/net/nfp/nfp_common.h -@@ -8,7 +8,7 @@ - * - * @file dpdk/pmd/nfp_net_pmd.h - * -- * Netronome NFP_NET PMD driver -+ * Netronome NFP_NET PMD - */ - - #ifndef _NFP_COMMON_H_ -diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c -index 830863af28..8e81cc498f 100644 ---- a/drivers/net/nfp/nfp_ethdev.c -+++ b/drivers/net/nfp/nfp_ethdev.c -@@ -342,7 +342,7 @@ nfp_net_close(struct rte_eth_dev *dev) - (void *)dev); - - /* -- * The ixgbe PMD driver disables the pcie master on the -+ * The ixgbe PMD disables the pcie master on the - * device. The i40e does not... - */ - -diff --git a/drivers/net/nfp/nfp_ethdev_vf.c b/drivers/net/nfp/nfp_ethdev_vf.c -index 5557a1e002..303ef72b1b 100644 ---- a/drivers/net/nfp/nfp_ethdev_vf.c -+++ b/drivers/net/nfp/nfp_ethdev_vf.c -@@ -238,7 +238,7 @@ nfp_netvf_close(struct rte_eth_dev *dev) +diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c +index 8e27845ce6..deea3de910 100644 +--- a/drivers/net/nfp/nfp_net.c ++++ b/drivers/net/nfp/nfp_net.c +@@ -912,7 +912,7 @@ nfp_net_close(struct rte_eth_dev *dev) @@ -846,0 +749,13 @@ +diff --git a/drivers/net/nfp/nfp_net_pmd.h b/drivers/net/nfp/nfp_net_pmd.h +index 444c1b3773..ac6118d639 100644 +--- a/drivers/net/nfp/nfp_net_pmd.h ++++ b/drivers/net/nfp/nfp_net_pmd.h +@@ -8,7 +8,7 @@ + * + * @file dpdk/pmd/nfp_net_pmd.h + * +- * Netronome NFP_NET PMD driver ++ * Netronome NFP_NET PMD + */ + + #ifndef _NFP_NET_PMD_H_ @@ -858,5 +773,5 @@ -diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h -index ff193f2d65..1dbcf73b0e 100644 ---- a/lib/bbdev/rte_bbdev.h -+++ b/lib/bbdev/rte_bbdev.h -@@ -164,7 +164,7 @@ rte_bbdev_queue_configure(uint16_t dev_id, uint16_t queue_id, +diff --git a/lib/librte_bbdev/rte_bbdev.h b/lib/librte_bbdev/rte_bbdev.h +index 7017124414..7fbc75f572 100644 +--- a/lib/librte_bbdev/rte_bbdev.h ++++ b/lib/librte_bbdev/rte_bbdev.h +@@ -174,7 +174,7 @@ rte_bbdev_queue_configure(uint16_t dev_id, uint16_t queue_id, @@ -868,0 +784 @@ + __rte_experimental @@ -870,2 +786 @@ - rte_bbdev_start(uint16_t dev_id); -@@ -207,7 +207,7 @@ rte_bbdev_close(uint16_t dev_id); +@@ -220,7 +220,7 @@ rte_bbdev_close(uint16_t dev_id); @@ -877,0 +793 @@ + __rte_experimental @@ -879,2 +795 @@ - rte_bbdev_queue_start(uint16_t dev_id, uint16_t queue_id); -@@ -222,7 +222,7 @@ rte_bbdev_queue_start(uint16_t dev_id, uint16_t queue_id); +@@ -236,7 +236,7 @@ rte_bbdev_queue_start(uint16_t dev_id, uint16_t queue_id); @@ -886,0 +802 @@ + __rte_experimental @@ -888,2 +804 @@ - rte_bbdev_queue_stop(uint16_t dev_id, uint16_t queue_id); -@@ -782,7 +782,7 @@ rte_bbdev_callback_unregister(uint16_t dev_id, enum rte_bbdev_event_type event, +@@ -807,7 +807,7 @@ rte_bbdev_callback_unregister(uint16_t dev_id, enum rte_bbdev_event_type event, @@ -895,0 +811 @@ + __rte_experimental @@ -897,2 +813 @@ - rte_bbdev_queue_intr_enable(uint16_t dev_id, uint16_t queue_id); -@@ -798,7 +798,7 @@ rte_bbdev_queue_intr_enable(uint16_t dev_id, uint16_t queue_id); +@@ -824,7 +824,7 @@ rte_bbdev_queue_intr_enable(uint16_t dev_id, uint16_t queue_id); @@ -904,0 +820 @@ + __rte_experimental @@ -906,2 +822 @@ - rte_bbdev_queue_intr_disable(uint16_t dev_id, uint16_t queue_id); -@@ -825,7 +825,7 @@ rte_bbdev_queue_intr_disable(uint16_t dev_id, uint16_t queue_id); +@@ -852,7 +852,7 @@ rte_bbdev_queue_intr_disable(uint16_t dev_id, uint16_t queue_id); @@ -913,0 +829 @@ + __rte_experimental @@ -915,2 +831 @@ - rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op, -diff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_compressdev_pmd.h +diff --git a/lib/librte_compressdev/rte_compressdev_pmd.h b/lib/librte_compressdev/rte_compressdev_pmd.h @@ -918,2 +833,2 @@ ---- a/lib/compressdev/rte_compressdev_pmd.h -+++ b/lib/compressdev/rte_compressdev_pmd.h +--- a/lib/librte_compressdev/rte_compressdev_pmd.h ++++ b/lib/librte_compressdev/rte_compressdev_pmd.h @@ -929,5 +844,5 @@ -diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h -index 1bca24e74e..b9146f652c 100644 ---- a/lib/cryptodev/cryptodev_pmd.h -+++ b/lib/cryptodev/cryptodev_pmd.h -@@ -483,7 +483,7 @@ rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev); +diff --git a/lib/librte_cryptodev/rte_cryptodev_pmd.h b/lib/librte_cryptodev/rte_cryptodev_pmd.h +index 96bea17c92..6c46acf7c2 100644 +--- a/lib/librte_cryptodev/rte_cryptodev_pmd.h ++++ b/lib/librte_cryptodev/rte_cryptodev_pmd.h +@@ -435,7 +435,7 @@ rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev); @@ -942,17 +857,4 @@ -diff --git a/lib/dmadev/rte_dmadev_core.h b/lib/dmadev/rte_dmadev_core.h -index e42d8739ab..064785686f 100644 ---- a/lib/dmadev/rte_dmadev_core.h -+++ b/lib/dmadev/rte_dmadev_core.h -@@ -59,7 +59,7 @@ typedef uint16_t (*rte_dma_burst_capacity_t)(const void *dev_private, uint16_t v - * functions. - * - * The 'dev_private' field was placed in the first cache line to optimize -- * performance because the PMD driver mainly depends on this field. -+ * performance because the PMD mainly depends on this field. - */ - struct rte_dma_fp_object { - /** PMD-specific private data. The driver should copy -diff --git a/lib/eal/include/rte_dev.h b/lib/eal/include/rte_dev.h -index 6c3f774672..448a41cb0e 100644 ---- a/lib/eal/include/rte_dev.h -+++ b/lib/eal/include/rte_dev.h +diff --git a/lib/librte_eal/include/rte_dev.h b/lib/librte_eal/include/rte_dev.h +index 6dd72c11a1..ef3ce849be 100644 +--- a/lib/librte_eal/include/rte_dev.h ++++ b/lib/librte_eal/include/rte_dev.h @@ -968,27 +870,5 @@ -diff --git a/lib/eal/include/rte_devargs.h b/lib/eal/include/rte_devargs.h -index 71c8af9df3..37a0f042ab 100644 ---- a/lib/eal/include/rte_devargs.h -+++ b/lib/eal/include/rte_devargs.h -@@ -35,7 +35,7 @@ extern "C" { - /** - * Class type key in global devargs syntax. - * -- * Legacy devargs parser doesn't parse class type. PMD driver is -+ * Legacy devargs parser doesn't parse class type. PMD is - * encouraged to use this key to resolve class type. - */ - #define RTE_DEVARGS_KEY_CLASS "class" -@@ -43,7 +43,7 @@ extern "C" { - /** - * Driver type key in global devargs syntax. - * -- * Legacy devargs parser doesn't parse driver type. PMD driver is -+ * Legacy devargs parser doesn't parse driver type. PMD is - * encouraged to use this key to resolve driver type. - */ - #define RTE_DEVARGS_KEY_DRIVER "driver" -diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h -index 096b676fc1..fa299c8ad7 100644 ---- a/lib/ethdev/rte_ethdev.h -+++ b/lib/ethdev/rte_ethdev.h -@@ -2610,7 +2610,7 @@ int rte_eth_tx_hairpin_queue_setup +diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h +index 57a2edf363..8856648d11 100644 +--- a/lib/librte_ethdev/rte_ethdev.h ++++ b/lib/librte_ethdev/rte_ethdev.h +@@ -2321,7 +2321,7 @@ int rte_eth_tx_hairpin_queue_setup @@ -1003 +883 @@ -@@ -2636,7 +2636,7 @@ int rte_eth_hairpin_get_peer_ports(uint16_t port_id, uint16_t *peer_ports, +@@ -2347,7 +2347,7 @@ int rte_eth_hairpin_get_peer_ports(uint16_t port_id, uint16_t *peer_ports, @@ -1012 +892 @@ -@@ -2663,7 +2663,7 @@ int rte_eth_hairpin_bind(uint16_t tx_port, uint16_t rx_port); +@@ -2374,7 +2374,7 @@ int rte_eth_hairpin_bind(uint16_t tx_port, uint16_t rx_port); @@ -1021 +901 @@ -@@ -2706,7 +2706,7 @@ int rte_eth_dev_is_valid_port(uint16_t port_id); +@@ -2417,7 +2417,7 @@ int rte_eth_dev_is_valid_port(uint16_t port_id); @@ -1030 +910 @@ -@@ -2724,7 +2724,7 @@ int rte_eth_dev_rx_queue_start(uint16_t port_id, uint16_t rx_queue_id); +@@ -2435,7 +2435,7 @@ int rte_eth_dev_rx_queue_start(uint16_t port_id, uint16_t rx_queue_id); @@ -1039 +919 @@ -@@ -2743,7 +2743,7 @@ int rte_eth_dev_rx_queue_stop(uint16_t port_id, uint16_t rx_queue_id); +@@ -2454,7 +2454,7 @@ int rte_eth_dev_rx_queue_stop(uint16_t port_id, uint16_t rx_queue_id); @@ -1048 +928 @@ -@@ -2761,7 +2761,7 @@ int rte_eth_dev_tx_queue_start(uint16_t port_id, uint16_t tx_queue_id); +@@ -2472,7 +2472,7 @@ int rte_eth_dev_tx_queue_start(uint16_t port_id, uint16_t tx_queue_id); @@ -1057 +937 @@ -@@ -2963,7 +2963,7 @@ int rte_eth_allmulticast_get(uint16_t port_id); +@@ -2674,7 +2674,7 @@ int rte_eth_allmulticast_get(uint16_t port_id); @@ -1064 +943,0 @@ - * - (-EINVAL) if bad parameter. @@ -1066 +945,2 @@ -@@ -2979,7 +2979,7 @@ int rte_eth_link_get(uint16_t port_id, struct rte_eth_link *link); + int rte_eth_link_get(uint16_t port_id, struct rte_eth_link *link); +@@ -2689,7 +2689,7 @@ int rte_eth_link_get(uint16_t port_id, struct rte_eth_link *link); @@ -1073 +952,0 @@ - * - (-EINVAL) if bad parameter. @@ -1074,0 +954 @@ + int rte_eth_link_get_nowait(uint16_t port_id, struct rte_eth_link *link);