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 B746BA0524; Wed, 5 May 2021 11:50:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4146840040; Wed, 5 May 2021 11:50:29 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2044.outbound.protection.outlook.com [40.107.243.44]) by mails.dpdk.org (Postfix) with ESMTP id 5A7E24003C for ; Wed, 5 May 2021 11:50:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MfEmmhsvAulPLEURlSN/1WUiV8RWlS1LqbEZ+G9eXzD0frB1tWVFr+ndgNXYJffp+DIXaLf5j7dVd0ruACVIecaFZ4FpdWwnR0xd1AclH7GIg+xpW5U2swip2VNMjRY04ViIubHvdg+BUbdXGLPuk5yEmm9UgnbBXyE4cwHbfuGcO1DAmNS74nho+q3WwN8MBQIOk6Ibf7xhBjTHg/oBOX7Q+alSPMvMuOZczjTl7skGyXiGPoIeDEKMAD6V1m+OGrzUW6+eKEvasyimBxlxZpOT6StE4/RE3usDExWTdw1fcSJaNaEGIDTCTDydc1EeZWR+kBcIuymSNOakAOuveg== 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-SenderADCheck; bh=pUj0ocOJf2RkhNVWh+2TiPJBXbo7JuYdSEDonMAoWDs=; b=dm+wjBltT6KzC1xMO0mhG+o+O8O+vQxJNeK1Iky+KSKm+hCLfberJ2OABjB3GPtWiOZXu7uAYvZQq05yuOdyCVMUSSOeH1/14m9DA4azx7B33BfVZYJOBvSn9+Mro0C7ksTjquPj6lFDWWVhrGOFVhE7iLiXJzEI1bSTyU100Y8T57S6TbX6k7Gh2PALWs9qXkx9P2DJ42o/UdHRSLJdz+KHiUc5sFrmZ2QU/AVuKEEYXi8tm1GF1DbXbZUBBpzrU/RskpJ8bZeWFTnllJtZ0GBqwJ12inFinzNPCbzopbbnz/WxKcXdjsncO9+/i9DGWn/mK++mtHMnrj4LNIHMgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none 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=pUj0ocOJf2RkhNVWh+2TiPJBXbo7JuYdSEDonMAoWDs=; b=N0LSs9CAcIoxUxydQjGyvRPGMUZj5o8HFIxd06Y1nEj1HOz4e2+WcRDvFSVxZob+o7xHGnuJH8k7oSv+Cmh3I/RPPaqdXGKH+HsGr3MoR3crew79tPk8M4eOV57of6nELrqNoEWLX8HOe+Z7wAZlcKyfzDRrJ6w4iwHWPsYUmmlL7AS2ge4lgz+f9LRc4sZrNqDfCyEFpC09nb96KYcH2K185QKtQJOPIAbt/SKRovcGKvOkuzSTrEEGs1vEpOa1INVuWdANuOoxp5bIFrpmXlEWP8enkSMH3tj/PuPQExyn2yp2RkhUXIeu83F819dSIagfLalzva6Fq5Zeu/nqyg== Received: from BN9PR03CA0571.namprd03.prod.outlook.com (2603:10b6:408:10d::6) by CH2PR12MB4134.namprd12.prod.outlook.com (2603:10b6:610:a7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Wed, 5 May 2021 09:50:26 +0000 Received: from BN8NAM11FT057.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::5) by BN9PR03CA0571.outlook.office365.com (2603:10b6:408:10d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Wed, 5 May 2021 09:50:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.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 BN8NAM11FT057.mail.protection.outlook.com (10.13.177.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 5 May 2021 09:50:26 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 May 2021 09:50:24 +0000 From: Bing Zhao To: , , CC: , , Date: Wed, 5 May 2021 12:49:52 +0300 Message-ID: <20210505095009.40250-1-bingz@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210427153811.11554-1-bingz@nvidia.com> References: <20210427153811.11554-1-bingz@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c3a06e1-018b-4634-e87f-08d90fab35fc X-MS-TrafficTypeDiagnostic: CH2PR12MB4134: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:78; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IhrXOb6Rn3AoJ8cLkoF7mIhnFVEMiFRorQdE8bM+DTiXNUvE06CuK33HgK1DZwaYYN7EnywOqGRbhSpWWCjYQj2RfetMs7nyJdoSi8XVsY4pA+RNazE2zUF/yw7yyZ7Mj/pTrhHdkiu1sIS0kyJLaNsI5y6CrwgXHVERpmMOwAi5ZuSqkXUXWMmL3zbvACSPb2tDW4gzXvQxex6yXg5NbJnmy7ChkdA4txmw8z0Gf0HyM8cDsrjnERQax4ussG9TWD7lg0FIfn7BHbM3dlacrMuvnu/sNb8IYHLGfJOncZ9u5eikXA61nNukHN2y8Coypfj9B5Ylbs2Y3JvdspbqYuS1zTaC9YI44urNfNy2WXnskh/eEtwlMVfnQmjzltlYdtVEcPOHihU8k0dJyaAhG8W4jXwXST6uLnuoayqH2SldZ1cR8vP0KLAyDEoR8WEvgd3A271YcH/D7PLvmBUMoh3o8wKAonYnpIosp5oriswNv93WSfRNmJSwZsUTOu/gg2TyFyr6lMXOn5ixB/Sqoiwv6/OzyI8secsEyyRB6Xollj/eZuEI9Vpg7WKDeF5Mf/IdpFvRXX4dJ1Sel+16fZz7nXeAmGkCwiTZmgSfw3qmkfsrYR0KOd9qXTLqOAZ5c6ODe70nUlRM+asYOb6eNZpJN838ts9KECy2VGzfvLE= 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)(376002)(346002)(136003)(396003)(39860400002)(36840700001)(46966006)(16526019)(2616005)(82740400003)(336012)(47076005)(82310400003)(426003)(8676002)(478600001)(36906005)(6286002)(86362001)(36860700001)(110136005)(5660300002)(7636003)(6666004)(8936002)(356005)(186003)(26005)(83380400001)(54906003)(316002)(55016002)(107886003)(70206006)(7696005)(2906002)(70586007)(1076003)(36756003)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2021 09:50:26.7378 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4c3a06e1-018b-4634-e87f-08d90fab35fc 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: BN8NAM11FT057.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4134 Subject: [dpdk-dev] [PATCH v6 00/17] conntrack support in mlx5 PMD 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" This patch set adds the connection tracking offload support in the mlx5 driver, as well as the documents update. --- v2: code bug fixes, commits clean up and doc update v3: fix error input pointer for CT MR registering v4: fix typo in commit message of patch 11 v5: adjust mkey to lkey in SQ initialization v6: rebase and solve the conflict --- Acked-by: Viacheslav Ovsiienko Bing Zhao (17): common/mlx5: add connection tracking object definition common/mlx5: add CT offload capability checking net/mlx5: use meter color reg for CT net/mlx5: initialization of CT management common/mlx5: add Dexv CT objects creation net/mlx5: add modify support for CT net/mlx5: add actions creating for CT net/mlx5: close CT management structure net/mlx5: add ASO CT query implementation net/mlx5: add ASO CT destroy handling net/mlx5: add translation of CT action net/mlx5: add translation of CT item net/mlx5: add CT context update net/mlx5: validation of CT action net/mlx5: validation of CT item net/mlx5: add support of CT between two ports doc: update mlx5 support for conntrack doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 14 + doc/guides/rel_notes/release_21_05.rst | 2 + drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/mlx5_devx_cmds.c | 53 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 5 + drivers/common/mlx5/mlx5_prm.h | 88 ++++ drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 13 + drivers/net/mlx5/mlx5.c | 92 ++++ drivers/net/mlx5/mlx5.h | 76 ++++ drivers/net/mlx5/mlx5_flow.c | 44 +- drivers/net/mlx5/mlx5_flow.h | 101 ++++- drivers/net/mlx5/mlx5_flow_aso.c | 592 ++++++++++++++++++++++++ drivers/net/mlx5/mlx5_flow_dv.c | 601 ++++++++++++++++++++++++- 16 files changed, 1683 insertions(+), 3 deletions(-) -- 2.27.0