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 34A5CA04B1; Sun, 22 Nov 2020 16:45:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 993FFFFA; Sun, 22 Nov 2020 16:45:24 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by dpdk.org (Postfix) with ESMTP id B93E6160 for ; Sun, 22 Nov 2020 16:45:21 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 22 Nov 2020 07:45:21 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 22 Nov 2020 15:45:18 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 22 Nov 2020 15:45:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idEl55V/ehR78TIuMyThRoGzUc8ODpg3H74LGmv3F3QjeLS5ksWbEo9EsHPQSaN5Lf8uvgSa/Iv+uIskWDHqUMiOQ8AYRUSJvWzYYoai1VfcJEsIx88ljyE6ZK6JYqL264WvSPh0ja4diyUQujFAjVmaPTmB8Toza5bHI9YPjwaD0fVdg+Q5jca+Py0WwFYVpG5mBAJkQLMP//Efay/YMSshML8PqnvrXFUWc26g2EQM3PjTi/kPSAuGCdPZLbnmpb75JjE+MkhjiAg41047C7CySvcdgNhgCSuO3xTF64vdQee0sVhM0dAxYM1zZaa2/mkZqnFeLCIfTKvYQsP11g== 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=Z1rzyf5i3TCQJJtW6HVJGf7jqhOQWg1/fhXGFyTWk1c=; b=L1fZsTnK/NsX0i5rhFQKqgtY+JDKFiFnLO4a4KV65x8uiN/t075NFdpBDKtxz/NOp3j8A4MaSSwqoIpCWOO2XymjVco8IX4RQRyeRmPDAYGEk1TAyQwuO6a9fdTTV7Fq1l7ebXWAFHKNXPEcKQRt2665E/K7fdcGtAWhzd57Um6eRMHf3BKnOKs9dvOUDIS+HR8KPwTybglxsGGERqQrsVnntYQPoaLHEIUwS0MoREibzCoTvnXFOp7LZUJjgHArFkrM2ol38ewj2+GJ5tORvBW6QxQL0/pC0+yG7wj1SXZYkgA+FsA1Yjyp8zv+RBCO5IL4zluL9KXt9lzUg9CeEQ== 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 DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM5PR12MB1132.namprd12.prod.outlook.com (2603:10b6:3:79::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Sun, 22 Nov 2020 15:45:17 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3%7]) with mapi id 15.20.3589.029; Sun, 22 Nov 2020 15:45:17 +0000 From: Raslan Darawsheh To: Andrey Vesnovaty , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , Ori Kam , Slava Ovsiienko , "andrey.vesnovaty@gmail.com" , Matan Azrad , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix shared RSS action update Thread-Index: AQHWwN7uPyY2ovIskU2IoNBjBtXa6qnUSxkQ Date: Sun, 22 Nov 2020 15:45:16 +0000 Message-ID: References: <20201122144952.22008-1-andreyv@nvidia.com> In-Reply-To: <20201122144952.22008-1-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: [188.161.230.205] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd021e6c-763a-4ca8-be62-08d88efd9c23 x-ms-traffictypediagnostic: DM5PR12MB1132: 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:741; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TePaea5bkqXsuAGe0T7/ocZniJFfiUCtelRarz7RFdU61FKbA9wft53PP07sWpMSJfOHf5cfs4dcNe+ryLJatvZdvUjZ4pI6EQpRBL4z73sMSt8MgziyOYEptf2CsEoZtbo5wpUDUImJCGtI/MO99T9Ign7kjKk+P9OiNmHdeja8Jpyi35kXl7UAOaXmyS9alENmefUs2lwnk6rfNPW8WPxIhhXGmvWSxLh4c/sNpZrMQdGB0KPvhTGV0RiVO3Vu71qwN42suFGTPH4JXdCQbWP/25cKZj2AaSp/bb+GPIiEyfgNNrEMdbqZcOHS8U0PJ/LfU2JuMIPf9dTOS5BHHw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(366004)(396003)(39860400002)(15650500001)(2906002)(53546011)(71200400001)(5660300002)(8676002)(76116006)(66446008)(7696005)(66476007)(6506007)(86362001)(66556008)(52536014)(64756008)(66946007)(316002)(54906003)(110136005)(107886003)(26005)(8936002)(186003)(83380400001)(478600001)(33656002)(9686003)(4326008)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: oiU7/AIGGtPALR8e6Tfxi7OD53k71ul0pd+GTB7iGHy4l3vS9V7LC4mp8VsABsSCfG8e3Z51th+P9gZ5W+2U+qyS6kLrM1KHveOM3OUjx4HdxHEI6RMMWcVqcvWNy7CXpolb6Dk3Sy38Fx7Hx+exydsJhkyMn2YiKOZA7IirH5QwpVOrI7ynDS4qL5lvY2d1fMTXbFg6AOyn6UzrF0nbYcb/qqv0NNFCGF+orrVbdh+py/vASGCViJXySaxwoB/mlpxartSL5aXr2Ttj1v3iknZ5fvf8BBMPEB9fiOC+pQfK7xlBfhtKkum1cEzyPJI/Shia5LZ+bTl7RsdPuLtt6NEUGPo2TnXoHZEa3GWJBQge5AVyBC08pQy+Kri1BsE/H2Kruf0CXiFnfrUzjHOPBbKDju48z7kDiIidsBWuADh/A8bz9TIA6kneF2TYqsxmzwj/KbTm9ZAtYfIKD7FloM8++hzuehVWCEj3j9xS1upoQdNK8YjZ/i0j4GD0n+QRYvvrS8qYE/kaIWgvpG2DnBfE+P6jPfq4Z1ck/dfROMy5sS7B/os2+kkp/u1fUH47uZvA2sR4RuPHU80vMKd9nqaEq2EifCx/IdUe6DKGqdO9zkhidQdlDvwKUDV8gN3kObGfIPMoDgEB5UVz6LG4VObBQjEbYYJXI6kCfFfRWTv+713Z1bqqRZMZSXG0liL7QZsBNH2EFqDAEjQep1dtKfiLb8MOEBAZAFKTmlPqsw+CnI0QU8xVHuVm9CUsDgzdnK0z29s+RHTrbPL7h9MsJUQyMp+oY5+XigMCBDENcspeLlXPDStxWjZiunmn3Mi6Kh8VLzIPxyCMtmPhe9BdDkLl6SEt2SuS+lyy5Mvx7PcRjW2hBK6jAHfW5uMTev1aHTdnb1StUNE1uERDdV/zbQ== 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd021e6c-763a-4ca8-be62-08d88efd9c23 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2020 15:45:16.9174 (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: fdMKpuNbPcZufQ8f8O/0uL96ikUnlGhK9Gzt4mabv4g7zX6jO/06WnwA3bSNGxQfo3hhJTn75BrOhLVNgMCHjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1132 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606059921; bh=Z1rzyf5i3TCQJJtW6HVJGf7jqhOQWg1/fhXGFyTWk1c=; 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=d8FKwdoGFs77ZEkly3cHTGxOkguI0j/RKwpGlsoChYkPHYBhsW8Q39IUywIJ/J9ky 4jtI5LP7M574Ogg+/bSNhJnk3W/bf9TO8QKZ9baLAJuHA6xwlXR26imzGRZ3dxVYbq ksSP7U4pdBdtFo4QCmPje6xWJ3eTARwpHd+btL7hXffuJcdIN79+eNrJ2gWGjaZTGp 0Fs/BuXl504RtS5f8K6dc07FJw8NGUtO/V2Z3q7YjUQGoeR4yBQvv04E5xA4JTWmQn syI/8lvAGvW77QtuXi7tUZ6Fcm8GByI60iInBKcDjAYuU6ALYTmfrmS330E0fI0kKt d7Ku5S1gGGu4A== Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix shared RSS action update 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" Hi, > -----Original Message----- > From: dev On Behalf Of Andrey Vesnovaty > Sent: Sunday, November 22, 2020 4:50 PM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; > ferruh.yigit@intel.com; Ori Kam ; Slava Ovsiienko > ; andrey.vesnovaty@gmail.com; Matan Azrad > ; Shahaf Shuler > Subject: [dpdk-dev] [PATCH] net/mlx5: fix shared RSS action update >=20 > The shared RSS action update was not operational due to lack > of kernel driver support of TIR object modification. > This commit introduces the workaround to support shared RSS > action modify using an indirect queue table update instead of > touching TIR object directly. > Limitations: the only supported RSS property to update is queues, the > rest of the properties ignored. >=20 > Fixes: d2046c09aa64 ("net/mlx5: support shared action for RSS") >=20 > Signed-off-by: Andrey Vesnovaty > --- > drivers/net/mlx5/mlx5.h | 8 +- > drivers/net/mlx5/mlx5_devx.c | 84 +++++++++++++++-- > drivers/net/mlx5/mlx5_flow.h | 4 +- > drivers/net/mlx5/mlx5_flow_dv.c | 103 ++++++++++++--------- > drivers/net/mlx5/mlx5_rxq.c | 159 +++++++++++++++++++++++++++----- > drivers/net/mlx5/mlx5_rxtx.h | 6 ++ > 6 files changed, 283 insertions(+), 81 deletions(-) >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh