Bug 1424 - x710 ports Error attaching device to DPDK
Summary: x710 ports Error attaching device to DPDK
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 21.11
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-04-28 13:03 CEST by zhangtongjian
Modified: 2024-04-29 08:46 CEST (History)
2 users (show)



Attachments

Description zhangtongjian 2024-04-28 13:03:28 CEST
dpdk tools:

Network devices using DPDK-compatible driver
============================================
0000:b1:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci unused=i40e

ovs-vswitchd:
2024-04-28T10:56:02.508Z|00518|dpdk|ERR|EAL: Driver cannot attach the device (0000:b1:00.0)
2024-04-28T10:56:02.508Z|00519|dpdk|ERR|EAL: Failed to attach device on primary process
2024-04-28T10:56:02.508Z|00520|netdev_dpdk|WARN|Error attaching device '0000:b1:00.0' to DPDK
2024-04-28T10:56:02.508Z|00521|netdev|WARN|eth4: could not set configuration (Invalid argument)
2024-04-28T10:56:02.508Z|00522|dpdk|ERR|Invalid port_id=288

CPU INFO:
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         52 bits physical, 57 bits virtual
  Byte Order:            Little Endian
CPU(s):                  128
  On-line CPU(s) list:   0-127
Vendor ID:               AuthenticAMD
  BIOS Vendor ID:        Advanced Micro Devices, Inc.
  Model name:            AMD EPYC 9334 32-Core Processor
    BIOS Model name:     AMD EPYC 9334 32-Core Processor

HugePages_Total:      12
HugePages_Free:       11
HugePages_Rsvd:        0
HugePages_Surp:        0


other_config        : {dpdk-init="true", dpdk-socket-mem="1024,1024", pmd-cpu-mask="0x100", userspace-tso-enable="true", vlan-limit="0"}
Comment 1 David Marchand 2024-04-29 08:46:12 CEST
This is a OVS issue, I see nothing related to vhost so I reset the component to "other" for now.
There is probably some issue in the setup.

Please enable debug logs in OVS and DPDK (you need to pass some '-vfile:dbg' command line options to ovs-vswitchd and set --log-level=*:debug in ovsdb dpdk-extra parameter), then restart OVS.

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