From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 939DBA0556 for ; Thu, 20 Feb 2020 08:52:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A6601BFA4; Thu, 20 Feb 2020 08:52:08 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60088.outbound.protection.outlook.com [40.107.6.88]) by dpdk.org (Postfix) with ESMTP id 405642B91; Thu, 20 Feb 2020 08:52:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ByYFPO1W8LktByzzZNLFAvL8FB4+DfiFnU5Z0qXsquja8QKlAaDM/DhErpICVMwNmbaEwGgVkJUdEx4NzMG6+D1cljPWmMpnHGOo0kp3jNYvbyg7jZu0+N+Vt3zATERRKak7ZfTAP0Z1J3R1NiMoX4SoN+Vt9ruURE4YKupkjgzJk2dzuGJeHYSbp7yuC2PJivfJDki3Mo+VkgYuQUJRgpvFQY7VZY35jYXZl9AaB/OYTFHqerS9LLB2gSCrLOlmf1C46ckaCCIM3Jz9JGkj/E0PnTZ2sjKCUvU52GQVsvcyvVYGIbegYjwLi5HnQgi90qc66VLO4smxwg7RSY+7lg== 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=rBb35xQlBsVyX3Ul4er6MNdeWGyEWuUVFw/JEi1HwvM=; b=lZDis5dbq3Z27iZjXxWvEFPsFr0VdnHvUt65m3aKom7lThIP4iSgdX7NkViCfN5YOO63qSLA8MISSnbqj4Q7RSvQgrrfZEaV0pT/3UCoNRqqt3j+0gfMYbM38EMwc+Dl1Yk/KAXiqCrwod1P8NgZ0LAkk1PrWe8mrC9BWuuJdk5NiTPsjgEDfMtILl2WTT748BjCHZIRxZbYA8yd8ri9hs43L0vX9AJGYw33PqgAt9w3Gtgfkc9Cpb6bSGwqgzeDpoQUC4T6lZzawRf9k1e8Dic3IboGKbBp/uNOTcUNRJvEbcGiTPHn31av4RDZuWSBAEFBQ44ji/6FuePD5c60TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rBb35xQlBsVyX3Ul4er6MNdeWGyEWuUVFw/JEi1HwvM=; b=AqZlENL380pJAtp8Yh23iGxeAzEoeelu1yf97f8j/o99AulYUcD6FTLE3ng/KYHXE6tfj73vIGR4QQQv8TYa8HEXq6IFYC2Oe7wzzFV+tCH6D/r2CgBe+9mJ6aav8pMmn3lsvkqcEZAxN0IDLf99M7EA/zOGI/WzBq20WxiYK6Q= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4068.eurprd05.prod.outlook.com (52.133.38.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Thu, 20 Feb 2020 07:52:03 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2729.032; Thu, 20 Feb 2020 07:52:03 +0000 From: Matan Azrad To: Suanming Mou , Slava Ovsiienko CC: "dev@dpdk.org" , Raslan Darawsheh , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix VLAN actions in meter Thread-Index: AQHV58HFAjNhF9Mt80y7pKfb1FruhagjtaDw Date: Thu, 20 Feb 2020 07:52:02 +0000 Message-ID: References: <1582184744-91629-1-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1582184744-91629-1-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0538afe9-1b96-456a-13e9-08d7b5d9c618 x-ms-traffictypediagnostic: AM0PR0502MB4068:|AM0PR0502MB4068: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(189003)(199004)(55016002)(186003)(26005)(4744005)(7696005)(2906002)(9686003)(6506007)(498600001)(8676002)(81166006)(110136005)(6636002)(76116006)(86362001)(8936002)(4326008)(52536014)(66946007)(66446008)(64756008)(66556008)(66476007)(71200400001)(5660300002)(33656002)(81156014)(450100002)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4068; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8qpMbIpihqKpx4iYfEQSz8Xa7WhSkwHhHlyCoIyKq/rDPST4YprgYOm3BbXvSy7ZPBwvT9IqN6hzYASAj5vDxaI99LTsoS5JGmoMuXKx4oazlG1WCArvpB8jvuUk4JQSHNDLb7od73RWEDIsn+WpGZIPY7fMaTXjNJdnRCKE7lxFFKqBgCio/hP5sHzb3UMSsjes4Q6uFdoJi/0lC5DngfC3Um7swxCj6ME2TB3E1wzK0IvfxDjUVZW0yYd18SDJn2TTGvdi5v+SLb1PqaFuZGSSZ8rFQwO9rRc41+YZID0dyovASyTUsDpwbgsiKPFzuEl6tB9GfvUqMSHkNcISZuGkmqCLiawXyzhi70DDgyz7VJQJSysyF6R9ffcvtTCUEaha3ax6mFWPJ/ExnjcJRZrLPxwKALde76g4FJO2pPaABmfkFEVb6NBK8OXDWIBu x-ms-exchange-antispam-messagedata: nyegKXGol64IhUUlm4vYxBd2p+ZC4QbL6JAlV2b7wiVjZlYVxNE9gvllI+G3Ee6oN0YDoQLRIeA0HZM7qi9EXcvSJFTzsdEX4dOGCVms9n/1AykdhqMROfTGkKWBQgIGt/OgTueJbfPJucwgDxeCSQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0538afe9-1b96-456a-13e9-08d7b5d9c618 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 07:52:03.0083 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5XIOf4mdbykrDcgzUZwKwCrzswWkJHzxF6B0mrNbd9PykUJKYjsKBGwV4unZPIjRFVshGqOFBMwKZR7NaKpqfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4068 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix VLAN actions in meter X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" From: Suanming Mou > Meter suffix subflow only has the port id and tag match item, if VLAN pus= h > and set VLAN id actions exist in the suffix subflow, the user defined VLA= N > items is required for the actions to set a correct VLAN id. >=20 > Currently, the VLAN item stays in the meter prefix subflow. Without the > VLAN item, VLAN id or pcp will not be inherited. >=20 > Actions require the VLAN item as below: > RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN > RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_VID >=20 > Add a private VLAN item to copy the user defined VLAN item to the meter > suffix subflow, so the suffix subflow will have the chance to get the cor= rect > original VLAN id and pcp value from the VLAN item. >=20 > Fixes: 9ea9b049a960 ("net/mlx5: split meter flow") > Cc: stable@dpdk.org >=20 > Signed-off-by: Suanming Mou Acked-by: Matan Azrad