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 6AAE2A0524; Wed, 5 May 2021 08:51:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEB1040040; Wed, 5 May 2021 08:51:13 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2076.outbound.protection.outlook.com [40.107.92.76]) by mails.dpdk.org (Postfix) with ESMTP id 164304003C for ; Wed, 5 May 2021 08:51:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nz2eNubjKOiM973ehWI8TJYQF+hnMX0+LaoMeOg3Bup6N9A2AZTcLmU8fC71NAfLhD9klCNWWmVgbob0LIXLXGC1w3on0cICH+4uj5h2hYhnnIPbd3Itxet+YItFbiqNKlBusoxIoowJ1neyV6VVRq13zI20CI4K1lCyIqfeJcgVr9maUo7Pip5Xa6PAVasjRLg/XL5QVmgS27fbZtEG/f0srtxSP2WPiF81ZtBWSmlQi9Yr5ZqXxgoabn3UY63PuACm312XrOGMFv9fPgufEudMeFLr4KMXoE5FEBamNu/HVLZobaZFDSp6rPLerTUqDShnFhUhRTwKY0lvSI3nUg== 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=hFiLMfSPEUtiWDHRBRbxUr7R1oAAR8lvlhDZvwccFFxvlWhDGaPBtUWNrxA2zbYMX+Vh+/wMHvRw9F6vAYOJArsIHT/l7AMYbIZgEfp3bLY40RLqDUasTCCZt9RlIkzaQit+wtmDuXYhGYQLY/d+0Qb9+M/JEWsy/vxZvYCTJ0SVR9mcggQPD0yHLHoy/Xd9PzjM7K0SXoMyzohdpQg5tEPim8WoXjujBPuLVDsXIL8eQkDPxs5CvujdEoAHU8HZjNBbc0kxsaCwv8VBNpZku77O1ZI9lUk7AyXAfPf9nLUpxPcB2PRzbvcaol8hoA/LHvxpHmTusbrPzQ+2PGUliA== 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=tkFkJQUwSgsz4hRcrFXelgeT9fu9iwbr0STU5z0BKtaWnVDxVkBXAkQ5btbxBtgrVgW3YgNIZAwPMBRmJDN4bJUoQO3+utIkDpuf/vt1ZAwsvxOCR+pMJEmJh5NXOeuuAtCI2rrWVfzNyNd57s4826d896pYICupqb3sR/SG+05KIrZnPDzr6DaJRTXd+j4hnNKpLRO56fAFk764W2w7o1NKtOz4Bm2h1aUQVPRT0/1H6SsMxhbdrXT8exvYZtC3SJZHS70DyUQWnzsEC15WoyuGlhu0oN9Ydp6+IxzOznwAQQxsDyTm43OUkgVYscCA8XXQ8/gKnHgVdBqirt40yg== Received: from BN6PR16CA0035.namprd16.prod.outlook.com (2603:10b6:405:14::21) by BL0PR12MB4850.namprd12.prod.outlook.com (2603:10b6:208:1c5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.39; Wed, 5 May 2021 06:51:12 +0000 Received: from BN8NAM11FT046.eop-nam11.prod.protection.outlook.com (2603:10b6:405:14:cafe::6d) by BN6PR16CA0035.outlook.office365.com (2603:10b6:405:14::21) 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:51:12 +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 BN8NAM11FT046.mail.protection.outlook.com (10.13.177.127) 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:51:12 +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:50:27 +0000 From: Bing Zhao To: , , CC: , , Date: Wed, 5 May 2021 09:49:51 +0300 Message-ID: <20210505065008.30680-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: 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: 059c9a2c-6749-45a6-903a-08d90f922bac X-MS-TrafficTypeDiagnostic: BL0PR12MB4850: 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: WVsgZSkE8ZwiEquHj22TEkCxx8NUbJwIg1C2YehILgqXUL4U4z5ENg3CB/51u7HW8kLm53mGlQ+hs8RBwDCXt/AOlwuRfCWZwoZAP9RZa72aSsnd24GkOft8Y+monZmT9JZ62uIAM7qd31kR4sMTZgstCajHVIfsc7kT56cWyc24y26AkjVWzJlh2F9w5e8yqR0XlISrgxiXA/eSAmXEpjRjblWQ96S7cnJtts+TPTBERq0ruc64hNrFX+I8D6Q++Db4cczkbZQzzWtGOVqx4E6IPFFEV6G+bm8KFC/aOZ0lA1b5bLbjaEKXC7WHIsg2kYQN2lftMeLvslYkRu0tiU1DNCPGmgo3380G1OgyJyHH4ejKwaLYKf694YhzfbPdWkkYeV2fthhwEoJbrxYLcWyM1RyoRQJFYSWxF4jxqjcXkd5FPeJgtRNLos3ivlxbZLvWGWkUSWJ9YR4OFnwf6BDmIgnFV+BhdoM7kVFG02mqAd/6Eyl+5WZ0Eb56WPi8rUg6sVX+/FsDtq5QsKNDASctJCJm9nbURs/wdUo1veZ8jsWu6X8Kzj+kOqe+vilI2pTWuDWNXYaVHk5yT8CNEYLKqPM/nPW0u24mD3/MOL9BH8BmXG8DDuZO0WtJ7532R7Q5tj2T3Ues48/uSkGZslGIBcQN7+DPWtj+p545KII= 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)(39860400002)(346002)(376002)(136003)(396003)(36840700001)(46966006)(8676002)(316002)(7636003)(1076003)(356005)(82740400003)(186003)(6286002)(2906002)(36756003)(55016002)(110136005)(16526019)(83380400001)(54906003)(26005)(82310400003)(36906005)(70586007)(426003)(47076005)(478600001)(36860700001)(7696005)(336012)(4326008)(5660300002)(8936002)(86362001)(2616005)(6666004)(107886003)(70206006); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2021 06:51:12.0138 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 059c9a2c-6749-45a6-903a-08d90f922bac 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: BN8NAM11FT046.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4850 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