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 8A08AA0A0F; Mon, 5 Jul 2021 13:41:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04EAD4068C; Mon, 5 Jul 2021 13:41:19 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2083.outbound.protection.outlook.com [40.107.243.83]) by mails.dpdk.org (Postfix) with ESMTP id D85844003C for ; Mon, 5 Jul 2021 13:41:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIRcKCt5Xbm/LpX1oLq5ROa4TyxH7xtAgrb7LM9jeRvHvNTAMX9ZLD5PYPqw0ESKvsC6xOT9zaSgxw19RhIRxbHjZFYKu1IC49Zr+NnhOlTpBBo9ZMFawWTSkKpw1XfWd4WHfzrDYXwXazhw28RBxqY0tuUcyFOfFsaWdmAC4rqe3F3qUXuy7nDfd+Xbw77JXmEvIH241v7nsCgW+h1bqIOP8x0Lco0LJZ/I3sBIvqKp58VqiJTogyC18DrYkuheIRFhnatbPN6ccXdOTMfVyL6FPG5YeUfQeLEBNfa/fcg4pzGUWkxFD/dbTsszPpK6DL/02py0XPETWoE1krJh5A== 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=XEhNpeTnkXf2b1hQ/hjpQXWSSDfgUMJBp9fm7fn34Dw=; b=bdBUq0bfSnfo6QLv5GeuWvOzdehRbX5SJfv+hl8ADpG+cJwIpeLs8/1197DXQbTR9yDEdXnu20pBHCnjA6hqK46ONUWeNeH3nZQfKVWtp95SpS7pQ+NHrymsgN5UHYzAJt3dOuNlCgEL2TFYh6GvXRhZM/70XUbEURsaQrafvHznwwtFR5lOEFkpnIp09iZcrq1UKCKnMKJA6GICf56IvvcJ7ecbLdhBF+rSXf0tHgUcykexGQdVMmafC2OxqjmVsgCrV1Su++KJREENEIi1dqDBORA3Ab0KSWkiIzU4kP2mLZpmkTHfc9pYXz7yuUG4STkNfV3AmbwTn2ZIcPX7pg== 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=XEhNpeTnkXf2b1hQ/hjpQXWSSDfgUMJBp9fm7fn34Dw=; b=Us1qDxml4mtnUuageL4jGOx8NO3QORcWaZ8vviZ9b8j0rs60O7gBc65RHks4eU2HasN9WwABj+xFAvMsHHeOvcq6RGHBwV5vgNmx33gJ90wZrVhPym+kGYB8Jx6bkRrqg6yo1jsIhCrA0k/ocH4pEBbRWe/obdygKsoR35XgMPjmfQ3s84OVvOeGCVNrKEdBeHQmln2e1L/jYnt2dgCE86FMhymbeLDzbp2+xdFTpiNGQ2wyM9hAyQDWBIiRfqRFU/ExhSsAgmNPBKVflAq7ookp2BOfFYi2KrrlVUL2jXgtUX4yqw+rm1WSJ/vSEzPBNpwhEE3hr/Www9J3W88Pjg== Received: from DM5PR08CA0060.namprd08.prod.outlook.com (2603:10b6:4:60::49) by CH2PR12MB4938.namprd12.prod.outlook.com (2603:10b6:610:34::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Mon, 5 Jul 2021 11:41:15 +0000 Received: from DM6NAM11FT003.eop-nam11.prod.protection.outlook.com (2603:10b6:4:60:cafe::f7) by DM5PR08CA0060.outlook.office365.com (2603:10b6:4:60::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Mon, 5 Jul 2021 11:41:15 +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 DM6NAM11FT003.mail.protection.outlook.com (10.13.173.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4287.22 via Frontend Transport; Mon, 5 Jul 2021 11:41:15 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 5 Jul 2021 11:40:49 +0000 From: Gregory Etelson To: CC: , , Date: Mon, 5 Jul 2021 14:40:34 +0300 Message-ID: <20210705114036.4110-1-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210630070452.14055-1-getelson@nvidia.com> References: <20210630070452.14055-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.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: a53e18dc-1814-4afe-2a25-08d93fa9cbf5 X-MS-TrafficTypeDiagnostic: CH2PR12MB4938: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IH6o2NEDTL6Q/uFNeFEE1M1te2TpTU/5tvGghdmYLOjh+WG+qJVgSxlIME6z8Fwz9+nYK8ZJMwaeg1PgWVr8/xck/gyDH4WVjrUbjO2HScA1uXl6f8pDpS9E8ywzR774jD4LdIzw8fmGgtP9FG8VC7cSzQiF3e45Uy1CjWMDGEQaAlQfV7c/iByfXDd8v35DgYv2ZlOFFXHVTsDFFa5ODgv/leu6zHCyDSdUsQXkdgeZ5utOmnG7Qkd2IZfTH9k47PKD00J2d6kPczewxvcttQnFMrP5HYkDknlcOCSlGGccppr2IGncU+ux+uGufBNs26xtbqvILJTBcGFxWwU/1J5dmPXyxFAfb5LCcEKCID9obznhk05sW4bVKEtYmTTz1FE85ONMqG0XEY9xFmJQToCyjHwfdZHjMb2ZC4+K5f2VVHXu1hxXalB4mAKNEk40z+k7B70k6okBa7hholwdcre6FC3YCSvmb1mB9s1zhMKD1z0qFLzfXCVrswicvA30OVSdcLrcXzaRg4HbNiBbf4GLWZ5eciijlo8JO7EOJLF6d1o8Hgiw5cLGH96kQSlZwD1KPw7o/RuO01cKZuvzO3eWqPgX1taRxotQamZFCbeb/VIxVEx5ZLsU/jXOsqrB6oO0FXlU10frgJYlBEJyI66MSMfyW3y6KMbY/caBXdbwWYkpyHW95kAH9uZJThYl1hdjak76LlR7AkGrJTdfpw== 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)(376002)(39860400002)(346002)(136003)(46966006)(36840700001)(86362001)(4326008)(36860700001)(7636003)(2616005)(82310400003)(426003)(356005)(336012)(26005)(186003)(16526019)(47076005)(107886003)(2906002)(82740400003)(83380400001)(478600001)(4744005)(6286002)(8936002)(316002)(36906005)(55016002)(6666004)(8676002)(1076003)(5660300002)(70586007)(36756003)(7696005)(70206006)(6916009)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2021 11:41:15.2371 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a53e18dc-1814-4afe-2a25-08d93fa9cbf5 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: DM6NAM11FT003.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4938 Subject: [dpdk-dev] [PATCH v2 0/2] net/mlx5: add flow rule match for IPv4 IHL field 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" Expand MLX5 PMD flows functionality with a match on IPV4 IHL field. Allow testpmd to cofigure IPv4 IHL values in flow rule. v2: - update release notes. - update MLX5 guide. - remove tespmd from the series. Gregory Etelson (2): common/mlx5: query for hardware capability to offload IPv4 IHL field net/mlx5: add flow rule match for IPv4 IHL field doc/guides/nics/mlx5.rst | 1 + doc/guides/rel_notes/release_21_08.rst | 3 +++ drivers/common/mlx5/mlx5_devx_cmds.c | 6 +++++ drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++ drivers/net/mlx5/mlx5_flow_dv.c | 31 +++++++++++++++++++------- 5 files changed, 35 insertions(+), 8 deletions(-) -- 2.31.1