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 70924A0527; Wed, 25 Nov 2020 06:30:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C89BC940; Wed, 25 Nov 2020 06:30:55 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id B506CC93E for ; Wed, 25 Nov 2020 06:30:52 +0100 (CET) Received: from HKMAIL101.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 25 Nov 2020 13:30:51 +0800 Received: from HKMAIL103.nvidia.com (10.18.16.12) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Nov 2020 05:30:50 +0000 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.48) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 25 Nov 2020 05:30:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g0N/CZzOmGk4xQP8zNPJTX1VfzNtWQ10pW6JUYAIA9H0QCVD5icnOdc0D3uDPe16dxij9unrS1WXWUd4y4PYRtQXBA3jbNABY0ATrivOI7PRgaHZx+Tt/UieZCXtrwc9HCK/DUhYVrXptyJp7Sa7/g2g9DPsDhthvuPpCvlj79MX3F4DPICGQVaZs9fb7Qp4iFsmCTx540prSw7VaPgGIIxnYq6jeyS3uIUs6HAp2HmPkmWHaGg+UnioH7YGPT9aKCpokOOVWhQN8HxvuDibvJyh+/2rq/dgETZ15/5MUy/zN588Y92gLmpRlGt8lkyfeqLiXGayx3WXcwVuhyvLhA== 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=I4MhnYUksFSDcypbxaVEP6szU0pxw9/zt4yPiJoYu9g=; b=ZTCaByplhPGG0Mbu/Hl/XSgIzb8qSzzD0co0Fg78N3EXxsJZn8NMi0meOS9J057byBWClYkIkKPD389hIayfdB9mwBxZFTD+n1CoRBGLqOUaOgI5F75bZXARx/VCXEiIsS3IL37QENaV89HcZ05ftMcIMfWtBhjdVMvL+3AQdvE6uZEj79dc0V7u6MvUtN7VfjZItKh2ZGoDnRtwgBL7UnYjPCA1ozyPiKRwfOeV+eF1QSDU/pkGrZ45jYahts23EZmSIn7Z42sZO16FFAei7RVADAc6SathlClFlGYsWvKWoxDseF02ff932FTW3A2jZSNycDtADcxSOWH5ZX4rnw== 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 DM5PR1201MB2552.namprd12.prod.outlook.com (2603:10b6:3:e3::14) by DM6PR12MB2649.namprd12.prod.outlook.com (2603:10b6:5:49::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28; Wed, 25 Nov 2020 05:30:48 +0000 Received: from DM5PR1201MB2552.namprd12.prod.outlook.com ([fe80::85c5:aba6:c3a8:e94d]) by DM5PR1201MB2552.namprd12.prod.outlook.com ([fe80::85c5:aba6:c3a8:e94d%4]) with mapi id 15.20.3589.029; Wed, 25 Nov 2020 05:30:48 +0000 From: Tal Shnaiderman To: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" CC: Matan Azrad , Shahaf Shuler , "Slava Ovsiienko" , Andrey Vesnovaty Thread-Topic: [dpdk-dev] [PATCH 1/1] net/mlx5: fix flow shared action destroy error code Thread-Index: AQHWwrLnvLGqMmFpz0acpCFTCNEAwqnYUq4Q Date: Wed, 25 Nov 2020 05:30:48 +0000 Message-ID: References: <20201124224022.2550640-1-thomas@monjalon.net> In-Reply-To: <20201124224022.2550640-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [77.137.114.4] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8ef6a684-03d5-4431-25ad-08d8910343de x-ms-traffictypediagnostic: DM6PR12MB2649: 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:37; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JFS1z2f+6lOLLsdZ0MjTbvBihHjLVXh8S/Iuqj+9+Jq3r62B8ftDnsFs2f9TyNm/Nta7HceUbTl1dNhKhshwHKbohQnZzvJhl2bHo0Thx30I+FkEqi32otdiht6R9tG7QvXNI9TwYJnRzURqDO5A1qWlAEyr6NCTZvl8rJwvMXJaf5Mgr1nWVMvQBkCKdadeff5K2ItrSTFEPNVaWNfeCiYR+HZFqhR1cgowXatbTr/8P15mjomXb3zP38va/y42uOcd0HYV4b6Xbh2l08TnfI1d5w21pti9q/FvnUJeBO9Z3DHWy6mHZbF4fj8FdYIt x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1201MB2552.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(136003)(396003)(366004)(4326008)(83380400001)(71200400001)(33656002)(8936002)(54906003)(186003)(478600001)(66446008)(55016002)(316002)(110136005)(26005)(2906002)(6506007)(7696005)(9686003)(64756008)(5660300002)(107886003)(52536014)(86362001)(66946007)(66476007)(76116006)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?CekjS+S97S/1ofun4Q+IeY9JMItTEDiD1c4bU616vdGMdgCjnmRBBD4yiVs5?= =?us-ascii?Q?CkYQHl2x4t2UmQfhH7vi/yipwep+FzoMP9lhu/71mcIUtchNJ4OwPz/DjjOu?= =?us-ascii?Q?xHColrnZw9JN7Lurhb1Oobr2oyzfREx+31lMUBhQaEHLzj+gcql+ICwiAFxw?= =?us-ascii?Q?lgVkNN8+RwKLk11ZPbpWoKnu2TQfa51RU0N357yxsA2QfynXVUHZKNhYdUdI?= =?us-ascii?Q?adLoJygN3qODU12aZ9+U5vhNYlS4eh8lSU4leaZqyOXeWAGece2Sq8aoVqy9?= =?us-ascii?Q?sUIMQT9ltpvHVoRfstnw1sbqXlonhboecrGimLPUr3NlAGsiUPd4fPUhCLHw?= =?us-ascii?Q?P+wzx8GAc/ntkhUSxXf8G9xN/Jsf6+kJOpnvfqoCINP3MLZ5Akp2L3v1cxKD?= =?us-ascii?Q?IdzKSrSZs1IIMXQWvRsyKrzU55EQW/lfHvLDU8HkFJt79RCaD/na6yyL+TI3?= =?us-ascii?Q?366cX5F2lzkmENfGmkmt60owX5B7F5vfdpDS+OLXazDIyYIXnP6uatLnJ/8I?= =?us-ascii?Q?kus4eFk3u4PQAvgmvR9R/sv9j66a5k3QrQXN2e1tFdWUpo5/4fXcW/lyu+qW?= =?us-ascii?Q?iCFUPVcAItrZbiPN83FFR7OGspuCueYEI9rihAfkQl2BT4GhkeBLiY8zVwVs?= =?us-ascii?Q?z7B1/bIjVBstrYB8dUdYIF7w+QGds7hrm2nPhCEanA6/6a9LSoBWjYwH+mKs?= =?us-ascii?Q?c8ixRL5W9T9ui8CFz+e2l4YFXISQPwlIJb45KHyJKsDpUFZaLGMJ9bwMjkIm?= =?us-ascii?Q?foutXa8EgIzx/1FzQlYRFo0TJbav4lcQiUgGQPsvEj5RBheIU66LFTa2jSiG?= =?us-ascii?Q?F5ZYvm4MtAWPt6Xqn+luD2FJ9TM0MB3p3DiAxKbozrnSAuT71F4OoNNRxMJF?= =?us-ascii?Q?DN8zavFcGQPVgUjUjklLQi9Gg1O1RfuC95zq5nib7CxBAX0GN7Y7AA4xPOge?= =?us-ascii?Q?xnhURUVnZd5xVF6YTojOvlN8jNgI5CDUMMTOZS6YeiE=3D?= 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: DM5PR1201MB2552.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ef6a684-03d5-4431-25ad-08d8910343de X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2020 05:30:48.0957 (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: fB0+9JXoSzLxd0R61cJh2naSyh17UbOKxnpuQ2iC4jPRPECNe2d3izsi2W5NTRI2Fy0Ck9c4xEROK1DWIrXghQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2649 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606282251; bh=I4MhnYUksFSDcypbxaVEP6szU0pxw9/zt4yPiJoYu9g=; 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=Pgt9raNYE1Q4AUWZidDQV8kjMGLMp1KFNXshNT+s0OujFgSyAbx6U10pylL85/i6X cyqKyKWiE2Fyx3/I75w1stPAHyiynAdIwMQaA8JI7kKy/3up4wMqoX1WOuym2JIREs U780g4cvx7zMdPj0EP66kW+qQolEutCf+yfxG0RcwWYXL6lAXzX6ZZAWEGDKuG2Xwf x/2uqB/vvWw5PdxTqm9wE7DK3j3hnAlJfomaW+g+niOygfso0uLvlKhy2FCWYcRu1R rnUmFuYq+cwdB+RnBHMbQMeL2K7XHxvp3mtUEDmG761N5MA+oA8G8GpIZP/NNLjREg cDIvQFCO9kjig== Subject: Re: [dpdk-dev] [PATCH 1/1] net/mlx5: fix flow shared action destroy error code 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" > Subject: [dpdk-dev] [PATCH 1/1] net/mlx5: fix flow shared action destroy > error code >=20 > External email: Use caution opening links or attachments >=20 >=20 > In the function rte_flow_shared_action_destroy(), the errno > ETOOMANYREFS has been replaced with EBUSY in the commit dc328d1c555a > ("ethdev: rename a flow shared action error code"). >=20 > Another occurrence of ETOOMANYREFS, added later by mistake, is replaced > with EBUSY errno. >=20 > Fixes: fa7ad49e96b5 ("net/mlx5: fix shared RSS action update") >=20 > Signed-off-by: Thomas Monjalon > --- > drivers/net/mlx5/mlx5_flow_dv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mlx5/mlx5_flow_dv.c > b/drivers/net/mlx5/mlx5_flow_dv.c index 253f598310..aa21ff9613 100644 > --- a/drivers/net/mlx5/mlx5_flow_dv.c > +++ b/drivers/net/mlx5/mlx5_flow_dv.c > @@ -11541,7 +11541,7 @@ __flow_dv_action_rss_release(struct > rte_eth_dev *dev, uint32_t idx, > queue =3D shared_rss->ind_tbl->queues; > remaining =3D mlx5_ind_table_obj_release(dev, shared_rss->ind_tbl= , > true); > if (remaining) > - return rte_flow_error_set(error, ETOOMANYREFS, > + return rte_flow_error_set(error, EBUSY, > RTE_FLOW_ERROR_TYPE_ACTION, > NULL, > "shared rss indirection table h= as" > -- > 2.28.0 Reviewed-by: Tal Shnaiderman Tested-by: Tal Shnaiderman