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 6DDC7A0524; Wed, 5 May 2021 08:41:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E421A40040; Wed, 5 May 2021 08:41:37 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2067.outbound.protection.outlook.com [40.107.223.67]) by mails.dpdk.org (Postfix) with ESMTP id 0AD8B4003C for ; Wed, 5 May 2021 08:41:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DeiKKhwd3Asero+9S3mFVKwZMUP6BI6Wmz+spfSFuV45HlYRVrL2iHm0oXucaFNaN5N9Wk+46Gel3k6Jyquqq7Y5vwgHApswj590m5CVXYym5JLkcrdcD/mUz4sNRXL0zoGL0uBDDHJjy5lVOOHL8ALHcc7fc3y7TysjnVCCEFyDPddC0en5GGcDfeXPdC5k3iCUwU5fLWrzGhPjKqpniMelZHJhhis7PnyC78vk+FWrn+aRlxac+frQEduxDxv6I5lFYSrX+cb2bdxNyFsML0W+zMTPxeK4zWNkgXB7vax4bfjFIt4kBTmq+RC3Fbykt/rCu+qRMMKc930rZXEeOw== 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=hnx3aqrkwzqI3N5Osq6waOiivPaEBJ1ZtxNYev92QIE=; b=hRg0IA+/oc4FPRywQn02u4TOBkaws8DzvwVsJGCZvoVcFCheMZ72S+5GUbgv61sGoj8TSP3RINRbFTn5HFSICu8obNIWKADe27HyyvwePDbYyEGyWxYoY8tasDSSlgtPdZuSsiT6Rr9ceSafDQOjYaDDH3CJlC6Y1eLuHQIFGhvFFCzGVHfk0BN0dRcNd5uAjCR4NnjoakFzozFvjdFMV6dUX9dYQRXZDBMNhF2m3nFO6ECDCCTDf257zyqKW04bIVUOtGzcwUJL5TxMdPsWJeMBAKDbbCgnjw3w7zJiYp5kj13wWEDL4elHy4wTTrsuzX+aPMuE+2V9dnXH7jH5yA== 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=hnx3aqrkwzqI3N5Osq6waOiivPaEBJ1ZtxNYev92QIE=; b=p/isDMYBjLDAPQ25u207Egsm+QOu2LYVyUX0eiDgDejkT35a81BC/1O7m8UJLhI7uYjbAjetfxQ+tSww2wi1g5zeLTTuKoIDUmgOguotf06cnIUqTnBCzx7n1lfXX2jlWa5bEi19pkoU3x6YnuyQyWD4SGKPVi/0IUzPPxWXGck1K/4CiQa3wEonPvMpt4nVBkq7P7z2I0lBsX746l2qXQGobOtvV7xIvo9dWZfASEK5hcVsKR1tTgOZ6hQKLMScaQrmUhqP/C8cu10Vetp6fbhx+75NM59l2NuB08L97hgTBqQpzK4FnKeOzZHiTEtUZPK+Pr4x/8yL2MeqaDlC3w== Received: from DM6PR07CA0050.namprd07.prod.outlook.com (2603:10b6:5:74::27) by DM6PR12MB4700.namprd12.prod.outlook.com (2603:10b6:5:35::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24; Wed, 5 May 2021 06:41:36 +0000 Received: from DM6NAM11FT030.eop-nam11.prod.protection.outlook.com (2603:10b6:5:74:cafe::98) by DM6PR07CA0050.outlook.office365.com (2603:10b6:5:74::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 5 May 2021 06:41:36 +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 DM6NAM11FT030.mail.protection.outlook.com (10.13.172.146) 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 06:41:35 +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 06:41:29 +0000 From: Bing Zhao To: , , CC: , , Date: Wed, 5 May 2021 09:40:47 +0300 Message-ID: <20210505064104.30248-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: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e481658e-eb0e-40a7-840a-08d90f90d42f X-MS-TrafficTypeDiagnostic: DM6PR12MB4700: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:53; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IV9XG7x40X32cPH1OXl17aaGQU9LB5uSHyCaRNyHnj0BlLaAYeaovIt0IJv3vCSBkSMoFrKbaFpg/ZAiVgUqGXpL1ju9KIuStk0KejjxhqWBXRkU47OKHs+6vLGe71NaZc8LovXf8FpnP6gQwINA0/vpLpa3X1ijAOKccJEXBb9iGTlpZTYlS3PpCnbR6vCgVOpSBofx2rHonc94bhd2QCXv7y8J/+QKiWE/E4RvM6nTAenzOhJYLT7Ai76xFuEgHLZmie74i7xHQND5VDprvH1j/1CJi+aD0GmCmjpFb1ZGMlNE0N24G87v1UY8XYZb8he0uz+Lwf0XF1hdksvet3m469V22A7F1sAP7O8eL/vUwB3Ud1O8V23XqgLjcvCPa1ii6b/1E/x7/VfP3Br5BhZ62k16WCYpmiC5Zsq0BcitNQlv7L+5xSQDZtipwudN+MBCe11hz8MrMwPt2C2SjRZN/jrgY5PhqtqTd6OePD+0FTxYU+oYpVovlEdMCdzX6a1XmqNTh5J/meRP/Tzxk5T7zM+ICIHqp7VdD6J+cBZdLyvP2hk63FDmlDLpzgyqg93E9ri1pd4W3EnfgfGXU71DtM07eb9l88EAoFBEtzj/N0ogxT2CIcDXY4UQwnoTiDjvhcOIISDLjzVRs5Y45LyvjRz/dYunuO5B0gPn7vA= 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)(396003)(39860400002)(136003)(346002)(376002)(36840700001)(46966006)(86362001)(110136005)(82740400003)(70586007)(356005)(54906003)(36906005)(36756003)(7636003)(1076003)(70206006)(83380400001)(316002)(7696005)(478600001)(8936002)(4326008)(8676002)(55016002)(6666004)(5660300002)(2906002)(36860700001)(26005)(16526019)(107886003)(82310400003)(47076005)(6286002)(2616005)(426003)(186003)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2021 06:41:35.8127 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e481658e-eb0e-40a7-840a-08d90f90d42f 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: DM6NAM11FT030.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4700 Subject: [dpdk-dev] [PATCH v3 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 --- 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