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 CC4034240D; Wed, 18 Jan 2023 12:24:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E27D400D6; Wed, 18 Jan 2023 12:24:17 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id E37694003F for ; Wed, 18 Jan 2023 12:24:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674041056; x=1705577056; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dE6ikuRBZYhko1lG8nYVB3jWVJsZkRYdOSt/j2EjYBs=; b=gVFZanuRAgtzyToTJpORSdL9KlnMdTvjkbB7vBqkEX+rfhbm+DKlKVP6 YRokIvB7oKizdWExZ2bCJMnW4tlsLxpnkwWYDMEfS2J/04sHQbLBBLREe eMuEoWF4oy6VLFfaLlAjccIiofzMGkOiyOLgwQ8dzMvMmtDifcXKtOB6b 4OONeCwlVj0yfzWgv46mqi+B/xzDnCR27ZkqTfxYO/xyyPpG6W2b8QPAE i1Z/z2sxSbhzus6QGveyUSJ7FODLGT8obdtY85gGDSMXF1GUbaTIuJHyH 1s9uzYFn0XH4L/ZdPus5C16jlxqgPF943+vEq12OD23BO0KnFlyGDhsGr Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="389461859" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="389461859" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 03:24:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="652889809" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="652889809" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 18 Jan 2023 03:24:10 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 18 Jan 2023 03:24:10 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 18 Jan 2023 03:24:10 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 18 Jan 2023 03:24:10 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 18 Jan 2023 03:24:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QNRZuqAnR3PInf+dGrbyWtL0thmp3GCjKFDH5WWTBawctQofISyLzdFJm2ph756uDKlB1aYDCgdIR/O3YUOAEltseyyqBFcJ962cufSNPKnTtwqCWxOu9QHAYLX7Qtm4vlV7BdZDOr5Bnd+gboj2D6sinjU9PiFz3fF3nSUfad9FS7pr+OdoMZDktG+YH6iq/yK1qU9zuG5w6dRpfBPo26No0NEzElvIaoQ2LZpez7nrEwlmvX9wn0y+TVqdJuUsFhsm+WDbHwSgDp4nlKsuN1uL8iizdhUN5f+j31X/jqFZOUywZzUtUK7r5td5xHcb/PaE2wLNSeSKS9Axhw4c5g== 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=dE6ikuRBZYhko1lG8nYVB3jWVJsZkRYdOSt/j2EjYBs=; b=BFFr6qCPnIiZEUP1Kqqd8lHW7tMAmiQhJEhZH/g7WjHIHbc5y+B3iFjIisSWsvNdlA/2XoiZhJieBMB6CRJ4V8VDDZxbF3FKTIFfBHDgR9MIO9jD8K9D28Oif5SdcuwB1J2Ag1V1e9q7dPVd6bVYi3Bs0Z+/WWLmbi3LwzkbqLzZSnsqPsCO5Q3ro7sVC4PPdXExskuUVMnc0tVeqOrrWTNyf1NnVjY7lahE/j/Z1uCuuJNTGSgvM2bFvik2KT/OEa1kCld1wtIPMf39WwN3q8tfEppCujqLidWd9qqWjmUGEwlADtlAJHlKAUKFnIysKKxs+DQP1aQMsov1r/gR1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by DS0PR11MB6422.namprd11.prod.outlook.com (2603:10b6:8:c6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Wed, 18 Jan 2023 11:24:08 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::d1db:30fc:2964:8059]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::d1db:30fc:2964:8059%9]) with mapi id 15.20.6002.024; Wed, 18 Jan 2023 11:24:08 +0000 From: "Walsh, Conor" To: Mohammad Iqbal Ahmad , "dev@dpdk.org" , "Medvedkin, Vladimir" , Konstantin Ananyev CC: "jerinj@marvell.com" , "skori@marvell.com" , "skoteshwar@marvell.com" , "pbhagavatula@marvell.com" , "kirankumark@marvell.com" , "psatheesh@marvell.com" , "asekhar@marvell.com" , "anoobj@marvell.com" , "gakhil@marvell.com" , "hkalra@marvell.com" , "ndabilpuram@marvell.com" Subject: RE: [PATCH v1] examples/l3fwd: fix for coverity scan Thread-Topic: [PATCH v1] examples/l3fwd: fix for coverity scan Thread-Index: AQHZJRG8TmUIQI2Z30Ke7QDlpxsUu66kFHVw Date: Wed, 18 Jan 2023 11:24:08 +0000 Message-ID: References: <20221216073958.1645736-1-mahmad@marvell.com> <20230110163442.1157560-1-mahmad@marvell.com> In-Reply-To: <20230110163442.1157560-1-mahmad@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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5207:EE_|DS0PR11MB6422:EE_ x-ms-office365-filtering-correlation-id: f5943229-f8ff-4dfd-9eea-08daf9468404 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PnoDkof7M0Z6vMGMwxDYcte8Y4naZk2s3WNp7GTzGUVa4PuwcqNUubRh2YJm7M85LwhTi9pA6IbuI1rcflpbEvrOfQ+vIEbetwdK6IA9lz27E1FxbWGWV82OPH9R7mX2NDibklnAPZJ3nFNYAoGzcXOQWEtoXgUszGdH4WD/dmOPuPuSjALzkLoUDpeX4XIxozfmcdM7O2xTx6pRDOmRfvlUml2E/6PGBqZHkJifiP35Dm044Z6zSYXjhknaDPQ6jnaDVbwXmIo5glzy6WJAsJlahurE8EWQKj/jvIs+dgVBMow/53Fmq1dlGZyS9dsYRXLS1jqKagA/UyU8RX7bQ/EgwbJofSlGHCxSHn7GfEH+qwQ5PHSyMUmNbd6dzY8wPzR+h6aRy8Unj9te+j/DdMvCLTu1HrNwEi0SVqq18TyrHXiZ1VuADus/CgrrCx7VP1A12JeSrDsCiMzz5E2R7XPSUO4gXwJ74dHRx49F8xv/9iGX/OVzhe/8B7I8iG1sCEIMy2ox/o2o5jsQ8fZRHtgFPd+mWS6M71G351ks5lVxPEinxwAt+FCN75MDmfbOuN63FZkF6Fe2/Pn9Y23PHTs+f6+pQkL171b38IjZq4WRLJHXu50QLJCSqyvbnjN9gYGzYvOO8Pl1eT3ZkUJi87LGfczEagzVnATXGYzN+6LjEGqEC66YyfugwrgXNHV0JzIYdxmBvik7949yjgHV+w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(39860400002)(136003)(396003)(346002)(366004)(451199015)(66446008)(66556008)(76116006)(66476007)(26005)(41300700001)(186003)(64756008)(8676002)(9686003)(66946007)(4326008)(86362001)(33656002)(82960400001)(5660300002)(52536014)(8936002)(110136005)(7696005)(2906002)(478600001)(54906003)(71200400001)(55016003)(316002)(4744005)(38100700002)(38070700005)(6506007)(7416002)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Gf8kNOEBd8o3UywAdLyZTukCCujOKTChRygxvohjkyKNdeUVUcuYJPatDzE7?= =?us-ascii?Q?Us9Ly6NvUi5Xu6Oc0n0zuIjRLC6FbjZ6AoWakc1QzSVh7iKiSHpIsml8ION6?= =?us-ascii?Q?edagFK79AAi26MPgqGP1KaUy1sMZzvXuZcbhv32kyKf/TJEaq2cgNHnzU4Ph?= =?us-ascii?Q?drOdESOzxbSOu9g1xBc2WftMNTWlnAzJmwtJ+vwVxYe4ysDPB8YGZ48yaktg?= =?us-ascii?Q?fGuLiZK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NZ9y44qmCiSDP4C3nAxgLG2HB8vEwSN?= =?us-ascii?Q?uBH2jdXIx6zpqhS2Ohy4ogvfeOgIKTJ4jUC7OqaJw1zpZ63LO93u6weDqaRt?= =?us-ascii?Q?Uizqh4mjG7CedvMF+BqKdaTIsZC9drhFtZrmOdoosEYGJfnSZQSHVYYjOgUf?= =?us-ascii?Q?8f9XY+nUqOc878Son8YbZvPw5XoOETSHIj/XuRpIY6Di43I0Hx5Zr3WknM7t?= =?us-ascii?Q?urB6IVDuIb0RrvLQHBfGCh3N87fR1LDkHeWQxu0A812tTOgr5hyMm51OuC2b?= =?us-ascii?Q?F09tmS+p/7j1Yw61zlldZ+XFjlmpmIsAY6FY2VtxBAg7HcQ2LM7ImC8Dqhy8?= =?us-ascii?Q?1e4Ah+jTbti8aKyEtqOiYGDs5XbmMya/nlub0E0pMH4hx4uvebXKJMCV6HjZ?= =?us-ascii?Q?ZIZ6njGy/ovTvGGE8T6DJ9WvUapB8Sqz/rg6pT3KFCFIC2xx3Hu42+CZ6va/?= =?us-ascii?Q?DNMCUbTDJb8kmiOndEnHd08M06YT4NBVe2D2VoV7?= 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: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5943229-f8ff-4dfd-9eea-08daf9468404 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2023 11:24:08.3800 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mZnuoezxd0hFKltvC/z2Nm/ZWr9q4+zi7lUUSnPaO7v3rDSgzVBMdfhVI3a0ixENEh2mtSVwMucTO33VSTls7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6422 X-OriginatorOrg: intel.com 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 > This patch fixes (Logically dead code) coverity issue. > This patch also fixes (Uninitialized scalar variable) coverity issue. >=20 > Coverity issue: 381687 > Coverity issue: 381686 > Fixes: 6a094e328598 ("examples/l3fwd: implement FIB lookup method") >=20 > Signed-off-by: Mohammad Iqbal Ahmad Acked-by: Conor Walsh