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 2A1C4A04DD; Fri, 23 Oct 2020 16:18:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CBBCA979; Fri, 23 Oct 2020 16:17:58 +0200 (CEST) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by dpdk.org (Postfix) with ESMTP id 3AE405A59 for ; Fri, 23 Oct 2020 16:17:56 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 23 Oct 2020 07:17:05 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 23 Oct 2020 14:17:39 +0000 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.55) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 23 Oct 2020 14:17:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mDHIdvJqhKYN/RJRffHP4L6vlVGEJ2Z778bodOSZM6IKDh6xLofzRzllulOLEGmn/1slBOqpmK01WG3OIdxxcCeuxld+yBrjLROnyElf+Lz3Vj0UhbRbiC2s1JYh5B1iNwOOnFah3MaHNKAtOoyniOtv8pV5CfSr1zBbGqQLJvIC+b2GmRGm2RSurbEl5NXDZG66F3ZFe5Ng1z8pAgW2wOzzUPf+wLXaAhd/sde9q7JqpR65W9sAHJwJry7uoT/9c8ob/wQi/OPBtMnL3y+pp0EIp2bwQBJNRIjiC/RCpdrruhof8x4qp0R9iNlx8BS8EOhPcEn4Y/ULfR6OUICxXA== 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=sHAJ+2+OocorpVksuYfYO5MhuKA3CRKSiC7rG2bpH6g=; b=jdwZikWSdhW7AE5RYT7new0WKyjVcDIZgZ/0e4v7GR4YC0sY0CPuYiiaIa0987Dm0WgYDOC73CDSxkgIyl3tcm8XyZW3YQWIwE68dwPsAOz82Xt7Mj7Zs4GkX1JIdeTkqJ1F7a+koRn29uZWd9vXUsrDj6v4hg7w1n31WaQFNtEr8rVKE8Vcu0z9bxykw5lTTojmHGnKa6OmBWhVXRQUjnT7g4N1r8VfierydGs9xYOzqJ+2ux9+UCBHdkeEku87RzFwEBqasmtTbiToCB6eUadJNsMf8iNqarFEWFyvbU+zq+/Vck5y0mrG42Kx0HBM/5u79yPGrZn3VsacM3wx7A== 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 Received: from MWHPR12MB1501.namprd12.prod.outlook.com (10.172.55.146) by MW3PR12MB4523.namprd12.prod.outlook.com (20.181.54.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Fri, 23 Oct 2020 14:17:37 +0000 Received: from MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::3ce6:9a73:3c99:2f35]) by MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::3ce6:9a73:3c99:2f35%12]) with mapi id 15.20.3477.028; Fri, 23 Oct 2020 14:17:37 +0000 From: Slava Ovsiienko To: Andrey Vesnovaty , "dev@dpdk.org" CC: "jer@marvell.com" , "jerinjacobk@gmail.com" , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , "stephen@networkplumber.org" , "bruce.richardson@intel.com" , Ori Kam , "andrey.vesnovaty@gmail.com" , "mdr@ashroe.eu" , "nhorman@tuxdriver.com" , "ajit.khaparde@broadcom.com" , "samik.gupta@broadcom.com" , Matan Azrad , Shahaf Shuler Thread-Topic: [PATCH v2 3/4] net/mlx5: shared action PMD Thread-Index: AQHWqSbQ0+J3y4Lse0WQKUOI+OKiZ6mlPCSA Date: Fri, 23 Oct 2020 14:17:37 +0000 Message-ID: References: <20201008121848.15330-1-andreyv@nvidia.com> <20201023102410.20317-1-andreyv@nvidia.com> <20201023102410.20317-4-andreyv@nvidia.com> In-Reply-To: <20201023102410.20317-4-andreyv@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 12564204-fcd9-4c07-684a-08d8775e6503 x-ms-traffictypediagnostic: MW3PR12MB4523: 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:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: knbDDrxN0eRTnIT+DW7GSGUSOYh+ftyzbST1Jt1OLZ2D5t8lNFt+PsQ7+L9KVVcKUkl1+9xGA71GQPE7eGa2ahsdS8bnsCpx+lxKsbm2Qx0v3tmvZezP79A25gwQ72olcZqSPKSxFx7cVxTexemufa35/FZBCIIJJ/fTeRLGGeZ0E0hA/kIPAa/+8V6Wk1b3IROj8szJVOpMmkdViNatMmsO/9UV5FdPh3T+bya8EAQ29zh1b0ygVW9uYb+vuDbHDyKtdNaG5rAAMlZFEzx90zrmlacGpvar25wDRaHouuaRszijHEd5bg5NT8fUepoeSrsDNEExw2F6HVdledak4g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR12MB1501.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(396003)(136003)(39860400002)(2906002)(86362001)(9686003)(110136005)(7416002)(54906003)(66446008)(71200400001)(33656002)(66476007)(107886003)(7696005)(76116006)(64756008)(66556008)(66946007)(26005)(5660300002)(8936002)(316002)(52536014)(8676002)(478600001)(186003)(4326008)(83380400001)(53546011)(55016002)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 0fiGpjmufvWkz3NoUKLMQIWm0Zaup51JBOhgpuHN9GVS0waDfT5yA+naxvRcnK4RgcxtqcCnVPy3JtwPa7k5WSqCEbcENsc5ZT3QD6+L64/5n3HZRZk8D6MO6rOt5gA3ZRCr01QfcY+dJPwURn1JFL7N7Qqx3fk6xdvi5YGpJAq+9Z/ZYNDpaxsoKYF9TbAh81bnug1j/29J2NbUHF4DTvdreFfCAowhQew9V8vjnHdhuqi6VBDCtK88PH3FH0wIemL4YQ1aFSWQQ0VS5jMuFcoEruDZert20MgVWsYvSvit9X5sdFYJQP8XkL5TOOJBTszirRisg7lcqDc+XsfJJBKK/EczBMyR0ZNY5Sl6qQ0JePsfZBQFoCCrnW+r0NOTx/84/MaOR6Zp5oC/FN7DIhpKz8uWfYwAvNbXrP8ZCEa4Uzax8NMyS9QH2JxJrcNsJLdmkt1b80kWJAm5ZWp/ueRsQLhE52bB7LCxBeOf+O/qJJR1zlX2V6y9yN+prapsKt4VFPU6SXz889VKjElmg3uIwrwYlZVzRS3XdyDcsskjtskPTW8p/5OpX+qdnfcN4GTwqMlpINgQqdJvI7eXkPti9tejj491P7NilaBy7awJuYcF+TSwg0DRaNzQxKi+PryY2rm0QVaMv50SW5DIRQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR12MB1501.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12564204-fcd9-4c07-684a-08d8775e6503 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2020 14:17:37.7159 (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: KiLfjWBO7twyuxqxyU1Gx0EnKETHAvD29vA05jXxa6aUDDOIMypqGGZ6iN/fCfRdwNw0JwH82RdwwTDCkDdIvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4523 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603462625; bh=sHAJ+2+OocorpVksuYfYO5MhuKA3CRKSiC7rG2bpH6g=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=MZDl+21sNB3qG3T8OBSKk8wFaU5vs4kablppty9GxVabz7QCiOodpuOnm2RVZn2QH 6+bdjHsutyni+L2o3puNKcJIsVwU8SuE0LbVgoIE6wfVS5AcenwNQK5eXh20gRWHoH 4ooFwSJod/PdpNnFsd676ByjQaXWgYtsMzMl8y05WLI1p+MYJni2c6aG5c6WxFPfnU 88ls8Jec5HCmxPurzaFvNpgMx6soKNaAY+OXzkMUkbvOTJnBQSfFYlwN+KAK6XSKdD lKShfZr2fbFf5PdhzR8c2TV06PjWIcAfX3WNBG8iWUtS0mbaGrl87UDIbSOPdc1E3S q1hPefzy6wwdA== Subject: Re: [dpdk-dev] [PATCH v2 3/4] net/mlx5: shared action PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > -----Original Message----- > From: Andrey Vesnovaty > Sent: Friday, October 23, 2020 13:24 > To: dev@dpdk.org > Cc: jer@marvell.com; jerinjacobk@gmail.com; NBU-Contact-Thomas Monjalon > ; ferruh.yigit@intel.com; > stephen@networkplumber.org; bruce.richardson@intel.com; Ori Kam > ; Slava Ovsiienko ; > andrey.vesnovaty@gmail.com; mdr@ashroe.eu; nhorman@tuxdriver.com; > ajit.khaparde@broadcom.com; samik.gupta@broadcom.com; Matan Azrad > ; Shahaf Shuler > Subject: [PATCH v2 3/4] net/mlx5: shared action PMD >=20 > Handle shared action on flow validation/creation/destruction. > mlx5 PMD translates shared action into a regular one before handling flow > validation/creation. The shared action translation applied to utilize the= same > execution path for both shared and regular actions. > The current implementation supports shared action translation for shared = RSS > action only. >=20 > RSS action validation split to validate shared RSS action on its creation= in > addition to action validation in flow validation/creation path. >=20 > Implement rte_flow shared action API for mlx5 PMD, mostly forwarding call= s to > flow driver operations (see struct mlx5_flow_driver_ops). >=20 > Signed-off-by: Andrey Vesnovaty Acked-by: Viacheslav Ovsiienko