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 A9C0EA0A0F; Wed, 30 Jun 2021 09:05:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FD0E40141; Wed, 30 Jun 2021 09:05:16 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2050.outbound.protection.outlook.com [40.107.96.50]) by mails.dpdk.org (Postfix) with ESMTP id CE90140040 for ; Wed, 30 Jun 2021 09:05:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6WM9AtczzHYqO2xIsDdftlRGK0qBTWYynXBN/syN3vpqyiMhq388v0qFC6PNugL8zKiLfSRQMGHWykzymTpuqGnvXgVOKqRocvV/CsOQ/1aafI59KV/1GbTDTqZPcWD2Jkg+NKA4vbTZG3DXjCue6bkypCz4Ekww/gIv49QvCzAjtijZkwmTGNORX1iZkeN0rBPUFLL4ceECOJ5/Qkyz0UxSVaZqB7UkhWtFShPBDiSRQQDVQSER4BusUrSsxfQOmXHht6jvPq6g0mwBzOjoR56JwR3m1AhGqGUiIjc2YXJNx09hOSdqeLcpJjcJCwvRuGtHqT35se9iWhg1hAAyw== 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=u060Yb8g2s7N6kCbw0KMRHL6cpnsk1VMO/0rAY+zGLc=; b=YADQKrkO7/K/JMC/TouysLYiHZzqmq9NcjyV0aJ+1QGXmbQH/l0IEi8bB+OtGcL9BpB7JcAiDpb1+TWQTevtmi/NuTPCGomvgxPrHcFuH4OQhlENC7haShdS6rVEvJ2a24xyd12xC10mp89bUp+xsKCghOwI9dAGWCLT8Cs+hrQhJQyUAV3tKrWkbs149bBZwRgu1q+0K4PmMMiSnXUFtJcu2z8SCNR/T666aMPdnjCNjHWqoACshSehPyR07zJYb4bXDus+qhcjMiAfajsunkxaYD7I4px/FSYUtqSUePlfeBQqY+GtAIDiNUPt2GJMNCAWkeHsdLWH+FADDX8kuA== 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=u060Yb8g2s7N6kCbw0KMRHL6cpnsk1VMO/0rAY+zGLc=; b=ckeTwYHO00DvvSwwPhp9gk+qW391A3PK75mxE6kAgeXm+Qsb38ZKa6A2D0PF4v5Blsd3TycjCfXA+0jTXEMqkr0LazQoE8qQr6FciPE6lGwtVtto9Y9Zswq7O14pgmPyMreLZZ0iJMfg3szRO7ZGM0eAkE4aNnM0v3qjWXwtGv7LxsXOIfKdFG01b/AcDfk5Jfo86bOLjVExRzgnY6wZXU549fvAG/J9RNqiRjGqselbSwKJ1tnA3nXmOxzalqRIpYSMcX6cLZWPGcu4ptn3TZfGZPwvR/irRU7dxNiBbzb32aYJcaKqnVO65K/vODZPCW0+4jEk40z6jbq6nk120Q== Received: from DM5PR13CA0057.namprd13.prod.outlook.com (2603:10b6:3:117::19) by DM5PR12MB1625.namprd12.prod.outlook.com (2603:10b6:4:b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Wed, 30 Jun 2021 07:05:13 +0000 Received: from DM6NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:3:117:cafe::71) by DM5PR13CA0057.outlook.office365.com (2603:10b6:3:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.8 via Frontend Transport; Wed, 30 Jun 2021 07:05:13 +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 DM6NAM11FT063.mail.protection.outlook.com (10.13.172.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4287.22 via Frontend Transport; Wed, 30 Jun 2021 07:05:12 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Jun 2021 07:05:10 +0000 From: Gregory Etelson To: CC: , , Date: Wed, 30 Jun 2021 10:04:49 +0300 Message-ID: <20210630070452.14055-1-getelson@nvidia.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] 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: 4fe7b9d0-aca0-4018-c407-08d93b9567d4 X-MS-TrafficTypeDiagnostic: DM5PR12MB1625: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jAjH0Zlc6RqBseX/1DSzPMfl9ktMHsYPSCJyEiC3JNI49vmo83yCXRll5TvtYETtt4zPJX/RhKUDaSaoGdiZq+BH0cT63WQ8VTmn1E27tG+oyUe49N8iaWAukEy/xSGAeUq6/86ZzqcfbjImVAkIa7qE3Wa6KZXNN0A+/xQ8OZDSS+c5d/TvZWCE5MkYJMKFkBw539ZaeuuBm6T4Bd8YaR7gD1AfLjIxgRp8xC9u+PxZqN+r1LulmyZ1SFV1QPLy7yJb2lxLksWMlPM/uN/BAEY+hYZa5AvGdJpNwmh8isAQFKurWx8U61r6mJ1GVjapNkuAf3qb+NwzgHpqFJ7vljyjTxQQpvStu9UrM1tdG5s29UuTxOnTxvTOciLlG2pJGOzhY/bZhS1L3j0am5z3FRFKo2xrFMzslH3FY4klbiqcIAHe388/gygWqyLrxvUnejTzaodvdRbAyRtsvIh/r0oNueMlALaWrrMQAdRgjSqKJwqg1aPkXpPMVMd7l1nXESu7zdlRBGTPbTOXaSLGYO+4YlcMMZankT3dh06LXXgueKIZga0JK5+/SAc7LVXm+XsynYyCHiM+vcHMblB+7JKFcVqk04UySbCHpX0y6i19npF5ZJu6y8vfhOpffgn8hEYTDVNrf8aLX0mqbm5a2Y+VZywA3vbRIzPpI5EY56ISDkMeSByNW/xpdLTNt+Gw/yALebAEjXADY4iRxhXxPQ== 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)(376002)(346002)(396003)(136003)(39860400002)(46966006)(36840700001)(86362001)(16526019)(186003)(82310400003)(82740400003)(7636003)(36860700001)(55016002)(8936002)(47076005)(8676002)(36756003)(70586007)(5660300002)(356005)(70206006)(1076003)(83380400001)(6666004)(426003)(6916009)(336012)(4744005)(478600001)(316002)(2616005)(2906002)(7696005)(54906003)(26005)(107886003)(4326008)(6286002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2021 07:05:12.6689 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4fe7b9d0-aca0-4018-c407-08d93b9567d4 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: DM6NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1625 Subject: [dpdk-dev] [PATCH 0/3] 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. Gregory Etelson (3): common/mlx5: query for hardware capability to offload IPv4 IHL field net/mlx5: add flow rule match for IPv4 IHL field app/testpmd: add flow item to match on IPv4 version_ihl field app/test-pmd/cmdline_flow.c | 12 ++++++++++- drivers/common/mlx5/mlx5_devx_cmds.c | 6 ++++++ drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++ drivers/net/mlx5/mlx5_flow_dv.c | 31 +++++++++++++++++++++------- 4 files changed, 42 insertions(+), 9 deletions(-) -- 2.31.1