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 BA30AA04B1; Tue, 24 Nov 2020 09:51:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0004DC912; Tue, 24 Nov 2020 09:51:14 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 5DC9EC90E for ; Tue, 24 Nov 2020 09:51:13 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 43F95A04DB; Tue, 24 Nov 2020 09:51:12 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 24 Nov 2020 08:51:11 +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: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: weix.ling@intel.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 582] [Regression Test] usertools/dpdk-devbind.py: execute "./usertools/dpdk-devbind.py --status-dev misc" command to get CBDMA device info failed. 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=3D582 Bug ID: 582 Summary: [Regression Test] usertools/dpdk-devbind.py: execute "./usertools/dpdk-devbind.py --status-dev misc" command to get CBDMA device info failed. Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: minor Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- DPDK version:=20 61bd270c4adc7dff1f9c8af1f2c72618860d4395 refs/heads/main Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: 5.3.0-59-generic/Ubuntu 18.04.5 LTS Compiler: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz. NIC hardware: Ethernet Controller XL710 for 40GbE QSFP+ 1583. NIC firmware: i40e_2.13.10/8.00 0x80008b8a 1.2766.0 Test Setup Steps to reproduce List the steps to reproduce the issue. # tar -xvf dpdk.tar.gz # cd dpdk # ./usertools/dpdk-devbind.py --status-dev misc Show the output from the previous commands. # root@dpdk-Perf-dut222:/home/autoregression/dts/dts/dep/dpdk# ./usertools/dpdk-devbind.py --status-dev misc usage: dpdk-devbind.py [-h] [-s] [--status-dev {net,baseband,crypto,event,mempool,compress}] [-b DRIVER | -u] [--force] [DEVICE [DEVICE ...]] dpdk-devbind.py: error: argument --status-dev: invalid choice: 'misc' (choo= se from 'net', 'baseband', 'crypto', 'event', 'mempool', 'compress') Expected Result Explain what is the expected result in text or as an example output: # root@dpdk-Perf-dut222:~# dpdk-devbind.py --status-dev miscMisc (rawdev) devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci 0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' if=3D drv=3Dioatdma unused=3Digb_uio,vfio-pci Regression Is this issue a regression: (Y) Version the regression was introduced: Specify git id if known. Bad commit: commit 81255f27c65c7f42f50ee8dfb0feeb40c36c4c61 (HEAD) Author: Stephen Hemminger Date: Tue Nov 3 22:48:41 2020 -0800 usertools: replace optparse with argparse The optparse module is deprecated and replaced with new argparse. Using the python standard argument parser instead of C library style getopt gives a number of advantages such as checking for conflicting arguments, restricting choices, and automatically generating help messages. Some of the help messages are now less wordy. The code now enforces the rule that only one of the pmdinfo formats can be specified: raw or json. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --=20 You are receiving this mail because: You are the assignee for the bug.=