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 C903EA034D for ; Thu, 24 Feb 2022 16:58:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B84E242715; Thu, 24 Feb 2022 16:58:00 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2089.outbound.protection.outlook.com [40.107.102.89]) by mails.dpdk.org (Postfix) with ESMTP id 475FA4114D; Thu, 24 Feb 2022 16:57:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PM1bQLWLKQfLTBeKCMG+aoFCscOtAK/kmB7u0ehVSo4rb279BZcEey5OZ0pv5YgbTJkpZP6ygHtG6ZgTHkUpN9gg01iMhsvJB09ReL4UQZyQ+hiQ4Bmg1v1kZk1Fl4eqgtngM62M5yIfje5ajrGkgoFt/3QTlv9K3aq1DY2N7IcnFQq2YytF4AyZLW6KwY2lkC7EhaMeNVM4QMS+77e8zWxZPk3aiqwIpaM4AFutfqlyc+EzQejKanDn+fpFCSGsvgIw7VGJK7dAaih+x6gpoIfYIzvTtSC6GXC3ePchkuTCNK3n1ma0i3oF45fYp8BprfQCOM3nZEJARs/hxBQk4g== 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=jTJG4YGP07fk/Ge9Ee+0GzjJ4lYixByVocz74YH1qmk=; b=UUlZECjEwuWRTM+P5hsFvXJ6n0XVLpbzcft2Fm/NX0LEzuFEumflxVRKSOhrh3mHs0PmsgOF5VeBJdnLyo4mKLEVogucyP4q9+HfPVW/+3Eg6MtvWg8mCxFhiv4+VJeq2KH9wHCO+ytuZBgj/VSwY4TgACHxsVDUZeDesy2MoGARppySh1S3dE4Hjp3Zc9M57kKaCn1pogZdVwxoA0LAIH8A9vNK5fTf7+GcEgrSuQ5kRGrzSpRc7hfrI0cRmpaSNXCYBBgT0+yyt1oufzAUyGYqFvFVVU0fpFo6cu8UGknhhj1VRh5Y7ynT7xd6dtjQcUH2fZlPMyOas3e7VEjENw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) 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=jTJG4YGP07fk/Ge9Ee+0GzjJ4lYixByVocz74YH1qmk=; b=LWZmgx9Rabi41cuwtq5MG/aMAXyLmccIfjFA4y2Lrq+Kuc4P3yXxTuQPRycxT8ghPehrIFHOq08cW4OjVetLjMcv1DOxJ+FgADohFtt+bnQql7jG0BZ5+Eqc/ciWirT0OEsjLYz0v4Bd6XEVVDFzHnPTYJ77w9FVXRgYAgzRdazSOTUTXErLr7vTvhhoneaeqQUkvmeunESLSlRTH8BDy/JIQfm4Ka8R1ueMQjAB3/nzwkZ9IU4XjSJ0mdpUaeOOJHI+BKJ2LNwBetBq6h3TIB7q+fVoqotV5RJBFGDKML6Uo5rCANKi711hC4daBi3r3h+QsUJR+sOYemTovRJklA== Received: from BN7PR02CA0032.namprd02.prod.outlook.com (2603:10b6:408:20::45) by BY5PR12MB4869.namprd12.prod.outlook.com (2603:10b6:a03:1d9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21; Thu, 24 Feb 2022 15:57:56 +0000 Received: from BN8NAM11FT066.eop-nam11.prod.protection.outlook.com (2603:10b6:408:20:cafe::c9) by BN7PR02CA0032.outlook.office365.com (2603:10b6:408:20::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22 via Frontend Transport; Thu, 24 Feb 2022 15:57:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) 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.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.235) by BN8NAM11FT066.mail.protection.outlook.com (10.13.177.138) 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 15:57:55 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 24 Feb 2022 15:57:54 +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 07:57:52 -0800 From: Viacheslav Ovsiienko To: CC: , , , Subject: [PATCH] doc: fix modify field action description for mlx5 Date: Thu, 24 Feb 2022 17:57:37 +0200 Message-ID: <20220224155737.18039-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 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: 7ee96908-d6f7-497a-e5d7-08d9f7ae6bfa X-MS-TrafficTypeDiagnostic: BY5PR12MB4869: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: yoWrm4flOiokGC2FikjM7rTdY9ErKglnXcPSmuaineGmtuH0/xROKqCQ9YzRgb5GgUFxPIPJr1VoM9F3JisvA4w5P+X61qiZzPzei1LbK3Cc514pl2XvpTg0WzdKQbvhbS26Fd4merzEGYchdK9wi/S0WJKQqwgseRHe7RoSGXceEUbgprcnnBILokbsF80llAkz3ut/OmBJUxX5rrxXqERRbrin/ENpDJbbvl8Qo2K9BeLUZF5RwXB11t38RrF9qddjpNhHkO7H49Ri2bxVoBvMCF9PClRhE79p5F4mkF4D66Q70SPwSlrQyulZE5xRmQGpbxQ74h7bkPuYjbnbk/BWTOLnEhW/jszn4PwJbiBQebnYg2GNbb1az8Bfnr/gycwXH4laun+4gse0LYb/30raqg4H3aF31pREq3hAeFTocl2zNOu8F8lDoEu2BA5i09MQPGaczu/KBCHkiPjPdBMR7rPktw06Q5JfAlB2b4mWPUTVn3lnnRgnhxXHL4dt2VYkxx3T7GtcS5NGTrJxg5lXYugCTs9H+t7b6EUcQ3Lq8LoK39mGg280RtBYrZGhig4mVG+HifdthwLAktSfSoGCWSrgJo6rLJ++2ILE3RFUucYcaPn8sRNyzNyxMSqlGLkilnV6oeQvy2F1nzUh4VrIT7nTjdSJjs7jfqgBi3775znwQHmE3tBGvlAVYb0N4e55C7sb2K9Yg8m4H+veDg== X-Forefront-Antispam-Report: CIP:12.22.5.235; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(2906002)(316002)(6916009)(356005)(81166007)(55016003)(8936002)(70586007)(70206006)(8676002)(4326008)(450100002)(5660300002)(36860700001)(54906003)(16526019)(7696005)(508600001)(6666004)(26005)(426003)(336012)(186003)(6286002)(2616005)(1076003)(82310400004)(36756003)(86362001)(47076005)(40460700003)(83380400001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 15:57:55.5892 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7ee96908-d6f7-497a-e5d7-08d9f7ae6bfa 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.235]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT066.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4869 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..efc971a89e 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 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