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 B4219A0C55; Wed, 13 Oct 2021 20:02:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3844941178; Wed, 13 Oct 2021 20:02:39 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2048.outbound.protection.outlook.com [40.107.223.48]) by mails.dpdk.org (Postfix) with ESMTP id 28AC4410E4 for ; Wed, 13 Oct 2021 20:02:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l4siXB5fnVSiOw5RpVxLFthGuSPVBlotr42wrj3MaQoG8Rsnkm+hVqOUDA1v2nHi3nm6dmI8fQXU4wfOi9FkchVzTYz4D5QgGmd0kNwJD8ffrLZj2BRVkH8cPf/jsPc5u+EmYCsrGPM8+qzmXT70cxy9PcyPgyCs0e9sBrWuC3YNMxGo01tZQeJTtrGC0twheySMOMPuplM9v5DhHjCLSccNVecFy+ac44rYWUvqOan57j5LA3+EebwUfwavwQfTkCE/kphwmiVZWiYJX3tq3IpvrJfFTuCQcPO0RrwvEq3Kve3c3I3KWE5LACcAaHuQKq0LzUuxX9IGhsRU4wvesQ== 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=/1MfhhuLh5vWTbO0sSCkL1lCmHO8K2vbTE1mpP+37lU=; b=I5jLuUNU2w/6QGCOBgnU/PEJZnKZpVCvuv/IZQpAq4A8v6n2rTX8SYH5uHZQoPQ9WHh20ubhG6RUnLhzt3Ef2XmQkFpnvrpgE588Sg23vIStPQh+lFt3lv5ug9pp0WJoE566szN+PvCMduJp1bIPlJAy+8CyAR8kd+pFe4GUYv2Y9MD0pe0cic6G/SGiKAcF8TPXKNnZunX9Fxi/vAsQ5mMTHt9MQeIKVWJ2Q3wzLuFn0miB0KsjNo5eY97aQDyAXl1mVy+TfOIvFcWYjgCWLmxh3QBP59uxnFuHkyK16yuxsjzs4tgl6YrrTR1Uy/hSKAlx0dXaSfQmcvRtrMp4YQ== 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=/1MfhhuLh5vWTbO0sSCkL1lCmHO8K2vbTE1mpP+37lU=; b=QnQbGHBCnb8/xtNRwlo3NQdaeQaNzD8O8nzJUGKrhvNaXMtEUy48o5HIzbg/DcOIe/0Q6NnDUlItNNyjrOmDsHDyGtHKAnAmdXueF8ywtumVLh0fKNTAjcyATImnTLv1IKqkY2mEAhPDHDKhenO2u7D2NuSYdPvRKg1js8gZ68eEKY3eg8tAlEApZufLfteTYatRncKMNXJYS0u2kExScfskhPoqXXSW409ZJ4Ty2fu3vTTmH5gdcVNA/5dCDJ3iA3xZYZm6xuloqE3BLuRvZrcRyg5SaPaDeWVIAjAJD8/GaNSvoDt8UQp4dpno/TI5PC4yKOttcwQcM0lE0Gsq8Q== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR1201MB2552.namprd12.prod.outlook.com (2603:10b6:3:e3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Wed, 13 Oct 2021 18:02:36 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e550:35a2:96e5:657f%4]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 18:02:36 +0000 From: Slava Ovsiienko To: Ivan Malov , "dev@dpdk.org" CC: Ferruh Yigit , NBU-Contact-Thomas Monjalon , Ori Kam , Andrew Rybchenko , Matan Azrad Thread-Topic: [PATCH v6 10/12] net/mlx5: support represented port flow action Thread-Index: AQHXwFQrLIwwYrBk0ECJMc+FTDxjd6vROBWQ Date: Wed, 13 Oct 2021 18:02:36 +0000 Message-ID: References: <20211001134716.1608857-1-andrew.rybchenko@oktetlabs.ru> <20211013170233.25876-1-ivan.malov@oktetlabs.ru> <20211013170233.25876-11-ivan.malov@oktetlabs.ru> In-Reply-To: <20211013170233.25876-11-ivan.malov@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2165e63b-a6d2-423c-66b4-08d98e73a3aa x-ms-traffictypediagnostic: DM5PR1201MB2552: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aA8v0+saLUCZcyqRTa35ZWruuX246vNmomzNqF8Q4bnuK+U+obRbWpOiPur9ZKHJsFaOJ6b6lZtENl/7XfT/nrYoNuHRS5PrreIT4kkZFfTxh902PQMDcl3TofgAJLNkvjuPCzk/YdO7mzYJsqSIl7CbY1kmNkMZ33UbcQddyjmNKwzyzyHkfLcG8TXRX6Zl/2M3k28+AcQYaMHeh7O+o0PkPdgAVEi+ziXEIdH+2HqrpVi2weGD2c/IjJyTTSz7WwV9rEO7ETO6aKgJtGACKRQqRQfEZux5swef6mTp5ha4lsOxFTmurH7v1dz0UU3UngRO7QKvRXw/QERB9p+uwBXpxRkxD4H9vDdicfDa18QPYOp3MEnYhTZK/ys952jJ9whV8Nuh+SMR33OOLRqEiSn3ykOD0HC6nsGoRi0zbDYpX39vEpQ7vUb4OikpuouVHvmftalSFFTWIGlGSniaLsQnunNdLwuRQZFvtQwC8PMmVT31xN+CEn2en/06y+Mmfxr40v7fm/kY3v9GfLRSK42GbPP69YuPda0DrvM24t5ECjDAxN6Q2WuBeEKbNpIUwBh1H5lfgyL0bM8F1uc87lZq+9CIUoQckO7HYtDIjEC0Lc+g3lVpu1hZ9e2lT0sGQZMXD8prihAW9uCC5Xl4p3OJgrrkSQlCNBV2LcDckz66pQj6+E6TYJ78aRTx3Em55qfMlFSV3IVuIfD7r71EAQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(76116006)(508600001)(66446008)(66946007)(66556008)(38100700002)(122000001)(86362001)(33656002)(64756008)(66476007)(26005)(83380400001)(5660300002)(186003)(71200400001)(38070700005)(52536014)(6506007)(53546011)(55016002)(107886003)(8676002)(4744005)(4326008)(2906002)(54906003)(8936002)(7696005)(316002)(110136005)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lu2wXMFmkHKXf2bZ8gQR5uDsh4NzLnS0FUTlso2xUTSLkTT9pJ3Fpsto6gWr?= =?us-ascii?Q?qi+/WNJ770rAjyT1T8tWQu8kGr5vqjtSAot8ieJ/FfQNOraAHMd5AvNyZDyW?= =?us-ascii?Q?MRN+GGlYS7LIkOL2g3c5jDSiq4BVgTt7V7tiPXQTCuGvp0z1sj4KT8Vzrvzy?= =?us-ascii?Q?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tg7s8WacbBD9MkKeJ5?= =?us-ascii?Q?LHhcPeU4l9bGS6u2UNDm58aAMEVHvcEjFcQE2jnL9J3uB1kmvu1igbCQ2zEb?= =?us-ascii?Q?HMSlo2gU/6rUkajzsn2Ko04MtJOQ4Gdatb7x6HXFzhQ4WNOcX7IcXTFwiKYY?= =?us-ascii?Q?UvChJtferFgdGrapnyNMsXtGR14rkwCN5vaJSUcrwD40RplVp7aofHVfbJo3?= =?us-ascii?Q?pbL3lP/3Q55ImZTz1mhBtrcQH2NP8NVpl4qjkD2465x4Xgknj3PooNb/djjf?= =?us-ascii?Q?QV018UGEDZD7FQceHvyhiJpE?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2165e63b-a6d2-423c-66b4-08d98e73a3aa X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 18:02:36.6873 (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: sxG9ysl7ZVu6NaKgp9MJOvNpEftTENyteyBzFdVlaMh+o5sapkSYHbEdRI5Xsv5XoI+4wrsVwxEs+AKz1gZEOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2552 Subject: Re: [dpdk-dev] [PATCH v6 10/12] net/mlx5: support represented port flow action 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" Hi, > -----Original Message----- > From: Ivan Malov > Sent: Wednesday, October 13, 2021 20:03 > To: dev@dpdk.org > Cc: Ferruh Yigit ; NBU-Contact-Thomas Monjalon > ; Ori Kam ; Andrew Rybchenko > ; Matan Azrad ; Slava > Ovsiienko > Subject: [PATCH v6 10/12] net/mlx5: support represented port flow action >=20 > From: Andrew Rybchenko >=20 > Semantics of the existing support for action PORT_ID suggests that suppor= t > for equal action REPRESENTED_PORT be implemented. >=20 > Helper functions keep port_id suffix since action > MLX5_FLOW_ACTION_PORT_ID is still used internally. >=20 > Signed-off-by: Andrew Rybchenko > --- > doc/guides/nics/features/mlx5.ini | 1 + > doc/guides/nics/mlx5.rst | 4 +- > drivers/net/mlx5/mlx5_flow_dv.c | 64 +++++++++++++++++++++++++------ > 3 files changed, 55 insertions(+), 14 deletions(-) >=20 Acked-by: Viacheslav Ovsiienko