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 8F636A0547; Thu, 28 Oct 2021 19:55:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2750E40DDB; Thu, 28 Oct 2021 19:55:28 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id C2F024067B for ; Thu, 28 Oct 2021 19:55:26 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 97A67A0C45; Thu, 28 Oct 2021 19:55:26 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 28 Oct 2021 17:55:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vsrivast@xilinx.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 862] Uninitialized value of devargs.bus_str for RTE_DEVARGS_KEY_CLASS case 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D862 Bug ID: 862 Summary: Uninitialized value of devargs.bus_str for RTE_DEVARGS_KEY_CLASS case Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: vsrivast@xilinx.com Target Milestone: --- In the 21.11_rc2 code base there are some changes in the function rte_devargs_layers_parse (in the lib/eal/common/eal_common_devargs.c) due to these changes an issue got introduced which is resulting junk value for 'devargs.bus_str' in the function rte_dev_iterator_init for RTE_DEVARGS_KEY_CLASS case. - Earlier devargs->bus_str was getting populated for all the cases of RTE_DEVARGS_KEY_*(_CLASS/_BUS/_DRIVER) in the rte_devargs_layers_parse. - In the latest code it is getting populated only for RTE_DEVARGS_KEY_BUS so for all other cases it has junk value for 'devargs.bus_str' if devargs fiel= ds are NOT set to 0 by caller function. - rte_dev_iterator_init is calling rte_devargs_layers_parse() and it does n= ot set devargs fields to 0 before passing it to rte_devargs_layers_parse so for RTE_DEVARGS_KEY_CLASS case devargs->bus_str is having junk value which is causing issue.=20 - When running dpdk-vdpa app then it is unable to find vDPA device Due to t= his issue. --=20 You are receiving this mail because: You are the assignee for the bug.=