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 15301A00BE; Sun, 5 Jun 2022 17:06:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A7D9400EF; Sun, 5 Jun 2022 17:06:41 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2047.outbound.protection.outlook.com [40.107.244.47]) by mails.dpdk.org (Postfix) with ESMTP id 3430D40041; Sun, 5 Jun 2022 17:06:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V1whE5kx1uybLE4cULZOlTfME8Sy1gP2d0Avgb+2+cfTktNSRfmx0KCh0gXLtQ34J6uw8wCqCV33SqatI/bjKIQQTb/P+XP0o/vvB4ocHf1w0V+JBYs3D9DlB9mcKGZ5qQdR6lCHJeq3lKwdmiZVKGfQCX38rXB+6ARpwetzTljqFY2R+iV0sz3snCWw7fAhjxQfYuYvBKQyqMVaudySVmat+DR1zpdbqStEME1bTmuzkBSkDQ1KVXDAK2rrT9IgOH4o4dZD2ZSXn4+87cOdigDD2VrDDTBuyNZQxirmv3/gs5Q+n2G74X8pTk4G92DvNmUFgZHb10wddfFH3WHEYw== 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=RUas60avOW+Tv08YW4BAtxjpvYnhmP6cDJykBM/J/DU=; b=nGmOB8c1ozdaqyBZ8itNhetLPpO/hLiPH9mc9VY6pKvK9GEvuukqkSpr7ZWF+LtHyAkJ3nJrWksIvuIhHKGV7oV9R2thLWt/290N1hND+8q0pFzEvYZlzskBwPmRVKlhRgOQHvI/2ZkmNAC9TOfX7guxF6IfktcJmVGr1J75GPq16UmU0K54qhhR4t87620Vl6Ce+eN+ODGVPeW623GHPBKNabWMINr+Prr3ppJzbL53jz2/A+3ZTuKp+AV7XoFOY1hRWng5MKCQgDse4/ohf3FJeLRCGD61FrifyPmzAENyl6XHydsc1FLcT5yOpczULk7B3ngIYMIScIEv+wzSgA== 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=RUas60avOW+Tv08YW4BAtxjpvYnhmP6cDJykBM/J/DU=; b=rX66MLbn0qKaJIRErHdvDMy9LKaGJ6wjKwgT4WIv6iwaW9UvTpViJmVCVxgA4JHaffdFCgTQBskSApAwrMISU4RJubLlYsOsaEkqUnO3xzUxMROXVgZDBxnltRvonSIAMmiXbQYZzk0t+EUZ1Ey4fKxjoRjmJSGRkh0pzYVzPfTkSHfrkyBapZgswsIDhW/9IiYsRCVRUyd5wivlAC7j04ICCLE2ClPtuAl+78dQQUf8W4T9IhU+vS+tvfmj0Et4r3S+qqgh1r0YnIJLamtxyXR8RRkhH0E/k0m34XpYVZWutF0Lv0F5dYUFiPW61KjD7uSqUFwV0Vqi39SQkCjI5w== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BY5PR12MB4257.namprd12.prod.outlook.com (2603:10b6:a03:20f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Sun, 5 Jun 2022 15:06:38 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36%5]) with mapi id 15.20.5314.015; Sun, 5 Jun 2022 15:06:38 +0000 From: Raslan Darawsheh To: Suanming Mou , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] common/mlx5: fix list unused lcore check Thread-Topic: [PATCH] common/mlx5: fix list unused lcore check Thread-Index: AQHYdI1nAhwkgumHVkus2Iso1mYKZ61A8ooA Date: Sun, 5 Jun 2022 15:06:38 +0000 Message-ID: References: <20220531012548.11156-1-suanmingm@nvidia.com> In-Reply-To: <20220531012548.11156-1-suanmingm@nvidia.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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: acd8e046-8434-4004-3679-08da4704fda8 x-ms-traffictypediagnostic: BY5PR12MB4257:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1UPiFiG5d2goUTVYN6qnTVMbYbcnSFVDsr441GV4H4gVEXBlM339qIqmbueh864543oyO+NFqAvvWF0cEYFWJipM1PkbdK3D2xjsdfOp6RRPxhX+Ja8DMwXf/1zZh4j37KQPh6yNvy8dVe1bm2EGGuEY24hh0mhF5RnQru/GsynjpLh4hZZ8ph2YYh6dPRxxd1ijVkt3P0ydKiXbzSo7r0wF1PgC4Y3W6CDlS29kxCLztg8y+Fr26Twb/x0UyBT65EBZzmEZ8jSxQI6OtqLt63KdI5oSnpma6xTEVRmNKErvgx9NYVsftKve2WueuoV9Vhaasok09w9bPZRutscc/fyfnMCMZ6gOxvAoBCmCBKkPZ6wspCiGbC6Fo6pWsexZxS3Y8w3hwU+Q4b7We5nJEF9dI9xVQQOLePATHReGngARR/KE41vu00fjIAR1Uqim3j11z5G0Rt08s8qDrPJcUjqaQlpmzrOX7DcDYo3nbP0z6Hjr+9LPhoqyp3gZ5l4Hn1jsBwGJJAVJyTVti7mhky5UIlKJnKHOByBsgGDE0sLmZ0B3HaCzuCEXej6b4PjcDPSRU+3e/GtnVMUDo5Htjl+M+mhuYjgpGJx0HjwNNu5HXrfI5A/MHPFcAG6VLoXBbRp06v9sArUreioY1HU115rIVg590FO9prutzZzYnUaZ/qpKJQIFMhKr4MMb/bIVX1RDVQ96YlyPxoNpcukBsg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(33656002)(52536014)(316002)(186003)(26005)(55016003)(9686003)(86362001)(83380400001)(110136005)(53546011)(6506007)(7696005)(54906003)(6636002)(66556008)(66476007)(38100700002)(66446008)(64756008)(66946007)(71200400001)(8676002)(4326008)(508600001)(5660300002)(122000001)(38070700005)(4744005)(450100002)(2906002)(76116006)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CqTAkFoTMKugGsNZWHNoDgbRB7ePMqfVP3n0T72mSLA7N/+HvFd0cGbuDsZP?= =?us-ascii?Q?IQhwo9TDl5EkBF0xEFE7BGedH5nn84zbE5MQgNS8LJ6wxPq+thmX5yLZr1Lb?= =?us-ascii?Q?jw4onwxDfoVJwQT0apHkZ3DxlynpHuoH7W1pR3iHB1N1PCib20G8wDgR+ziW?= =?us-ascii?Q?VZRpVg/w8McL0LiFLBL52xsggcffCO4EeF0db32CDyAgEuhCsqiUu1eOYD4q?= =?us-ascii?Q?XyGYop/0J97DbAzWCwKcwdenIq+AV3fnY9p6OlxgR7fSAnRoP4CswBfo+9ad?= =?us-ascii?Q?pJjjAUDxic00yi92yIjH9l1djaucH6OZtTSEwhW7fTMrSwRfGKg3hzGKREL1?= =?us-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V2aux8VHn2icvIO752Jvyi?= =?us-ascii?Q?d6ox4hrC7HnUj0Pxrr1hTcPhxO2NEXxe+S4nYFtDeDQuO5o9SW7LcEmjf0q0?= =?us-ascii?Q?oMZpA99E2MKANPRghj5cQYxQYKai+IvJHWigDs9ikP+OOdvd3ug/JfaCygNU?= =?us-ascii?Q?0dYC/cr2S7tMr1T3X8JM9tqfbnPr6g0CIt+HqA93OegdhyvwVbsysEBNoGnt?= =?us-ascii?Q?f/D1/n2JNDuK6okiFhDZjx0WFIoV7wQ8v/wXcqpyKwE+AE8ctbwVW1Uj3S0C?= =?us-ascii?Q?G9+a7nURX8lV8MGXpBUDAe3EmmmShus+MUbm1ROXqDc5VlWi/ALq5Egoh55U?= =?us-ascii?Q?M0D30IoaEvz/IwvPTCUQUmvX0+iMTwDUho4/QFsGvHd4LVIdUaJiqxdbQ9uI?= =?us-ascii?Q?7AqsTFfFve2nLIsoy0PcvLO41+Z10xlmCLpYOQghzov4V+rEQRagqgOU2mQe?= =?us-ascii?Q?KeaUQfp2d2Bc5wQJWZXcMtrXVQ5xDZJMwt1YtEWgAsRvdb1xBqd0KhKp80Un?= =?us-ascii?Q?xx7Z002k6Q=3D=3D?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: acd8e046-8434-4004-3679-08da4704fda8 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2022 15:06:38.6822 (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: mv5ueRT9tMa3YhpS9MQzkp1KonZvwXKa/x2x72Tgn99qoZNgukZuHRL9YMMVHVRpzn/QS2+tmksXC8ClcJt+zA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4257 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 Hi, > -----Original Message----- > From: Suanming Mou > Sent: Tuesday, May 31, 2022 4:26 AM > To: Slava Ovsiienko ; Matan Azrad > > Cc: Raslan Darawsheh ; dev@dpdk.org; > stable@dpdk.org > Subject: [PATCH] common/mlx5: fix list unused lcore check >=20 > While non-lcore list operations were supported, non-lcore index will be > converted to MLX5_LIST_NLCORE. In that case, no need to check the lcore > index be -1 or not anymore. >=20 > This commit removes the unused lcore check in list. >=20 > Fixes: 7e1cf892711b ("common/mlx5: support list non-lcore operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Suanming Mou > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh