[v2,0/4] net/mlx5: add integrity flow item support
Message ID | 20210429061634.3481-1-getelson@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 9E162A0A0E; Thu, 29 Apr 2021 08:16:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2513F4067E; Thu, 29 Apr 2021 08:16:53 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2042.outbound.protection.outlook.com [40.107.236.42]) by mails.dpdk.org (Postfix) with ESMTP id 00A4C4003E for <dev@dpdk.org>; Thu, 29 Apr 2021 08:16:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A1uD8G4J7UYn/qo+azp9bQgGE2mOD1XL7O/WJRMQReZFCwHzLJJWX/b7GyxSoaYN8+cVbYPn7xI06CleQZ4o/14yX0/92nqSEsryIplmj52LjWIALTSR7NFpLjNN5GOr62yo/ozDam2vRe6Q0Oh2vEoFS6dZnLd9b1UOY3ALcAXvc+ymGxx2gGWIghoyW3uoz/n1QojMeUC/pP6E6C34C1Jw2yn0Bl9C0wGvL60SJJbShbZIuQs3Kor2FeFMAQ5puLY3vRarJ/WaqRS1DEymgi3iZDjUHMRZanNTzfN70f3gPN4zp17cJ0Yn/1+4rzw0R0YfApjNvg87v5sVGeC58w== 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=0wN66x0+9DsTJECboIl9chVpdBlLoJY0NQRO/dxLMpQ=; b=EF1cvhuSFKNMKxj9+k9DrgcT6ex+w7DUSzYEgTG/LtvGrtllljpcF987h38nm3Fd59tfvjQhXQ07MnykKxAW/WvthCtzO+QSYQHzePALRoMusUKo2avK4I9yV2+V6qvd5mAnVNdmUsim8MHTYtwQMtQnsQe8jCnCGpcWfto+LAiOiVQjtldfZCO/Mep+7rfe/AA9tBNbd05okMudZHk3TZtGQaProyiQrzInARVgbuICsryXjtrNMI0dKFQCApALM7naBsrWUUDd6KKzbQxYzkgb3Pe3iNWnvDEjk+PLs9LvSTRTSCghqAKQPNsiCTKV5i/tDm8FUAA9Gi/ba9i4SQ== 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=0wN66x0+9DsTJECboIl9chVpdBlLoJY0NQRO/dxLMpQ=; b=JlSnZo/86Dysk/olwCxOu2CxD1+ci0egNcqxlVgmmBV06q5E5tSrhW3LQsGjrFe+gyZGxuqfZK5BJLKr67mK0yHQ+Vc9oDmkOKkxPEvjF7CgJ0+hGRee2kLKu3R07WO7jCKISbfcsdJvx9H1zij5fr6Zmw2UOayOWBU+hfqX4Ash4v58LbTwgsntDxT9g6swUqXp8TePYVE5v+HZo3Lwl3G/0cPLIYUQZAhR6ZUZ9bkyTzV1uLYq2F2LAZScIY1ldCDSwicOKZNhrlQlWnKNBRLjgpoXpt40TQkkPbHc9fS7aStaHEJPug1BH0gZLWNWzS4dlmHJKc3hgVoewfMXDg== Received: from MW4PR03CA0190.namprd03.prod.outlook.com (2603:10b6:303:b8::15) by BN9PR12MB5259.namprd12.prod.outlook.com (2603:10b6:408:100::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 29 Apr 2021 06:16:50 +0000 Received: from CO1NAM11FT039.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::b4) by MW4PR03CA0190.outlook.office365.com (2603:10b6:303:b8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.31 via Frontend Transport; Thu, 29 Apr 2021 06:16:50 +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 CO1NAM11FT039.mail.protection.outlook.com (10.13.174.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4087.27 via Frontend Transport; Thu, 29 Apr 2021 06:16:50 +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; Thu, 29 Apr 2021 06:16:48 +0000 From: Gregory Etelson <getelson@nvidia.com> To: <dev@dpdk.org> CC: <getelson@nvidia.com>, <matan@nvidia.com>, <orika@nvidia.com>, <rasland@nvidia.com>, Viacheslav Ovsiienko <viacheslavo@nvidia.com> Date: Thu, 29 Apr 2021 09:16:29 +0300 Message-ID: <20210429061634.3481-1-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210428175906.21387-1-getelson@nvidia.com> References: <20210428175906.21387-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: 6714049b-148c-4344-d73e-08d90ad6606e X-MS-TrafficTypeDiagnostic: BN9PR12MB5259: X-Microsoft-Antispam-PRVS: <BN9PR12MB525993834203100B669CCD1AA55F9@BN9PR12MB5259.namprd12.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:308; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hKa0OKMbYxXnhQEw3sStka6X67t8booBZHnRTi/zq4IpkdNGLlJpEp+Pc8j/NCUoblVINeyYUKi7XzPQOWA2JWO02wulL6HIWOcSMC68nl17MTnTnODXskamKwSKNlQxdBms8TKpuKtKUSV/SEuiyRJWyG1VDx4MUWN8vvdV7HvKQ3J7IoXOfZ7E8OLo8KGU5mrseYz/hU+lnKYTh7NQktnoCYsILSm9TKziQku+1gwsiSaK7uqt9P60MCkQS6Slu3qmlClXIxnhKFi9qfgIrbkD5jlyDZun6gM2e1TP6sJxcB177LZHt3vKFzgJvJhARKgoYuryxBDutXYlCp25/sNgf5qIchMOYqyZ+Ox1P3yMYSxXfI6hWCiPTGHvhgnGJIgArxy2abVw+gPkHZYR/sIoodUMzdnzGJhXKO5/JisCYlwubv745Jw46AgbzuGeCa5a8ft5yOfrBAo/QZSSYFe9uP3bZVwGatD0Ok9ygZu1Ya8fbpOwzdJTDTrL9A06XTGfbMDIyTjWLXPw5eALkzd9siFtCrx/iMhiAguGt/vFmA+n/zRl8XfcEjis1g1e27f4tSdju/NsHncqmaAc7qy1kluGkr1oN9O4vHhDakBJK4HPGGdCV7eBFcc3Hk/+znNlgc7z9iDUN4pOGZgiFMecW1v00cGs3fRBXtkUKUw= 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)(396003)(376002)(136003)(36840700001)(46966006)(4326008)(2906002)(2616005)(6666004)(5660300002)(4744005)(7696005)(83380400001)(8676002)(426003)(6916009)(8936002)(36860700001)(6286002)(26005)(36906005)(86362001)(47076005)(186003)(54906003)(16526019)(36756003)(82310400003)(7636003)(336012)(82740400003)(1076003)(70586007)(55016002)(356005)(316002)(70206006)(107886003)(478600001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 06:16:50.5592 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6714049b-148c-4344-d73e-08d90ad6606e 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: CO1NAM11FT039.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5259 Subject: [dpdk-dev] [PATCH v2 0/4] net/mlx5: add integrity flow item support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Etelson, Gregory
April 29, 2021, 6:16 a.m. UTC
Support integrity flow item in MLX5 PMD.
Integrity flow item was described in
commit b10a421a1f3b ("ethdev: add packet integrity check flow rules")
v2:
Add MLX5 PMD integrity item support to 21.05 release notes.
Use RTE_BIT64() macro in RTE_FLOW_ITEM_INTEGRITY_* definition.
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Gregory Etelson (4):
ethdev: fix integrity flow item
net/mlx5: update PRM definitions
net/mlx5: support integrity flow item
doc: add MLX5 PMD integrity item support
doc/guides/nics/mlx5.rst | 15 ++
doc/guides/rel_notes/release_21_02.rst | 1 +
drivers/common/mlx5/mlx5_devx_cmds.c | 31 ++-
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 35 +++-
drivers/net/mlx5/mlx5_flow.c | 25 +++
drivers/net/mlx5/mlx5_flow.h | 26 +++
drivers/net/mlx5/mlx5_flow_dv.c | 258 +++++++++++++++++++++++++
lib/ethdev/rte_flow.c | 1 +
lib/ethdev/rte_flow.h | 9 +
10 files changed, 396 insertions(+), 6 deletions(-)