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 257ABA0524; Fri, 31 Jan 2020 17:17:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E99C41C0D9; Fri, 31 Jan 2020 17:17:39 +0100 (CET) Received: from cgw.contela.com (cgw.contela.com [211.115.80.155]) by dpdk.org (Postfix) with ESMTP id 963141C031 for ; Fri, 31 Jan 2020 02:58:13 +0100 (CET) rtoaddr: dev@dpdk.org Received: (qmail 3784611 invoked by uid 11001); 31 Jan 2020 10:58:10 +0900 Hanbiro-auth: ydkim@contela.com Hanbiro-rcptto: dev@dpdk.org Hanbiro-remoteip: 127.0.0.1 Hanbiro-Virus: None Hanbiro-rbl: None HBSender: ydkim@contela.com Received: from unknown (HELO DESKTOPQFV17NG) (ydkim@220.94.242.79) by 0 (qmail 1.03 + ejcp v14 + HB patch) with SMTP; 31 Jan 2020 10:58:10 +0900 From: =?ks_c_5601-1987?B?sei/tbXm?= To: Date: Fri, 31 Jan 2020 10:58:11 +0900 Message-ID: <000601d5d7d9$e4d447d0$ae7cd770$@contela.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdXX2cTwkWBg/KO7SBSsG7DmLNH0og== Content-Language: ko X-Mailman-Approved-At: Fri, 31 Jan 2020 17:17:38 +0100 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Issue while running testpmd with sr-iov setting 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" Hi. I have a fail in SR-IOV I use a HPE Eth 631SFP28 2port NIC Setting up SR-IOV will cause problems on the second port (port 1). The configuration of SR-IOV is assigned one VF on each port. I added this information to the last table. l Error Log testpmd> port stop 0 Stopping ports... Checking link statuses... Done testpmd> port start 0 bnxt_print_link_info(): Port 0 Link Up - speed 25000 Mbps - full-duplex Port 0: 3A:73:4B:1D:BB:AE Checking link statuses... Done testpmd> port stop 1 Stopping ports... Done testpmd> port start 1 bnxt_hwrm_ring_alloc(): hwrm_ring_alloc tx failed. rc:1 bnxt_init_chip(): HWRM ring alloc failure rc: 1 Fail to start port 1 Please stop the ports first Done l Port Information testpmd> show port info all ********************* Infos for port 0 ********************* MAC address: 3A:73:4B:1D:BB:AE Device name: 0000:af:02.0 Driver name: net_bnxt Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 25000 Mbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 4 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip off filter off qinq(extend) off Hash key size in bytes: 40 Redirection table size: 128 Supported RSS offload flow types: ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp Minimum size of RX buffer: 1 Maximum configurable length of RX packet: 9600 Maximum number of VMDq pools: 64 Current number of RX queues: 1 Max possible RX queues: 230 Max possible number of RXDs per queue: 8192 Min possible number of RXDs per queue: 16 RXDs number alignment: 1 Current number of TX queues: 1 Max possible TX queues: 230 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 16 TXDs number alignment: 1 ********************* Infos for port 1 ********************* MAC address: 6A:85:4C:58:B4:CF Device name: 0000:af:03.0 Driver name: net_bnxt Connect to socket: 1 memory allocation on the socket: 1 Link status: up Link speed: 25000 Mbps Link duplex: full-duplex MTU: 1500 Promiscuous mode: enabled Allmulticast mode: disabled Maximum number of MAC addresses: 4 Maximum number of MAC addresses of hash filtering: 0 VLAN offload: strip off filter off qinq(extend) off Hash key size in bytes: 40 Redirection table size: 128 Supported RSS offload flow types: ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp Minimum size of RX buffer: 1 Maximum configurable length of RX packet: 9600 Maximum number of VMDq pools: 64 Current number of RX queues: 1 Max possible RX queues: 230 Max possible number of RXDs per queue: 8192 Min possible number of RXDs per queue: 16 RXDs number alignment: 1 Current number of TX queues: 1 Max possible TX queues: 230 Max possible number of TXDs per queue: 4096 Min possible number of TXDs per queue: 16 TXDs number alignment: 1 l VF configuration Info $ ip link show dev ens4f0 4: ens4f0: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether f4:03:43:ca:f8:d0 brd ff:ff:ff:ff:ff:ff vf 0 MAC 00:11:22:33:44:55, spoof checking off, link-state enable, trust off $ ip link show dev ens4f1d1 5: ens4f1d1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether f4:03:43:ca:f8:d8 brd ff:ff:ff:ff:ff:ff vf 0 MAC 00:11:22:33:44:77, spoof checking off, link-state enable, trust off Thank for reading Best regard.