From patchwork Wed May 5 06:50:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bing Zhao X-Patchwork-Id: 92832 X-Patchwork-Delegate: rasland@nvidia.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9F77A0524; Wed, 5 May 2021 08:53:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6406441172; Wed, 5 May 2021 08:51:48 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2086.outbound.protection.outlook.com [40.107.220.86]) by mails.dpdk.org (Postfix) with ESMTP id 9DD0941134 for ; Wed, 5 May 2021 08:51:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aluttUdihEYQVZvfHSRjpqYrVSGHm4NaJw9ta6nRVIoprnWIIZs5RnnMftwQMMiU4KPaK28tXelicxVYb6KaOOaYehneEi0sPBnUMwHuYfXy+PvgquLaAf9FXLEqZb9ATDsO4rH1C2HnSkjJWi+CkQFhMkO9HQ6kMxm9zRgeseRVRq4jUBmhJwNnixAKfpIV7J0YWqIELrdsTy+isebQpCiOFhJWdMeAqQxaom65X2+CrvhrSMevIeqAVSes1nSMAKzKlOg3WmPXmtnTG5QIwbwaaGqwrJJ+QGe1OvhsjNyi6ecls39biqmxp/zPfeUSohVEVjCIOcA8+hSyLd9VDQ== 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=qT20hghCzJyHCfLbA6SqpQGXQ3p+k5puvDwuStiiZPU=; b=JK+mbY4nr4hf8AkfeoQH/xoLSsRd442Z2BteQ5p6zm1dZT8D0YjPPyGUs5S2bIwb53IAc9ssHsO0gwblwnazOmdtDWph+CGNLY4K6f0Hi015rs7Znmy2vPOHcddxkWCuBViLmEuZlI5bpV+2dxf6VcZAJP4eljNv4S+WokCXVERSmD0t1Bydw/PhCs6JHnvd/AsdpWVVNgsCMhio1mPO+69vL7hq8yJxP9tcL7d75kkomC8hIW5eChItwr9ZAV2+yyaMiIqmwkfmA/2AG/5/JjRRcLrOGuf/CPA6+J+1yLac2uBMyDdeDbWCOPJHEQkW3oVW8iJ5gGg3K8xHly+2wg== 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=qT20hghCzJyHCfLbA6SqpQGXQ3p+k5puvDwuStiiZPU=; b=GK6908EPOvY3F7DG/Y+Y2RVjXlqTfOhPJxGsKHnzLSq+jeX7yjSqUXtmf5wRS5jemukvAzEreyYN6Wj6NihmG9taXVoic5KqJqN7BsIQvv7G8vMPMXzjVsEhOOlIs1cP0ZkyYXrT1pwPAyE35ttUM1o4T7zLntkCzs08+3JOwF3HmHkr+1tCDCsAJtRQXMwZkLoUq9XCK7sapHsJxmNr9mU2hwplK5xlbXJf0CvKBg0vNPqFBy9QEpQchR0KSmoq/koYRP1me0ZNnBCyuhIt74apMjmfTX9kfmp3Q9mjg9s6m0UITfj/9NjUdlchJ4vLqRn0iE+27WDMVvhEhZ8cKw== Received: from BN6PR1101CA0006.namprd11.prod.outlook.com (2603:10b6:405:4a::16) by DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.35; Wed, 5 May 2021 06:51:46 +0000 Received: from BN8NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:405:4a:cafe::ec) by BN6PR1101CA0006.outlook.office365.com (2603:10b6:405:4a::16) 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:46 +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 BN8NAM11FT009.mail.protection.outlook.com (10.13.176.65) 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:46 +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:51:41 +0000 From: Bing Zhao To: , , CC: , , Date: Wed, 5 May 2021 09:50:08 +0300 Message-ID: <20210505065008.30680-18-bingz@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210505065008.30680-1-bingz@nvidia.com> References: <20210427153811.11554-1-bingz@nvidia.com> <20210505065008.30680-1-bingz@nvidia.com> MIME-Version: 1.0 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: fd1a28f0-37f4-4b36-5ac6-08d90f924012 X-MS-TrafficTypeDiagnostic: DM4PR12MB5054: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:172; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y7RIVFYV3aNvREQlQidagACl/zwTsDTH1Ny3RqgO8FsCU8322vgcQpj8hchy3g05FPHZKmm3LCssYMj+Ezt3F7qiMw6RXdgWFNFnly5iwaKWMjIGwxOQGxwD9Yz+VkNbQxIUveEWm3kIBOKAmPueTMxs5Mg0VxIm22gLH1Tvz5QE8ZeQy13blZCbLLREMTyR2F7Tj4A24kdv9Qp+wwGvhrFmYKnVxmgG9N2nBb+JMeldgBA0lI1Gbz4bcjKGGDmjU3lPJs3rNkchVKmEs4JOPv+SuPdMb+AhNHK0eFieg2WUgDM8UnONWsIkJwvGVFij0GjvY+MFouu+TCPmRrPsZqRQGqhmQXVIH+/tH0cosEqznfkLXQmkUKM5/xmVae105KPOUoYfwscdGps+6nI3tcM7stlI2BHbVlYvFnwoTydLKHq60quNpi02qle/kGgBW/HrlTZjxTi/wAJeLjCdZcXd0ZQ2K6LSGXtpDjLyMd+Dydq4RTI337qPXiS47XvNyoowencfGDnQ8a5dkchE/OpeOkyolYPnceZbl91NptBfAJM3/qkeEDolHW79pDBSvUvW/08dmXyoc6mr6rms7MC1tGrhJMryOnlWlxWR3xmaQnVkhMcNC7zoQbpiTBCMvhNn3Jg5q3RMaP1sGgf7CQ== 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)(136003)(346002)(396003)(376002)(46966006)(36840700001)(186003)(7696005)(7636003)(8936002)(15650500001)(6666004)(336012)(82740400003)(16526019)(55016002)(36860700001)(107886003)(26005)(5660300002)(47076005)(2616005)(86362001)(478600001)(426003)(6286002)(36756003)(82310400003)(110136005)(4326008)(83380400001)(70206006)(2906002)(36906005)(356005)(54906003)(316002)(70586007)(8676002)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2021 06:51:46.2363 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd1a28f0-37f4-4b36-5ac6-08d90f924012 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: BN8NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5054 Subject: [dpdk-dev] [PATCH v3 17/17] doc: update mlx5 support for conntrack 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" In the release notes and mlx5 NIC document, the support and limitation of connection tracking are added. Signed-off-by: Bing Zhao --- 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 ++ 4 files changed, 18 insertions(+) diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini index 8046bd121e..0deb4ef547 100644 --- a/doc/guides/nics/features/default.ini +++ b/doc/guides/nics/features/default.ini @@ -66,6 +66,7 @@ Module EEPROM dump = Registers dump = LED = Multiprocess aware = +Connection tracking = FreeBSD = Linux = Windows = diff --git a/doc/guides/nics/features/mlx5.ini b/doc/guides/nics/features/mlx5.ini index ddd131da16..45dbe75d07 100644 --- a/doc/guides/nics/features/mlx5.ini +++ b/doc/guides/nics/features/mlx5.ini @@ -45,6 +45,7 @@ Stats per queue = Y FW version = Y Module EEPROM dump = Y Multiprocess aware = Y +Connection tracking = Y Linux = Y Windows = P ARMv8 = Y diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 2bb4f18a08..238da94118 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -107,6 +107,7 @@ Features - 21844 flow priorities for ingress or egress flow groups greater than 0 and for any transfer flow group. - Flow metering, including meter policy API. +- Connection tracking. Limitations ----------- @@ -418,6 +419,14 @@ Limitations - RED: must be DROP. - meter profile packet mode is supported. +- Connection tracking: + + - connection tracking (conntrack) couldn't co-exist with ASO meter, ASO age action in a single flow rule. + - Flow rules insertion rate and memory consumption. + - software limitation: + - ports: a maximal number of 256. + - conntrack: a maximal number of 4M. + Statistics ---------- @@ -1680,6 +1689,11 @@ Supported hardware offloads | | | rdma-core 35 | | rdma-core 35 | | | | ConnectX-5 | | ConnectX-5 | +-----------------------+-----------------+-----------------+ + | Connection tracking | | | | DPDK 21.05 | + | | | N/A | | OFED 5.3 | + | | | | | rdma-core 35 | + | | | | | ConnectX-6 Dx | + +-----------------------+-----------------+-----------------+ .. table:: Minimal SW/HW versions for shared action offload :name: sact diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index efd68e8c7c..4c4c37ef87 100644 --- a/doc/guides/rel_notes/release_21_05.rst +++ b/doc/guides/rel_notes/release_21_05.rst @@ -166,6 +166,8 @@ New Features * Added support for ASO (Advanced Steering Operation) meter. * Added support for ASO metering by PPS (packet per second). * Added support for the monitor policy of Power Management API. + * Added support for connection tracking action and item as well as context create, + destroy, update and query. * **Updated NXP DPAA driver.**