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 69B5342D76; Tue, 27 Jun 2023 18:05:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3ED440F18; Tue, 27 Jun 2023 18:05:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4F92740EE1 for ; Tue, 27 Jun 2023 18:05:11 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35R9VT0B031559; Tue, 27 Jun 2023 09:05:10 -0700 Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2168.outbound.protection.outlook.com [104.47.73.168]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3re00k14pd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Jun 2023 09:05:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hhsD5kmg2cc7hHvxDB0Aadq7oL24/9AFgXjXD3uPwWJ0eeTKcCxYwU1fodnI3atc14B51eDA2V6TYCYiYM7ibl7qNT5taysDJPNxaFk6q0A2Dsj46kCXztrz/l9M/ZjjXWT5Ca01PDtvrTdkFXquCSqaL2QOmQUQoIW+UGy/7CL7JhJ5ucHgfqC6osq/GZ1bHb98rsGVR22C6LRd+w7XtLp7joHMVk4x12dVzi1FHcM80hbKdnnSGq3znbelxQRENvEfv7YEHTgXPWZsbtLVNjHvokVvbCMLMgcu7PTZZ51KD4yKdEb3FTaqC3YUjbI1n34wEKdBMeL6ScJpetgUww== 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=nytrC/OblrTPyxmyH0h8fSisXQj1/VTz2+sYAU1ASIM=; b=gA6r9Qc5eCBWMrtrdfrS7lmRYT0qo0cWGMB/KNq4182GuEfwzui76HZG7joQlPq6w/ZJ3Sp8tWXty0fhyK8FfOhX2wDzcWrklesyi1t2lD1/PbFLscu4g7tjduHKfnQdhXgyW+L7ply2jgRKV82MHrYKdnFJKwDF+J/XyaEoIJsVYLBOIxcU1q9fdQEaG/Isk2QF4VMMT/rTu+3KDGw6V5xiduXzfRV5sEb4n5RmZ1gNw89VgvGBehiX3ijg5zi1MTgHu7weECG16WK6+i6Q2cI5//P8gtseagcP7DjwJXCY47Gu2nTpdYTbu+9I7wELQo/CMDIf5EAVqUOrGabnPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nytrC/OblrTPyxmyH0h8fSisXQj1/VTz2+sYAU1ASIM=; b=azoteR2rOL0RMI6iaZaYXUQP/ngsPiJvsFwhzJsiXBPT3glW8pLpJW967tq+4Pti6blNOhwyLE9+C3zt2U0FQBRyxB0B+zCyY3niOamc/cbRU1Fux6aukOjtLHrhSbMfFyZKUOnEvsfAlioQkjtuf90wMDYOUgVlcejvGv1db6c= Received: from PH0PR18MB5167.namprd18.prod.outlook.com (2603:10b6:510:168::7) by SA0PR18MB3504.namprd18.prod.outlook.com (2603:10b6:806:9e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 16:05:07 +0000 Received: from PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::75fe:8527:aaf:bbda]) by PH0PR18MB5167.namprd18.prod.outlook.com ([fe80::75fe:8527:aaf:bbda%7]) with mapi id 15.20.6521.024; Tue, 27 Jun 2023 16:05:06 +0000 From: Amit Prakash Shukla To: Thomas Monjalon CC: Nithin Kumar Dabilpuram , Pavan Nikhilesh Bhagavatula , "dev@dpdk.org" , Jerin Jacob Kollanukkaran Subject: RE: [EXT] Re: [PATCH] lib: fix coverity for unused variable Thread-Topic: [EXT] Re: [PATCH] lib: fix coverity for unused variable Thread-Index: AQHZoEKmBCo3EUTTSEu/3kjQGjLzoK+eurwAgAAi67A= Date: Tue, 27 Jun 2023 16:05:06 +0000 Message-ID: References: <20230616110640.3642684-1-amitprakashs@marvell.com> <2509685.TLnPLrj5Ze@thomas> In-Reply-To: <2509685.TLnPLrj5Ze@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcYW1pdHByYWth?= =?us-ascii?Q?c2hzXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctNWY3YWY5NzgtMTUwNC0xMWVlLWI2ZDct?= =?us-ascii?Q?Y2QyODFjY2U5OGE2XGFtZS10ZXN0XDVmN2FmOTdhLTE1MDQtMTFlZS1iNmQ3?= =?us-ascii?Q?LWNkMjgxY2NlOThhNmJvZHkudHh0IiBzej0iMjI3MCIgdD0iMTMzMzIzNTU1?= =?us-ascii?Q?MDMxMDExMzIwIiBoPSJBMUwya0tLTU9YSlFBU3FwbEdlT3RVR3hJVnM9IiBp?= =?us-ascii?Q?ZD0iIiBibD0iMCI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UFBQWJRQmhBSElBZGdCbEFHd0FiQUJmQUhRQVpRQnlBRzBBYVFC?= =?us-ascii?Q?dUFIVUFjd0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFKNEFBQUJ0QUdF?= =?us-ascii?Q?QWNnQjJBR1VBYkFCc0FGOEFkd0J2QUhJQVpBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBRUFBQUFBQUFBQUFnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB5167:EE_|SA0PR18MB3504:EE_ x-ms-office365-filtering-correlation-id: 7db8e05d-57d9-401b-0264-08db77284681 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dS1TGOIwNgCZAAQcEZBh27x1PQcKM8GrSmMPi6qp3ZkP02fNR4QSK6dRDulKwRfQ+6hMq94bbEcHTUfm3qRyG1/9TxMIikV5z/FgPekaTWyC5YeFnFlTgPtAyW+yTek3fCYRRJ0DJJzpU4PIAOBp+y/JOmqrKI9605Q59s1QweeO0XZmy/c+HRq3G0JTFnThm4QW62nKatJ2uKZZjeR3FjLs3r4D+hQMDCkpABXTtHwbhq1rH/GbtFQt4EFONHmYjpcmYxa3urGx1+3/sNei0mOCl7L7IaBEmYNXQsKg81k/rMhH/mnAEP5W5AF9F5giznd0lp5hnk0sCP+46Yb7yYprtAhzDwGFSJvbHdMETu5MBkcQt6DZ1x58UIZdkPeMUkqfvl/uEgUBZ9ioG2FvxEftHywZA5GYxD4B3+bpCU4GWu8vl0cHuZ2YZFAsxizUYlOgkNRGCkni4Ug6aLoHb+nJzoLlsMyHWifTTKpc14RRAdJg7wR3xYG/IIc2Nyiu9h+WNkoyN12eMBn35kiL8b4mnr+lUbC5o2VAb4s6vobZML+raxYOJ5BwjtW4HTQ6/MSUzPqi2ijWnHRksi3iDDyBwPDL6AjJPWYHpEe5RnFzxp8Nsz15UiZoPO9YopId x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB5167.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(366004)(396003)(136003)(376002)(39860400002)(451199021)(2906002)(26005)(76116006)(5660300002)(52536014)(4326008)(64756008)(66556008)(66446008)(38070700005)(8676002)(86362001)(66946007)(33656002)(66476007)(8936002)(122000001)(316002)(38100700002)(41300700001)(55016003)(9686003)(6916009)(107886003)(186003)(53546011)(6506007)(7696005)(54906003)(478600001)(83380400001)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QGDPf5HYayHcJomMYURqAqysN+4tN4EKUE1Dyy1R0VDqH6qvLGFNFciw9ajP?= =?us-ascii?Q?ycY3077A+Il5/tJm8H1cXsh0q+Y4dnJN7Nc+mXXltYvNQyFo37Cr7tZMNtTe?= =?us-ascii?Q?iPvlJ/nNiaKC2gZojD8AoZ8gBexBbpbIbX4dxMP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bbs97c+phy7CLImuMtZUL6FSSToN+V95wIeIb3YsOs0j?= =?us-ascii?Q?LqED2rB8pdDnx9aoE1x/VNMPEifi2WCsUqAafGkZcixdaBGqvFlCZF4X28gV?= =?us-ascii?Q?KMj2M0Ck/YjDGb+l54uUiAngb4qhalgyUXpY9Lza1R+e5duH+oWidsgV0okM?= =?us-ascii?Q?fabuR6J1upLf/nvPzcjXEBXTLLlitW9f4we4jwoRFpkDsMeoIMqLUOgjbXCp?= =?us-ascii?Q?fadWiph3USnAb8xhdgDkwxmI5bbQbFdQ2qcrGudeZ4/S0R2ROcFINP1WxNGj?= =?us-ascii?Q?XfVTO4Z+dtjjsoCVDFqB3GUNet08rQFWG2kXSK5zR5+vsLBHqCql6jAl0pHv?= =?us-ascii?Q?mv3j/FlJjb0vqDkWeBuw03QlhsdoUOECbDmCoBmZePDzQC1dzWDUkJK3yjEB?= =?us-ascii?Q?GQhw1IrSYmDU1s0LFFhFHK/KBL9mUpBDqJieCc01zOCUf3zqD+lIxUM2TMC/?= =?us-ascii?Q?EGV44w/yQRw3EYLKQw/V7hTaXoLprIdt9xw8fobTXaTYeKv/8zboj9+k2H+i?= =?us-ascii?Q?pgs2XUyf/B/UkSMGbs/pU1lGhchgHev+o4FC8TxV?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB5167.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7db8e05d-57d9-401b-0264-08db77284681 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2023 16:05:06.7729 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mOybHfLCK+RDAMZBAYd28hKSmuUgBcU9YDTRy15FLddIGPPbWf5x8TpkDcCIOO/ktwA9exjCoi68NVmd/vtkfkYzZH8vlc6BWis3ThpBrTw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR18MB3504 X-Proofpoint-GUID: t5ygoIICW2kXLDN9R_HoH_8W2hV0LgKn X-Proofpoint-ORIG-GUID: t5ygoIICW2kXLDN9R_HoH_8W2hV0LgKn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-27_10,2023-06-27_01,2023-05-22_02 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 Thomas, Please find my reply inline. Thanks, Amit Shukla > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, June 27, 2023 7:15 PM > To: Amit Prakash Shukla > Cc: Nithin Kumar Dabilpuram ; Pavan Nikhilesh > Bhagavatula ; dev@dpdk.org; Jerin Jacob > Kollanukkaran > Subject: [EXT] Re: [PATCH] lib: fix coverity for unused variable >=20 > External Email >=20 > ---------------------------------------------------------------------- > 16/06/2023 13:06, Amit Prakash Shukla: > > Removed variable "rc" that stored a return value from a function > > rte_lpm6_lookup_bulk_func. >=20 > You are not really removing the variable, right? > It looks you just stop storing the return of this function. > Whouldn't it better to check the return code? Yes, I am just not storing the return value. The reason to not store return code is to avoid return code check in datapath. rte_lpm6_lookup_bulk_func will return error only if lpm6, ip_batch, next_hop are NULL. In function ip6_lookup_node_process_sca= lar these variables will never be NULL. >=20 >=20 > > Coverity issue: 385595 > > Fixes: 20365d793e45 ("node: add IPv6 lookup node") > > > > Signed-off-by: Amit Prakash Shukla > > --- > > lib/node/ip6_lookup.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/node/ip6_lookup.c b/lib/node/ip6_lookup.c index > > e4bbc7ed67..2b20194295 100644 > > --- a/lib/node/ip6_lookup.c > > +++ b/lib/node/ip6_lookup.c > > @@ -135,7 +135,7 @@ ip6_lookup_node_process_scalar(struct rte_graph > *graph, struct rte_node *node, > > node_mbuf_priv1(mbuf3, dyn)->ttl =3D ipv6_hdr->hop_limits; > > rte_memcpy(ip_batch[3], ipv6_hdr->dst_addr, 16); > > > > - rc =3D rte_lpm6_lookup_bulk_func(lpm6, ip_batch, next_hop, > 4); > > + rte_lpm6_lookup_bulk_func(lpm6, ip_batch, next_hop, 4); > > > > next_hop[0] =3D (next_hop[0] < 0) ? (int32_t)drop_nh : > next_hop[0]; > > node_mbuf_priv1(mbuf0, dyn)->nh =3D > (uint16_t)next_hop[0]; > > >=20 >=20 >=20 >=20