<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi, anyone has similar issue?<br>
<br>
</div>
<pre style="background-color: rgb(255, 255, 255); margin: 1px 0px 0px; padding: 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.2); width: auto;"><div style="text-align: left; text-indent: 0px; line-height: 1.2; white-space: pre-wrap;" class="elementToProof"><span style="font-size: 9.75pt; color: rgb(64, 64, 64);">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.</span></div><div style="text-align: left; text-indent: 0px; line-height: 1.2; white-space: pre-wrap;" class="elementToProof"><span style="font-size: 9.75pt; color: rgb(64, 64, 64);">(3) dpdk-testpmd works fine with other drivers (i40e, ixgbe)

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</span></div></pre>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<p style="background-color: white; margin-right: 0px; margin-left: 0px;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(34, 34, 34);">Junsong Zhao</span></p>
<p style="background-color: white; margin-right: 0px; margin-left: 0px;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(34, 34, 34);">Tech Lead</span></p>
<p style="background-color: white; margin-right: 0px; margin-left: 0px;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(34, 34, 34);">Stealthwatch</span></p>
<p style="background-color: white; margin-right: 0px; margin-left: 0px;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(34, 34, 34);">junszhao@cisco.com</span></p>
<p style="background-color: white; margin-right: 0px; margin-left: 0px;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(34, 34, 34);">Mobile: +1-410-530-1036</span></p>
</div>
</body>
</html>