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 9E775A0547; Sun, 26 Sep 2021 13:19:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D92D4003D; Sun, 26 Sep 2021 13:19:28 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2068.outbound.protection.outlook.com [40.107.223.68]) by mails.dpdk.org (Postfix) with ESMTP id 029754003C for ; Sun, 26 Sep 2021 13:19:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ljcqQKA+43AQ2fcACarTkJYLVt/hGwfnDZWFEzPkDte4BTr/dySMHt7LkvT2NdltiuqDQmhT0pduSGZulqOSjiVlILQuQN0Vkxbfku12vFgYoH6SaVQkDKF6FtRW7wV04NnOzn1EwsIaGmaShifIPobZ0zcDe6lK8tSUv2VDjL5/a+OnroVohq2a5RegeBiqYKT5i9yr6/XEc1oj29dxKy/Mq9oLXXkuZodUFmyah3dDlJoQZObu0zrqG2nGNObXg238bdso0Ip7UorHXGFkKNIpG0pqbLj9yWxZEcImV/rs7QRFm0oFj2ukGuSMYQzTCFyV5KNr3q4peQTkSdNq/g== 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; bh=VHLs7yuHtz6pJKteZ2wtSo2X5dFPZxK1DvXUr0bfm20=; b=OG6dC7oGc5I1/z5tt+hoZgVgI2+LuE1f8XQM9FsxQahwq8NlJ9PeIfHWAvOTZOV4psXbOim+AnJfXlIJJsLlUEEOUxzm3Q13AbkCE9XlQqYdF5emGp7Q2mmsbiZWwmFj4+83LQdqn98InRUJzYGZlWmhOSi9VrwAo3Xlzgtn80fmHQaYcrcMQCsxjlMtSYu9Y0s2RPmikRKIQXRoeX9LAG4+UFGx0LlXMtLwCRu8S0D+laz02yKPiOmj2Ny9Sf6JsIQw99I+XpLjOBAme/O39IwbAtGkLn28XawIfBi56CIavF44PtptKI/vP2wee++cmyxlqC3hxh7XfFoSpMD7xQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.32) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none 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=VHLs7yuHtz6pJKteZ2wtSo2X5dFPZxK1DvXUr0bfm20=; b=cIm38Vuipsdm66KwRk/VMxQ8JuGm5mp1maCDMLo52ayJ2A3S1GDML1f8Oy/GhFOGP91aKPATOByOxHIRg2AlAsWNBOX1p2h/bSiQ2VjcRhVM/oYnD80Av1Cx67Q/9sVS3rTgqXzQRCn+fgCU2kHuBTKk8wm7dx9mUkp5Q3EHV+hNMAYFEULAT/hoTGAGbhKviRQa+RBvzLkfaJoAltWSnErISHaXfjoNQt+JCIeH+DWG+PO0ReTssTiSHmOGzMVX5NVPW6mq6J+vdHQn2mLaqqwi3jeGDizjuSAsNFtLMeU0p7L127pflPLqPMf2XZeeje5TQhV4Ql/pfWexeJRO3g== Received: from BN9PR03CA0159.namprd03.prod.outlook.com (2603:10b6:408:f4::14) by MN2PR12MB4286.namprd12.prod.outlook.com (2603:10b6:208:199::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Sun, 26 Sep 2021 11:19:25 +0000 Received: from BN8NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f4:cafe::dc) by BN9PR03CA0159.outlook.office365.com (2603:10b6:408:f4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 11:19:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.32) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.32 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.32; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.32) by BN8NAM11FT037.mail.protection.outlook.com (10.13.177.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 11:19:25 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 26 Sep 2021 04:19:24 -0700 Received: from nvidia.com (172.20.187.5) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 26 Sep 2021 11:19:22 +0000 From: Xueming Li To: CC: , Lior Margalit Date: Sun, 26 Sep 2021 19:18:53 +0800 Message-ID: <20210926111904.237736-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d55511b3-dabc-47b0-2cf5-08d980df7f58 X-MS-TrafficTypeDiagnostic: MN2PR12MB4286: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3173; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dle/ykZ/f9Y0qN6y1L00WN3kvrC3LHb3AsXJBxPwRDH33VuWiK9CrgD9UDjgk2g+vXZLwQF0555Xw7A0xr5330qZ3EtGoe7gdQPrRKVzYIY45gbr6YmknLVUPv1ZIQpFWa02QhYDRO4oaVdCpq8en6XnP35uuCMrK6oh8UT12T+WudXhXuEvcypRcEaeRNhreRz38RhILZqiNC1CkWgnUNeG7ez21QNb5p0TvUQx8KnOC7fCL/FY19pTRbuUJZ4Z+Jva/djrVcix7Jsjy1sQVtSTec4Eh2QGheOEX8hsRbFmxjGNRqf7VYY6Sdh45DFbHFUsFP+h0qW2yVFyAmOe+YIR+TEe4pF3MjCOofJDQ+dLW1ZqRF7beB0kddfcjIxCTujSdxK2TVlYpjQQd7FmIAHYW42rNVKgqD/XSWK2aSiAeLBmUGAoRteYF9K7n2DxNn83e/UoTN/MSnIfw1VKJUc0qdYAeGl5gIJHg7cMswGj4NyzMqRb+kFr4GY7euQvLzM3YNC69phcXFHm9YJQ+YvfwWdo2WksIgEL5V9DPwWxS4wQRJV4ox0ofMHjoZa+dZZYmEv1iqUOYV5Y0iqQz4wG9gfC+qJYGC4dDBCZbWLdk9o7/XRFs+ELEtfSNj7ZANlTgUnCo6mgZIy4AHwU30bUaFBfD6a1jH+FhNrfxxIhDX3ZtMSKiG0p3iv0j9Pf3Y8Y1foYzDwkeACvvcE8Cg== X-Forefront-Antispam-Report: CIP:216.228.112.32; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid01.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(5660300002)(426003)(1076003)(336012)(2616005)(107886003)(6666004)(6286002)(7636003)(8936002)(356005)(36860700001)(55016002)(8676002)(36756003)(4326008)(70206006)(508600001)(70586007)(6916009)(83380400001)(316002)(7696005)(2906002)(82310400003)(54906003)(186003)(47076005)(86362001)(26005)(16526019); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 11:19:25.0434 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d55511b3-dabc-47b0-2cf5-08d980df7f58 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.32]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4286 Subject: [dpdk-dev] [PATCH 00/11] net/mlx5: support shared Rx queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Implemetation of Shared Rx queue. Depends-on: series-18996 ("ethdev: introduce shared Rx queue") Depends-on: series-18065 ("net/mlx5: keep indirect actions across port restart") Depends-on: series-18939 ("ethdev: change queue release callback") Xueming Li (11): common/mlx5: support receive queue user index common/mlx5: support receive memory pool net/mlx5: clean Rx queue code net/mlx5: split multiple packet Rq memory pool net/mlx5: split Rx queue net/mlx5: move Rx queue reference count net/mlx5: move Rx queue hairpin info to private data net/mlx5: remove port info from shareable Rx queue net/mlx5: move Rx queue DevX resource net/mlx5: remove Rx queue data list from device net/mlx5: support shared Rx queue doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 6 + drivers/common/mlx5/mlx5_common_devx.c | 310 ++++++++++-- drivers/common/mlx5/mlx5_common_devx.h | 19 +- drivers/common/mlx5/mlx5_devx_cmds.c | 52 ++ drivers/common/mlx5/mlx5_devx_cmds.h | 16 + drivers/common/mlx5/mlx5_prm.h | 93 +++- drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 2 + drivers/net/mlx5/linux/mlx5_verbs.c | 161 +++--- drivers/net/mlx5/mlx5.c | 11 +- drivers/net/mlx5/mlx5.h | 17 +- drivers/net/mlx5/mlx5_devx.c | 249 ++++----- drivers/net/mlx5/mlx5_ethdev.c | 16 +- drivers/net/mlx5/mlx5_flow.c | 45 +- drivers/net/mlx5/mlx5_mr.c | 7 +- drivers/net/mlx5/mlx5_rss.c | 6 +- drivers/net/mlx5/mlx5_rx.c | 31 +- drivers/net/mlx5/mlx5_rx.h | 49 +- drivers/net/mlx5/mlx5_rxq.c | 618 ++++++++++++++++------- drivers/net/mlx5/mlx5_rxtx.c | 6 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 8 +- drivers/net/mlx5/mlx5_stats.c | 9 +- drivers/net/mlx5/mlx5_trigger.c | 161 +++--- drivers/net/mlx5/mlx5_vlan.c | 16 +- drivers/regex/mlx5/mlx5_regex_fastpath.c | 2 +- 26 files changed, 1289 insertions(+), 623 deletions(-) -- 2.33.0