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 66BF542F36 for ; Mon, 24 Jul 2023 15:43:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 583044324C; Mon, 24 Jul 2023 15:43:36 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2048.outbound.protection.outlook.com [40.107.7.48]) by mails.dpdk.org (Postfix) with ESMTP id EE0E143067; Mon, 24 Jul 2023 15:43:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hCMLRJ/FdtOyZFsRTouRyQnJs0yPbi8aINDBMVF9HQ/eReoPg/cg3/Ivpt9BNconiDR68EMmxZzNs4g0uBUfWSGw/O1ggjj7/B9udMyOdyAZ3nAYKBvtOZ0mC1Gzp26ZiqoNQmzBYvPTvonPV/P8CfO1pETK2pSbPOdbWKS5jqMYQzC2alFbXoctRkzYqsFMjpvsZyqQ9pNjDy9FGnl7I2VqTXX2tYZHVn6JGnL8gEtXy9KdEkHcpZyK0W4gmjFzlh4c9CzLx+thyzIe+aEz+iMq1VvmmaLrqhHv2qq2gBANuluejXSvpUDvsL0lrLD3OCrXvENrt7UPo3lfSGZmgw== 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=22mSpBC78+8sdGU7SpGCzcNw2FXrT6rl6QrJgAPV8VI=; b=DBTVmEJie3eaPnIre0812exV1HpfUcAKdy6muh+xcNHFHLe5XAwAEhirD6SzoqIj3L+nGkkS8uZ8NSm2oEYl9orKLkiuA5RlZ36xTjJv3gOLxwC1J7cWmOyLQzly5UHgfXTES5T+kQrSCyyp2IFSenKypYIIc6pnr967D/U+XOLGUHD34HB6EjmiyMaqZfd13Pf7bXSMTGbVZOwtnYmR/90rGDxhe1NTBJUNlN/Pm6ZUNAMkb+0g4bgnT9iC0XK3ru4sr94MTodtCK7P+CIc6J4Avz/dD3xMDy5mKaaHmBzcfbDM38NGzjc3N1x/VVUFJPySoyR2EhvQ7Z1aAf03eg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=22mSpBC78+8sdGU7SpGCzcNw2FXrT6rl6QrJgAPV8VI=; b=VR4caQqrbM5rfjIsQnmr951Vc7ots3IJlaO9rcfFNFq2kP7VahGOh/p4WoZPA9+GNERHpBSk4LOoMnr3aF06I4oipcFypBYbc0TG3YmSAQUf/tTFDAqo67+uEZJK/APRPPGAOPz7W4vyjp5bZAzb/DuZ8aAG+AfwiX2GeYD3kwc= Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by DUZPR04MB9745.eurprd04.prod.outlook.com (2603:10a6:10:4e1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 13:43:32 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::450d:89ac:4f6a:6ae2]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::450d:89ac:4f6a:6ae2%4]) with mapi id 15.20.6609.031; Mon, 24 Jul 2023 13:43:31 +0000 From: Hemant Agrawal To: Tomasz Duszynski , "dev@dpdk.org" , Sachin Saxena , Shreyansh Jain CC: "jerinj@marvell.com" , "thomas@monjalon.net" , "stable@dpdk.org" Subject: RE: [PATCH] rawdev: fix device naming Thread-Topic: [PATCH] rawdev: fix device naming Thread-Index: AQHZvjPwjMxc8diaHkWGavOL6EG6a6/I7SFQ Date: Mon, 24 Jul 2023 13:43:31 +0000 Message-ID: References: <20230724133646.1385487-1-tduszynski@marvell.com> In-Reply-To: <20230724133646.1385487-1-tduszynski@marvell.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=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PAXPR04MB9328:EE_|DUZPR04MB9745:EE_ x-ms-office365-filtering-correlation-id: 2957e9de-978d-48bc-8d74-08db8c4bf83e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xD7iVKBzhtHdvK9RzR1LyS/AHbdyWgGlwCgXZSBHyxFVwhXcdbUTUI6lIgDnabyrzImJQuPK7nBwWn2LG1UkFDTmYm+GjNyv49N1/m2juxiFM4BuBaWA0SaNQHiRRFCHYqMdDfNhE/fzhD/aYirxUfgf7imcgf8HaE5tASHGtWTJ8Zj54jM46y0sKcS9dgf2pg5LLj517BvRmZUn5Epai2DapxpyveLSa7MSbjzVI91iuycfzlTMbX+yvtj9FxvVRbilOYSJjbkFERuzrL2hIzRZDMSxchFs3ZDpeLd91MibynKxurQjsHfVDNJd0kcjDRXUP4i9yaY91vxWQVC3p8cHbcMbR2XRDewq8rTafUrBIsXwy9hoOvLg3svlLxIuuMxJoxt/XbbJ6cFGBfDlfL1bLS2QrjxxItDBqKJ0hpN46A3AVu6Uw7oXhijbHJsrKkcTyBDkdkgh90RU0zpBrH4NBpgBkquWnHMlXfWvxE4Bt39oDBuXXNAaZnsmoNU13W5ShOHfec7cnTYH1jGSEyD4uVUHZnc1dnhVG80ByGdCPBXNwfb1sx9Mv9iAP/yqjlgdaOJ0fa04KPTWwsYjvW9FPpUOpEH1t8fC/PHDvxWXpyPd7C/0YCg8szPMquKw x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(346002)(376002)(39860400002)(136003)(366004)(451199021)(38100700002)(122000001)(55016003)(66899021)(53546011)(83380400001)(44832011)(8676002)(76116006)(52536014)(8936002)(5660300002)(54906003)(478600001)(66446008)(64756008)(66556008)(4326008)(66476007)(6636002)(66946007)(316002)(110136005)(41300700001)(186003)(6506007)(26005)(71200400001)(9686003)(2906002)(7696005)(33656002)(86362001)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XOn3xashKQYqVfbrZA3wvdnBZjtJUT/QdKoLkHCAEkeTUhwShCENMZO4WhUB?= =?us-ascii?Q?BOLhnunwc+H6xwLhdQwk/JJJu3QqjBfJTQDEvBTFIwzCOIGYzSNZ9lLIdEIk?= =?us-ascii?Q?a2X3gyJZZpkJQnEh5czP5u3kv7aepm7dfzSSwrNrHV/zCbC0KAP93iGBwVvz?= =?us-ascii?Q?Y1c2Cx/j01gEpzH3tow1E1CkWl5aKe3u0MWJW7CW07e7YrlpkOscYvgm4tLW?= =?us-ascii?Q?UWkuCdj7ON/3aKqKZiS2somo2vfZBJn7VstellHv8lMNbBDYsTUx/zJh0JpA?= =?us-ascii?Q?/FcAVqHe9ZmgJfSyKugbtHsGEoTvxv8Helnv8AO70A0+YqnO5F3gUhtA27H1?= =?us-ascii?Q?fZzyDM78Vx1SEcm3XE5KE2LyIYB7XuZLIGPY8CJF8OT7Z6bxQi2GuYPKe18t?= =?us-ascii?Q?kFt1oUaUG+6F5puFK6VLa0MoLg51xbXqOEaJFxEovLBBdEbEmcqBCVPNReAK?= =?us-ascii?Q?0KWE/PNEM3aNEE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-ascii?Q?M5Vlc90OexWJuDgfQ9KLHXBu+Ok1tCaiVyNY3oa58nC7boiFmTifgUHzjKdK?= =?us-ascii?Q?Ebrg52MXt9ss3hjo48j+WsROtV6R17zEP9f4xyb3kJg8MaldM+5pjBHdIQO5?= =?us-ascii?Q?B+E/Au9DLTctNx1JT78B5yTMeX85+KXCr6xbgzElsfwtct/7csgt4VRn3k8T?= =?us-ascii?Q?hbyXwYj13kKunM3PYISBwm4c4hjmlpNPofa5xY39?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2957e9de-978d-48bc-8d74-08db8c4bf83e X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2023 13:43:31.7784 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SleY/U1GHM9yUHD4/Jr2DX0tGCXCDl4RlFGwt7czliKTwF1Os/05QWLQQ/tklZBe/qkGvrHi2H8DST4lkXQVfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9745 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Acked-by: Hemant Agrawal > -----Original Message----- > From: Tomasz Duszynski > Sent: Monday, July 24, 2023 7:07 PM > To: dev@dpdk.org; Sachin Saxena ; Hemant > Agrawal ; Shreyansh Jain > > Cc: jerinj@marvell.com; thomas@monjalon.net; Tomasz Duszynski > ; stable@dpdk.org > Subject: [PATCH] rawdev: fix device naming > Importance: High >=20 > Use proper naming when dealing with a raw device. >=20 > Fixes: c88b3f2558ed ("rawdev: introduce raw device library") > Cc: shreyansh.jain@nxp.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Tomasz Duszynski > --- > lib/rawdev/rte_rawdev.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c index > dacaa60e22..474bdc9540 100644 > --- a/lib/rawdev/rte_rawdev.c > +++ b/lib/rawdev/rte_rawdev.c > @@ -505,8 +505,7 @@ rte_rawdev_pmd_allocate(const char *name, size_t > dev_priv_size, int socket_id) > uint16_t dev_id; >=20 > if (rte_rawdev_pmd_get_named_dev(name) !=3D NULL) { > - RTE_RDEV_ERR("Event device with name %s already > allocated!", > - name); > + RTE_RDEV_ERR("Raw device with name %s already > allocated!", name); > return NULL; > } >=20 > -- > 2.34.1