[dpdk-dev] Issue while running testpmd with sr-iov setting

김영득 ydkim at contela.com
Fri Jan 31 02:58:11 CET 2020


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.

 



More information about the dev mailing list