From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3374143B09; Thu, 15 Feb 2024 03:13:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0B924026C; Thu, 15 Feb 2024 03:13:47 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 8D5A94025C for ; Thu, 15 Feb 2024 03:13:46 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 68D8343B0A; Thu, 15 Feb 2024 03:13:46 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/ethdev Bug 1379] qede pmd driver does not work in Debian Bookworm Date: Thu, 15 Feb 2024 02:13:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: junszhao@cisco.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=17079632260.6Ab2aC5.691273 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --17079632260.6Ab2aC5.691273 Date: Thu, 15 Feb 2024 03:13:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1379 Bug ID: 1379 Summary: qede pmd driver does not work in Debian Bookworm Product: DPDK Version: 22.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: junszhao@cisco.com Target Milestone: --- 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-p= ci and uio_pci_generic.=20 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=20=20=20 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:=20 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D kernel and driver information fs4240-87-87:~# uname -r 6.1.0-17-amd64 ii dpdk 22.11.4-1~deb12u1=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ii librte-net-qede23:amd64 22.11.4-1~deb12u1=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 d8:00.0 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 40GbE Controller (rev 10) Subsystem: Cisco Systems Inc FastLinQ QL45000 Series 40GbE Controll= er Flags: fast devsel, IRQ 119, NUMA node 1, IOMMU group 11 Memory at fb880000 (64-bit, prefetchable) [size=3D512K] Memory at fb000000 (64-bit, prefetchable) [size=3D8M] Memory at fb910000 (64-bit, prefetchable) [size=3D64K] Expansion ROM at fbe80000 [disabled] [size=3D512K] Capabilities: [48] Power Management version 3 Capabilities: [50] Vital Product Data Capabilities: [58] MSI: Enable- Count=3D1/32 Maskable- 64bit+ Capabilities: [a0] MSI-X: Enable- Count=3D129 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 Controll= er Flags: fast devsel, IRQ 121, NUMA node 1, IOMMU group 11 Memory at fb800000 (64-bit, prefetchable) [size=3D512K] Memory at fa800000 (64-bit, prefetchable) [size=3D8M] Memory at fb900000 (64-bit, prefetchable) [size=3D64K] Expansion ROM at fbe00000 [disabled] [size=3D512K] Capabilities: [48] Power Management version 3 Capabilities: [50] Vital Product Data Capabilities: [58] MSI: Enable- Count=3D1/32 Maskable- 64bit+ Capabilities: [a0] MSI-X: Enable- Count=3D129 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --17079632260.6Ab2aC5.691273 Date: Thu, 15 Feb 2024 03:13:46 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1379
Summary qede pmd driver does not work in Debian Bookworm
Product DPDK
Version 22.11
Hardware x86
OS Linux
Status UNCONFIRMED
Severity normal
Priority Normal
Component ethdev
Assignee dev@dpdk.org
Reporter junszhao@cisco.com
Target Milestone ---

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-p=
ci
and uio_pci_generic.=20

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=20=20=20
  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:=20
  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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D kernel and driver information

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


d8:00.0 Ethernet controller: QLogic Corp. FastLinQ QL45000 Series 40GbE
Controller (rev 10)
        Subsystem: Cisco Systems Inc FastLinQ QL45000 Series 40GbE Controll=
er
        Flags: fast devsel, IRQ 119, NUMA node 1, IOMMU group 11
        Memory at fb880000 (64-bit, prefetchable) [size=3D512K]
        Memory at fb000000 (64-bit, prefetchable) [size=3D8M]
        Memory at fb910000 (64-bit, prefetchable) [size=3D64K]
        Expansion ROM at fbe80000 [disabled] [size=3D512K]
        Capabilities: [48] Power Management version 3
        Capabilities: [50] Vital Product Data
        Capabilities: [58] MSI: Enable- Count=3D1/32 Maskable- 64bit+
        Capabilities: [a0] MSI-X: Enable- Count=3D129 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 Controll=
er
        Flags: fast devsel, IRQ 121, NUMA node 1, IOMMU group 11
        Memory at fb800000 (64-bit, prefetchable) [size=3D512K]
        Memory at fa800000 (64-bit, prefetchable) [size=3D8M]
        Memory at fb900000 (64-bit, prefetchable) [size=3D64K]
        Expansion ROM at fbe00000 [disabled] [size=3D512K]
        Capabilities: [48] Power Management version 3
        Capabilities: [50] Vital Product Data
        Capabilities: [58] MSI: Enable- Count=3D1/32 Maskable- 64bit+
        Capabilities: [a0] MSI-X: Enable- Count=3D129 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
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --17079632260.6Ab2aC5.691273--