From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24563A00E6 for ; Fri, 12 Jul 2019 22:04:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 055C51B9A7; Fri, 12 Jul 2019 22:04:28 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 6D87D2C6A for ; Fri, 12 Jul 2019 22:04:26 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 3BFCFA0613; Fri, 12 Jul 2019 22:04:26 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 12 Jul 2019 20:04: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: 19.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stephen@networkplumber.org 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 320] mlx4: info get fails in secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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=3D320 Bug ID: 320 Summary: mlx4: info get fails in secondary process Product: DPDK Version: 19.08 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: stephen@networkplumber.org Target Milestone: --- Attempts to do dev_info_get in secondary process fail because the driver ha= ndle to infiniband (priv->ctx) is not valid in secondary process. This leads to: #0 0x00007ffff5d06ab4 in _IO_vfprintf_internal (s=3Ds@entry=3D0x7fffffffe3= c0, format=3D, format@entry=3D0x7ffff496a605 "%s/device/net", ap=3Dap@entry=3D0x7fffffffe528) at vfprintf.c:1635 #1 0x00007ffff5d32599 in _IO_vsnprintf (string=3D0x7fffffffe4b0 "", maxlen=3D, format=3D0x7ffff496a605 "%s/device/net", args=3Dargs@entry=3D0x7fffffffe528) at vsnprintf.c:119 #2 0x00007ffff5d0fd32 in __snprintf (s=3Ds@entry=3D0x0, maxlen=3Dmaxlen@en= try=3D0, format=3Dformat@entry=3D0x7ffff496a605 "%s/device/net") at snprintf.c:34 #3 0x00007ffff4720b8b in mlx4_get_ifname (priv=3Dpriv@entry=3D0xc0137e93c0, ifname=3Difname@entry=3D0x7fffffffe690) at /usr/src/redhat/BUILD/dpdk-18.11/drivers/net/mlx4/mlx4_ethdev.c:71 #4 0x00007ffff47214e4 in mlx4_dev_infos_get (dev=3D, info=3D0x7fffffffe6e0) at /usr/src/redhat/BUILD/dpdk-18.11/drivers/net/mlx4/mlx4_ethdev.c:583 #5 0x00007ffff44b896c in rte_eth_dev_info_get (port_id=3Dport_id@entry=3D0, dev_info=3Ddev_info@entry=3D0x7fffffffe6e0) at /usr/src/redhat/BUILD/dpdk-18.11/lib/librte_ethdev/rte_ethdev.c:2532 --=20 You are receiving this mail because: You are the assignee for the bug.=