From: 김영득 <ydkim@contela.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] Issue while running testpmd with sr-iov setting
Date: Fri, 31 Jan 2020 10:58:11 +0900 [thread overview]
Message-ID: <000601d5d7d9$e4d447d0$ae7cd770$@contela.com> (raw)
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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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.
next reply other threads:[~2020-01-31 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 1:58 김영득 [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-31 2:23 [dpdk-dev] Issue while running testpmd with sr-iov setting 김영득
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601d5d7d9$e4d447d0$ae7cd770$@contela.com' \
--to=ydkim@contela.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.