The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1680542 - Failed to add dpdk0 to ovs dpdk bridge for qede driver card
Summary: Failed to add dpdk0 to ovs dpdk bridge for qede driver card
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch2.11
Version: FDP 19.03
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: liting
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 10:01 UTC by liting
Modified: 2019-03-07 06:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-07 06:37:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description liting 2019-02-25 10:01:52 UTC
Description of problem:


Version-Release number of selected component (if applicable):
openvswitch2.11-2.11.0-0.20190129gitd3a10db.el7fdp.x86_64
dpdk-tools-18.11-2.el7_6.x86_64
dpdk-18.11-2.el7_6.x86_64

How reproducible:


Steps to Reproduce:
1. Configure hugepage as following.
[root@dell-per730-52 ~]# more /proc/cmdline 
BOOT_IMAGE=/vmlinuz-3.10.0-957.el7.x86_64 root=/dev/mapper/rhel_dell--per730--52-root ro crashkernel=auto rd.lvm.lv=rhel_dell-per730-52/root rd.lvm.lv
=rhel_dell-per730-52/swap console=ttyS0,115200n81 nohz=on default_hugepagesz=1G hugepagesz=1G hugepages=24 intel_iommu=on iommu=pt modprobe.blacklist=
qedi modprobe.blacklist=qedf modprobe.blacklist=qedr skew_tick=1 nohz=on nohz_full=1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,
49,51,53,55 rcu_nocbs=1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55 tuned.non_isolcpus=00555555,55555555 intel_pstate
=disable nosoftlockup

2.
Run following command.
 /usr/bin/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=1024,1024
 /usr/bin/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
 /usr/bin/ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0x2
 /usr/bin/ovs-vsctl --no-wait set Open_vSwitch . other_config:vhost-iommu-support=true
 /usr/bin/ovs-vsctl --timeout 10 add-br br0 -- set bridge br0 datapath_type=netdev
 /usr/bin/ovs-vsctl --timeout 10 set Open_vSwitch . other_config:max-idle=30000
 /usr/bin/ovs-vsctl --timeout 10 set Open_vSwitch . other_config:pmd-cpu-mask=0xaa00000aa00000
 /usr/bin/ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:82:00.0 options:n_rxq=4


Actual results:
Add dpdk0 to br0 failed.
/var/log/openvswitch/ovs-vswitchd.log.
2019-02-25T09:46:00.609Z|00109|dpdk|INFO|EAL: PCI device 0000:82:00.0 on NUMA socket 1
2019-02-25T09:46:00.609Z|00110|dpdk|INFO|EAL:   probe driver: 1077:1656 net_qede
2019-02-25T09:46:00.609Z|00111|dpdk|ERR|EAL: Driver cannot attach the device (0000:82:00.0)
2019-02-25T09:46:00.609Z|00112|dpdk|ERR|EAL: Failed to attach device on primary process
2019-02-25T09:46:00.609Z|00113|netdev_dpdk|WARN|Error attaching device '0000:82:00.0' to DPDK
2019-02-25T09:46:00.609Z|00114|netdev|WARN|dpdk0: could not set configuration (Invalid argument)
2019-02-25T09:46:00.609Z|00115|dpdk|ERR|Invalid port_id=32


Expected results:
Add dpdk0 to bridge successfully.

Additional info:

Comment 2 Jean-Tsung Hsiao 2019-02-25 15:56:46 UTC
This is a dup of 1672849 : https://bugzilla.redhat.com/show_bug.cgi?id=1672849#c13

Comment 5 liting 2019-03-07 06:37:17 UTC
I download qed_init_values-8.37.7.0.bin to /usr/lib/firmware/qed and it work well now. So it is not a bug. I will close it.


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