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 771DDA034D for ; Thu, 24 Feb 2022 17:02:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 702F942711; Thu, 24 Feb 2022 17:02:00 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2068.outbound.protection.outlook.com [40.107.244.68]) by mails.dpdk.org (Postfix) with ESMTP id 0ED484114D; Thu, 24 Feb 2022 17:01:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IG4u7A9MJQQHbPdVwH+tUApgzPx4/OIre3QBG2i0Py9Ue/JbbVmKXn7PP/nIAzfSTnUkn9H3gAIdjmHpKPk9A5QLFPinfMv3l4DjrCkGCKhOz6OyjEgpZ4em7QZVe1u3WnM6kxTRwWDFhPhV3al0s9OSDAoXBFiumzyBfO+u5YlZ7aBAxZoz5uU+9g5QnqvIRFyTfGmbsgPaVoJHcydOUER1jJEumukBP0QW+Q2NKqCNMGOUlgTouAAmnIF747NGEIXLYevbLjmlxW1pVjENQmwxjG4LmVWv0e+QVHpZXnmWGt67U3b8mQHgR+e2aIgTQIumrPHG7SZYR3y89ZCokA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=znt3K4H/Y3TBASE8+C0rlOQsqRHkTBOoH+UTsDcnHgs=; b=oW9tU7jvR+lGCHl5cxINF6pLOpnvt0RA7C5wN5mKtyWDhG9Od3FxpGRYhVxvxbORbLlF46IEBhaGxuTvEHPLfLye5KKpBx5e2y9TfCtgpBoMmm0JXZ+0RTvUObcJMSzvohCXglblFoBqH/mjVSZoebdrLRfOD0NTwvfcWkE04pI5hNPQiplOMiqfKqa98kfTlhAIi5vA4Aqsleki4tKQ34g9KUxFB8fnyufJaqtbOwojxG/mtjEh2Cc0aCjAyxCq9pzNgSw0uufIk8sokVUESwMd8CvNGUlQx/yiqPAoWsXIWgNYi1pJHB8m0k3r+Inqq3SPcE4GDzDYzX+vO1gRiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=znt3K4H/Y3TBASE8+C0rlOQsqRHkTBOoH+UTsDcnHgs=; b=iysTrE5sB8FhJr0Cnr6MNBTRE4Q51p2Q/953EdH3sQ875zv5KleOqI2K80nq4AG1G2NnDQyukxPW+Xd5YvqoGfZANSTJZsrS2cRJ+Oj0GFAaIpcBPddVnT/t8OytU1rGQBOUKTTWGxyYzIOw6MI5OMcp3rbAekRsvp7ISPQvL4H6ZTN4jWLgqCOmRs/h6w2yyCE5hVPIVtTKuYyUhUwGj2Vsl+pL4MzwAu6qT23VtMbxO01ATLq281SxxTTEeuLYsGSOkMqRX8yrPFFf5CgpikxsIqksthxlUb2G9D4HAufftXdhi0KitIg2U9WIXwkXY0cLMa4fMbOpc5uYyf6zVw== Received: from BN6PR22CA0059.namprd22.prod.outlook.com (2603:10b6:404:ca::21) by MN2PR12MB2957.namprd12.prod.outlook.com (2603:10b6:208:100::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.22; Thu, 24 Feb 2022 16:01:54 +0000 Received: from BN8NAM11FT021.eop-nam11.prod.protection.outlook.com (2603:10b6:404:ca:cafe::51) by BN6PR22CA0059.outlook.office365.com (2603:10b6:404:ca::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19 via Frontend Transport; Thu, 24 Feb 2022 16:01:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT021.mail.protection.outlook.com (10.13.177.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Thu, 24 Feb 2022 16:01:54 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 24 Feb 2022 16:01:53 +0000 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9; Thu, 24 Feb 2022 08:01:50 -0800 From: Viacheslav Ovsiienko To: CC: , , , , Subject: [PATCH v2] doc: fix modify field action description for mlx5 Date: Thu, 24 Feb 2022 18:01:36 +0200 Message-ID: <20220224160136.20039-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20220224155737.18039-1-viacheslavo@nvidia.com> References: <20220224155737.18039-1-viacheslavo@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1d3ad42f-7747-4c33-a16f-08d9f7aefa60 X-MS-TrafficTypeDiagnostic: MN2PR12MB2957:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MZ/jTj0JsJYpplAGpnN7sLxs15yqu/X7UdI/gR8MCJptRmWFcTmQwKG3+hD79sbvEV9xhYPD7jNC+VDYwrbhTl8s/EJGAplew0Asowd47r/XYRWk+PRKp4Q0uZ0sJtWtwH19Lnf2zvrmxve35NNWQT6OAOd82TMCmvlABsqIfR/H8mW/y7reUHQb8V6ETrMCQmfeaIcsG483P8kTnxAm1LSXpkAJHBe2r8TWdRPnNuI0jvs1F66RbpCma/Fb9duzt/P8rpqrMG5h5nhUKnHCmdDit4aS3ccoJhj9BGZkKYnC9F6kknUg2tz5VP7MfAWSDngPmLcF+nsVfdX1Gyv1+/A78zkdv4GSaJWA9FD9+4IWXwrtVEd5TPfB8Qt75W7+087KHEmcWrYLLJsad6kdoyjiQC91d9/iwFtwl3+k4S0sDwa1Q64sG4yflMOppHICK32XCymXm9f0ok5pOTdT4/Fww+sF9YfKdKMPyjyKf1wXLUTnIODkMqWpuXQypr51PnO+ugns2aF0vsinNGGlsnes6wlHNtK6q6AK9dtkPgN+eaWdWjxJyJkSBzy/m6u7IL30QPFneF8D0nbR+xtbB1Su2sRnIiWb/d228ohLjfsaQEH4sXR6xlQFlSX87CXjVbiG6+feejuUgWitmgaVPEBwwsvrw/0JhmDt25fQb9yTfuQbpdevJJJ4Jxn9Iba4yCv7g5ewdCqYQZHLU9JSyw== X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(36756003)(356005)(81166007)(2906002)(36860700001)(8936002)(40460700003)(5660300002)(47076005)(8676002)(86362001)(7696005)(6666004)(83380400001)(4326008)(55016003)(336012)(426003)(316002)(6286002)(26005)(186003)(16526019)(70586007)(70206006)(82310400004)(6916009)(54906003)(508600001)(2616005)(1076003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 16:01:54.4767 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d3ad42f-7747-4c33-a16f-08d9f7aefa60 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT021.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB2957 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This patch adds mlx5 specifics description about handling the Ethernet type by modify field action for VLAN-ed traffic. Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 7b04e9bac5..7fe3855175 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -407,6 +407,11 @@ Limitations - Modification of the 802.1Q Tag, VXLAN Network or GENEVE Network ID's is not supported. - Encapsulation levels are not supported, can modify outermost header fields only. - Offsets must be 32-bits aligned, cannot skip past the boundary of a field. + - if the field type is RTE_FLOW_FIELD_MAC_TYPE and packet contains one + or more VLAN headers, the meaningful type field following the last + VLAN header is used as modify field operation argument. The modify field + action is not intended to modify VLAN headers type field, dedicated VLAN + push and pop actions should be used instead. - IPv6 header item 'proto' field, indicating the next header protocol, should not be set as extension header. -- 2.18.1