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 21EFEA00BE; Mon, 16 May 2022 15:00:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F032440A7D; Mon, 16 May 2022 15:00:01 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2081.outbound.protection.outlook.com [40.107.92.81]) by mails.dpdk.org (Postfix) with ESMTP id 760A340A7A for ; Mon, 16 May 2022 15:00:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FbIril688usC2apdphTQe4xBhzOlX2mwNmXOOZ2jdI+xMJ6rqTQnjjzA5GUZNs4E2AtVM95JCwW1cex+VhCwE451ugdTkUgAlWrDznhz/hSNOy/6R0dtYy5sVgAe6+fWobV0qgm1q7H79n2uVUcihGZ8cQnHzBCJB0ZMGHQ5iym1/9y6wK7juIHcinLY2APkDYiafincd/1HuomOSbH1cwK5GemZsGeW064/do3o450zHrdKBEOSta+eAd2CuUZVvx6kTcL14r4rgtgjFfOUufKlJMatwDs3VDaVI+nOD4wxpi3skQj1SUFxdeAzonQlkgI5game5n1kGm4vkxbrVw== 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=CQz8QBP6tSIxOyzHKdNl+2HFiJCi4sagv+j8lqCpsww=; b=Q3CPXd5Isv7eO8D5yAMOzBeZYKAJRZedYW13ABEDuyRcspJXlRqvCwJLBrYSxw+yfxTYxMQkGLCAoXisMonAQOiF/7prmihNs7yXjOCDIJHx0N3Rth+MyGcQiirmxkTux3a8mL5+huWd29xzsRw9aaYXUBXC3LyaJjIQclXYR6grpvhjzEfU5zqebemwq0DSOTKw8M9NXq+v5WWJWRPTO/NOm49lav8BSa2c+rCDUD9bPcxPn2IfiS285AAqoWAuWFSYVXmJ0toUdKSU4NnEljfQMXbB/4ZoNS68EUmWbRf1fYu9q5zTorqMA/ZO+Q7fxso6moztmMszHwQvcjxzCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=CQz8QBP6tSIxOyzHKdNl+2HFiJCi4sagv+j8lqCpsww=; b=akocSub8wZIQQMIqppmYAYux2LLYRYSLj9sV1L9+A1xdxw6ywcVrkelGabYPAI0ydE09nzwuNlLu88g71twma3UpJ4vjT7yhRhPSDhgMrYuGgtFS1a/xIgDUYZaXnWdA7OBE0S23n8MUWYQTDrc29bNe6kTCHikPf/IA/LWBpFU+PfHPnm72iTNDe6lDxZhs3V85rlCI2e6jdhYa5j2/uErH94DMUpB7ubcl2gGaR7zMfp0/sU6g5BNcKHvMgNaI36Y9NLLp/AVm5ohoNLaIsrFwsLuTqzbbTbmoan7QmSXw3i5eqg3fUmIGI9L0KY3gUnIFhKEKKYj883mjAYjTWw== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MWHPR12MB1454.namprd12.prod.outlook.com (2603:10b6:301:11::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.18; Mon, 16 May 2022 12:59:59 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::10e3:9c31:2a8c:2679]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::10e3:9c31:2a8c:2679%4]) with mapi id 15.20.5250.018; Mon, 16 May 2022 12:59:58 +0000 From: Raslan Darawsheh To: Shun Hao , Slava Ovsiienko , Matan Azrad , Ori Kam CC: "dev@dpdk.org" Subject: RE: [PATCH v1 0/4] Enable yellow meter hierarchy Thread-Topic: [PATCH v1 0/4] Enable yellow meter hierarchy Thread-Index: AQHYZpvHZ8AfLuVSO0mif3D/CbBQaa0hfGZg Date: Mon, 16 May 2022 12:59:58 +0000 Message-ID: References: <20220513073308.10762-1-shunh@nvidia.com> In-Reply-To: <20220513073308.10762-1-shunh@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1f556bdb-faf6-40f5-1226-08da373bfb53 x-ms-traffictypediagnostic: MWHPR12MB1454: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: xldFbeydwq8B6y+QjqCM2IYVebDXBzceXFt21+k04Q13qPRfZBSTYU+fuoeAiVjvHg+B45VqY98ODX87i4XmxOvslvO/DvgUTAwUr/FHzGqEJ1wlomPbHjNlQdJNQgobCvK8fUnsdwWZ4Fhodrt+cvIk/pjAAxhvXNbVqwFDhySwkxzi6o+zhpVBeCq+wkDJU65JrMDNMWXRw0mNaBs4qdrJaVOEhMQGiUlH8hknC0DjOVQJbyaIBnJ6jsBqlJRoorh/y92i21SW51Z13ZtagrI8TiXPRKiqpd/7U0D3wnyJ9rnsGsLKcpDrJj0Cf7oikIGEQiwkxO1ijghwhPMmR1icAN2NyjVfBhGk1aj6ZGPqe+QABRQBRriA8rtKoCur8gocgBMUH+C2Z6PIa330we5TsNy8uOKcZjpRHyCWciWS0Wm1SmWuvfYuq7p8L10XvJNdr7a6DVbmCXfmxyB27Cl/e7LClZLNrbN2K7dujUREner9vtmvg/VYh/SVsMAr954aawfpNIOw3IObUWuUNRVr6sKRibj59Xk8cmoVk//nVx6wo4RZ1UA9XFylbIrjwO8089dlG0APyTwiumJs9mzsWA/3N3DbePwOhl6CEq6hA2sENOQar2ISWmibaBrJMoiIBjZjZ7m+uJmFlnybq1AvCe1JuMnOuu6bLc1IsV3W4X0WG+KWchRGj8+tvTeQC2r4/A7Ff2J+tQWC8C0hMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(316002)(5660300002)(7696005)(66476007)(2906002)(66446008)(76116006)(4326008)(55016003)(8676002)(186003)(66946007)(66556008)(83380400001)(8936002)(38070700005)(110136005)(64756008)(71200400001)(9686003)(26005)(122000001)(86362001)(6506007)(53546011)(6636002)(508600001)(52536014)(33656002)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vQms/zoI+ORlf+ZKT8lrCSylg5DXIpNVn90oxSVwyZs2VSkDvc0mA4/MqY37?= =?us-ascii?Q?7ucJl1MeujBic92rugskN2QyMpO87m09//EWHsz5LAhmht32qJfLsE64Tgqc?= =?us-ascii?Q?R7wd2EsHfH12iiDUSyqLosYukiEE9a4qvbsL8aHSURBoR2aX8zcxaL9DPY+X?= =?us-ascii?Q?5NLf9ag9ji02YjexIBEmnyRoe9FkTcRrgWPym9NH+0Pp5MC0J4EfQvLHNCE9?= =?us-ascii?Q?Db/4Dz/segNxRzg2C+F15edrCfUd7rMSmyh6pYApAAWMQr8GZFVfUqSxHuE6?= =?us-ascii?Q?AHk0mLMvPZK9T0IRZT1B4OKvJUwhjs0vr7OvoOWiy93wLqMAFi7/Xbf7EGg/?= =?us-ascii?Q?Xl45yF6gOL4sluBnH5QbzRAUAmmnQl0H8zvWV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DPKM6H2gn5phjqHVAZVLrnvzD9GFvjEO/HG586b/hF+?= =?us-ascii?Q?LBssKtsYTcc586OkOm4CfSfXgOEpsUUHNHMdc/YXmu/JAoyTtkzXYZ6gAIvA?= =?us-ascii?Q?QytAOQMDbqr9ZUg6QoJCDQMEGBeCATUiJ1gI/eRRNmWcjZwYRGqiWkxLiJUK?= =?us-ascii?Q?r8rFXFwsru1TWqMaTaGcnq0fMq8jyX+xxzsHMhWyBNCY/iP5vNjR7T1kT2So?= =?us-ascii?Q?qOldWHNUNMZUNVLTyykPmJcx+Y6UWatuI9gzUmcBqOKzO+38QHvnEt0BYYKD?= =?us-ascii?Q?Tkvg3681nsybO0lv8/uRC5CE0A7Y/oQvskY6ioTWOFANZwrp6d+rgdKkABoi?= =?us-ascii?Q?vERWCMnBbgiHHJoOtIzExDcHlKWIBuiKMh/YfnGRrbfnhWAyoGcTBXUqz3Kh?= =?us-ascii?Q?EWFKyuJYFw/8s+/0NjJdL03NEnOfGIKVJUwB402G+FBS1ci2e+gQj5UDF/pY?= =?us-ascii?Q?EhqR0qeDLg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f556bdb-faf6-40f5-1226-08da373bfb53 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 12:59:58.4845 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XDSsza3qokgW1FHgYYRxBv0ajDRHkbC4nzeTByzgFcjitYBWByqJL/NoVdU7ay8+vnZ9SsfQHncignxquYHQVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1454 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 Hi, > -----Original Message----- > From: Shun Hao > Sent: Friday, May 13, 2022 10:33 AM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v1 0/4] Enable yellow meter hierarchy >=20 > To support yellow meter hierarchy, need to support meter action in yellow > policy flow, so both green and yellow packet can go to next meter. Curren= tly > there's the limitation that only the same next meter supported for green = and > yellow. >=20 > Meanwhile, color aware mode is supported, so the next meter can be aware > of the previous color, so can have different process strategy. >=20 > Shun Hao (4): > net/mlx5: support previous meter color aware > net/mlx5: support yellow meter action in hierarchy > net/mlx5: support yellow meter action for hierarchy tag rule > net/mlx5: add validation for yellow meter action >=20 > doc/guides/nics/mlx5.rst | 6 +- > drivers/net/mlx5/mlx5.c | 8 +- > drivers/net/mlx5/mlx5.h | 10 +- > drivers/net/mlx5/mlx5_flow_aso.c | 19 +- > drivers/net/mlx5/mlx5_flow_dv.c | 406 +++++++++++++++++++---------- > drivers/net/mlx5/mlx5_flow_meter.c | 60 +++-- > 6 files changed, 345 insertions(+), 164 deletions(-) >=20 > -- > 2.20.0 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh