From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id B17E54F98 for ; Tue, 9 Apr 2019 20:33:01 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id k3so9800541pga.6 for ; Tue, 09 Apr 2019 11:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hF0ssMI5J5Gvf9juaIeqsF7o5qz8/0pQD6ie9h5saOM=; b=KHtk571zaIA74oGWEnuaROKA4P9WVdrSnAjtLcw2nlV7OzufEszHFgvm2p/O635rru YCleulFpcbS5zCG4k4W/iTe1nGfwjktR8CJbE6mC9UUuXdE9cbFMKLcfiLQaW1FtdrFZ 8SexSE7AUkxrA4c0pJbBOKFtWVLad6Vt9gj36cQyJEh94Opm0i5vDDcBx3U8rmmNGDPO iQXt/4KDP7oCmKxuf0XUiQ+cYFiSdchKimajLa+VI8kgwIB030rrSVD4UHjHIJV+ODek C51FBac5x8ibdmzj9XkJHne8tg3Qt6M72omEdvT9Nq9aMQ0xUcp6ZTdGgYhXVWody7ID 0RNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hF0ssMI5J5Gvf9juaIeqsF7o5qz8/0pQD6ie9h5saOM=; b=Jit6rKSS+y9W1Xal3tFr/C43g9492v8jpB3mmBCXYSfPwQl5HN9qaTqpcYu9seZq6t IHasIWYYnU1lOsZNqNdY2xoLJLRVcUAgOsDDnY7ZQ0s8MsdttpoyksR3QkqHxb11cK3s cz6oA2aA0S2fJRzuxQLxGwzgRLs/Tx4dsA3ho/vqgayiDpTdIElQMWR1/K5+KEbGdoQo j+fO3C+RR3DnXpH8wDfJMbAurs39ZQWJrf5icX0WeZZQPIdgIreKopA2Iip0ioVSBvC6 d97X5/xVT6PoKMn01FHzc5HJbUgRj3Ulw75qCZXjaDJnPdRpMGK4E/2uW2elaJx7ddJ8 FdNQ== X-Gm-Message-State: APjAAAUtrgUb9bDU/pZo0zrL0J7/8iZ6yEIfpINdcBM3arN3wy6qe7R5 tMxIS6a1C6RlMoNu1bSD/InauSm+BqIvLA== X-Google-Smtp-Source: APXvYqwwgJ11Hwj7ItBUmVzW/ZICsjM4234/to5SFVAHHNgMT+8PKD3pkLA/r3rs10fc2oX6/Rjwxw== X-Received: by 2002:a62:ed05:: with SMTP id u5mr11411139pfh.63.1554834780452; Tue, 09 Apr 2019 11:33:00 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x28sm34799622pgl.38.2019.04.09.11.33.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 11:33:00 -0700 (PDT) Date: Tue, 9 Apr 2019 11:32:56 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger Message-ID: <20190409113256.2edfe4ba@shemminger-XPS-13-9360> In-Reply-To: <20190216013646.9738-1-stephen@networkplumber.org> References: <20190216013646.9738-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix crash when doing port info of vdev 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: , X-List-Received-Date: Tue, 09 Apr 2019 18:33:02 -0000 On Fri, 15 Feb 2019 17:36:46 -0800 Stephen Hemminger wrote: > From: Stephen Hemminger > > Noticed a SEGV in testpmd doing: > > show port info 1 > on Hyper-V with failsafe/tap PMD. > > A vdev may not have an associated device (i.e NULL) and therefore > testpmd should skip devargs in that case. > > Fixes: cf72ed09181b ("app/testpmd: display devargs in port info output") > Signed-off-by: Stephen Hemminger Can not reproduce with 19.05-rc1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9F233A0096 for ; Tue, 9 Apr 2019 20:33:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6DDD5587; Tue, 9 Apr 2019 20:33:03 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id B17E54F98 for ; Tue, 9 Apr 2019 20:33:01 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id k3so9800541pga.6 for ; Tue, 09 Apr 2019 11:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hF0ssMI5J5Gvf9juaIeqsF7o5qz8/0pQD6ie9h5saOM=; b=KHtk571zaIA74oGWEnuaROKA4P9WVdrSnAjtLcw2nlV7OzufEszHFgvm2p/O635rru YCleulFpcbS5zCG4k4W/iTe1nGfwjktR8CJbE6mC9UUuXdE9cbFMKLcfiLQaW1FtdrFZ 8SexSE7AUkxrA4c0pJbBOKFtWVLad6Vt9gj36cQyJEh94Opm0i5vDDcBx3U8rmmNGDPO iQXt/4KDP7oCmKxuf0XUiQ+cYFiSdchKimajLa+VI8kgwIB030rrSVD4UHjHIJV+ODek C51FBac5x8ibdmzj9XkJHne8tg3Qt6M72omEdvT9Nq9aMQ0xUcp6ZTdGgYhXVWody7ID 0RNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hF0ssMI5J5Gvf9juaIeqsF7o5qz8/0pQD6ie9h5saOM=; b=Jit6rKSS+y9W1Xal3tFr/C43g9492v8jpB3mmBCXYSfPwQl5HN9qaTqpcYu9seZq6t IHasIWYYnU1lOsZNqNdY2xoLJLRVcUAgOsDDnY7ZQ0s8MsdttpoyksR3QkqHxb11cK3s cz6oA2aA0S2fJRzuxQLxGwzgRLs/Tx4dsA3ho/vqgayiDpTdIElQMWR1/K5+KEbGdoQo j+fO3C+RR3DnXpH8wDfJMbAurs39ZQWJrf5icX0WeZZQPIdgIreKopA2Iip0ioVSBvC6 d97X5/xVT6PoKMn01FHzc5HJbUgRj3Ulw75qCZXjaDJnPdRpMGK4E/2uW2elaJx7ddJ8 FdNQ== X-Gm-Message-State: APjAAAUtrgUb9bDU/pZo0zrL0J7/8iZ6yEIfpINdcBM3arN3wy6qe7R5 tMxIS6a1C6RlMoNu1bSD/InauSm+BqIvLA== X-Google-Smtp-Source: APXvYqwwgJ11Hwj7ItBUmVzW/ZICsjM4234/to5SFVAHHNgMT+8PKD3pkLA/r3rs10fc2oX6/Rjwxw== X-Received: by 2002:a62:ed05:: with SMTP id u5mr11411139pfh.63.1554834780452; Tue, 09 Apr 2019 11:33:00 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x28sm34799622pgl.38.2019.04.09.11.33.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 11:33:00 -0700 (PDT) Date: Tue, 9 Apr 2019 11:32:56 -0700 From: Stephen Hemminger To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger Message-ID: <20190409113256.2edfe4ba@shemminger-XPS-13-9360> In-Reply-To: <20190216013646.9738-1-stephen@networkplumber.org> References: <20190216013646.9738-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix crash when doing port info of vdev 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" Message-ID: <20190409183256.xX3gii-VyLpCwuZy7XFcdxCV7IojneafKRQ44a4CWiY@z> On Fri, 15 Feb 2019 17:36:46 -0800 Stephen Hemminger wrote: > From: Stephen Hemminger > > Noticed a SEGV in testpmd doing: > > show port info 1 > on Hyper-V with failsafe/tap PMD. > > A vdev may not have an associated device (i.e NULL) and therefore > testpmd should skip devargs in that case. > > Fixes: cf72ed09181b ("app/testpmd: display devargs in port info output") > Signed-off-by: Stephen Hemminger Can not reproduce with 19.05-rc1