Bug 1379 - qede pmd driver does not work in Debian Bookworm
Summary: qede pmd driver does not work in Debian Bookworm
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 22.11
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-02-15 03:13 CET by Junsong Zhao
Modified: 2024-02-15 03:13 CET (History)
0 users



Attachments

Description Junsong Zhao 2024-02-15 03:13:45 CET
dpdk qede pmd driver does not work in Debian Bookworm. dpdk-testpmd cannot receive any packet due to nombuf. This happens to both kernel driver vfio-pci and uio_pci_generic. 

However
(1) Linux kernel's qede driver works fine.
(2) The Qlogic qede card and dpdk-testpmd works in Debian Bullseye.

Here are some logs:

show port stats all

  ######################## NIC statistics for port 0  ########################
  RX-packets: 0          RX-missed: 9364844    RX-bytes:  0
  RX-errors: 0
  RX-nombuf:  9364844   
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  ############################################################################

show port info all

********************* Infos for port 0  *********************
MAC address: F4:E9:D4:F2:38:98
Device name: 0000:d8:00.0
Driver name: net_qede
Firmware-version: 8.40.33.0 MFW: 8.40.31.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 40 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 512
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip 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  vxlan
  geneve
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9672
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 4
Max possible RX queues: 32
Max possible number of RXDs per queue: 32768
Min possible number of RXDs per queue: 128
RXDs number alignment: 128
Current number of TX queues: 4
Max possible TX queues: 32
Max possible number of TXDs per queue: 32768
Min possible number of TXDs per queue: 256
TXDs number alignment: 256
Max segment number per packet: 255
Max segment number per MTU/TSO: 18
Device capabilities: 0x0( )
Device error handling mode: none
testpmd> show port info 1

========== kernel and driver information

fs4240-87-87:~# uname -r
6.1.0-17-amd64
ii  dpdk                                  22.11.4-1~deb12u1                    
ii  librte-net-qede23:amd64               22.11.4-1~deb12u1                    


d8:00.0 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 40GbE Controller (rev 10)
	Subsystem: Cisco Systems Inc FastLinQ QL45000 Series 40GbE Controller
	Flags: fast devsel, IRQ 119, NUMA node 1, IOMMU group 11
	Memory at fb880000 (64-bit, prefetchable) [size=512K]
	Memory at fb000000 (64-bit, prefetchable) [size=8M]
	Memory at fb910000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at fbe80000 [disabled] [size=512K]
	Capabilities: [48] Power Management version 3
	Capabilities: [50] Vital Product Data
	Capabilities: [58] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [a0] MSI-X: Enable- Count=129 Masked-
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [160] Virtual Channel
	Capabilities: [1b0] Latency Tolerance Reporting
	Capabilities: [1b8] Alternative Routing-ID Interpretation (ARI)
	Capabilities: [230] Transaction Processing Hints
	Capabilities: [300] Secondary PCI Express
	Capabilities: [200] Precision Time Measurement
	Kernel driver in use: vfio-pci
	Kernel modules: qede

d8:00.1 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 40GbE Controller (rev 10)
	Subsystem: Cisco Systems Inc FastLinQ QL45000 Series 40GbE Controller
	Flags: fast devsel, IRQ 121, NUMA node 1, IOMMU group 11
	Memory at fb800000 (64-bit, prefetchable) [size=512K]
	Memory at fa800000 (64-bit, prefetchable) [size=8M]
	Memory at fb900000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at fbe00000 [disabled] [size=512K]
	Capabilities: [48] Power Management version 3
	Capabilities: [50] Vital Product Data
	Capabilities: [58] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [a0] MSI-X: Enable- Count=129 Masked-
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [1b8] Alternative Routing-ID Interpretation (ARI)
	Capabilities: [230] Transaction Processing Hints
	Kernel driver in use: vfio-pci
	Kernel modules: qede

Note You need to log in before you can comment on or make changes to this bug.