Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1388134[details]
NIC settings exported from the cisco management tool
Description of problem:
Cisco system add dpdk port to ovs bridge failed when configure mtu_request to be a jumbo frame.
Version-Release number of selected component (if applicable):
openvswitch-2.9.0-0.1.20180108git8e3a28c.el7fdp.x86_64
How reproducible:
Steps to Reproduce:
1. Run following commands in cisco machine
driverctl -v set-override 0000:09:00.0 vfio-pci
driverctl -v set-override 0000:0a:00.0 vfio-pci
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0x1
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=4096,0
ovs-vsctl --timeout 10 set Open_vSwitch . other_config:max-idle=30000
systemctl restart openvswitch
ovs-vsctl --timeout 10 set Open_vSwitch . other_config:pmd-cpu-mask=0x20000200
ovs-vsctl --timeout 10 add-br br0 -- set bridge br0 datapath_type=netdev
ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000
2. Add dpdk1 without configure mtu_request to be a jumbo frame.
ovs-vsctl --timeout 10 add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk options:dpdk-devargs=0000:0a:00.0 options:n_rxq=1
Actual results:
Run following command successfully.
ovs-vsctl --timeout 10 add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk options:dpdk-devargs=0000:0a:00.0 options:n_rxq=1
But run following command failed.
ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000
check the /var/log/openvswitch/ovs-vswitchd.log
2018-01-29T07:35:34.486Z|00115|dpdk|INFO|EAL: PCI device 0000:09:00.0 on NUMA socket 0
2018-01-29T07:35:34.486Z|00116|dpdk|INFO|EAL: probe driver: 1137:43 net_enic
2018-01-29T07:35:34.487Z|00117|dpdk|ERR|EAL: Cannot open /dev/vfio/55: Permission denied
2018-01-29T07:35:34.487Z|00118|dpdk|ERR|EAL: Driver cannot attach the device (0000:09:00.0)
2018-01-29T07:35:34.487Z|00119|netdev_dpdk|WARN|Error attaching device '0000:09:00.0' to DPDK
2018-01-29T07:35:34.487Z|00120|netdev|WARN|dpdk0: could not set configuration (Invalid argument)
Expected results:
Run following command successfully.
ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000
Additional info:
Following is the cisco nic info.
[root@cisco-c220m4-01 ~]# ethtool -i enp9s0
driver: enic
version: 2.3.0.42
firmware-version: 4.1(3a)
expansion-rom-version:
bus-info: 0000:09:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[root@cisco-c220m4-01 ~]# lspci -s 0000:09:00.0
09:00.0 Ethernet controller: Cisco Systems Inc VIC Ethernet NIC (rev a2)
VIC model is VIC-1227
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:1962
Created attachment 1388134 [details] NIC settings exported from the cisco management tool Description of problem: Cisco system add dpdk port to ovs bridge failed when configure mtu_request to be a jumbo frame. Version-Release number of selected component (if applicable): openvswitch-2.9.0-0.1.20180108git8e3a28c.el7fdp.x86_64 How reproducible: Steps to Reproduce: 1. Run following commands in cisco machine driverctl -v set-override 0000:09:00.0 vfio-pci driverctl -v set-override 0000:0a:00.0 vfio-pci ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0x1 ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=4096,0 ovs-vsctl --timeout 10 set Open_vSwitch . other_config:max-idle=30000 systemctl restart openvswitch ovs-vsctl --timeout 10 set Open_vSwitch . other_config:pmd-cpu-mask=0x20000200 ovs-vsctl --timeout 10 add-br br0 -- set bridge br0 datapath_type=netdev ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000 2. Add dpdk1 without configure mtu_request to be a jumbo frame. ovs-vsctl --timeout 10 add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk options:dpdk-devargs=0000:0a:00.0 options:n_rxq=1 Actual results: Run following command successfully. ovs-vsctl --timeout 10 add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk options:dpdk-devargs=0000:0a:00.0 options:n_rxq=1 But run following command failed. ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000 check the /var/log/openvswitch/ovs-vswitchd.log 2018-01-29T07:35:34.486Z|00115|dpdk|INFO|EAL: PCI device 0000:09:00.0 on NUMA socket 0 2018-01-29T07:35:34.486Z|00116|dpdk|INFO|EAL: probe driver: 1137:43 net_enic 2018-01-29T07:35:34.487Z|00117|dpdk|ERR|EAL: Cannot open /dev/vfio/55: Permission denied 2018-01-29T07:35:34.487Z|00118|dpdk|ERR|EAL: Driver cannot attach the device (0000:09:00.0) 2018-01-29T07:35:34.487Z|00119|netdev_dpdk|WARN|Error attaching device '0000:09:00.0' to DPDK 2018-01-29T07:35:34.487Z|00120|netdev|WARN|dpdk0: could not set configuration (Invalid argument) Expected results: Run following command successfully. ovs-vsctl --timeout 10 add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:09:00.0 options:n_rxq=1 mtu_request=2000 Additional info: Following is the cisco nic info. [root@cisco-c220m4-01 ~]# ethtool -i enp9s0 driver: enic version: 2.3.0.42 firmware-version: 4.1(3a) expansion-rom-version: bus-info: 0000:09:00.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no [root@cisco-c220m4-01 ~]# lspci -s 0000:09:00.0 09:00.0 Ethernet controller: Cisco Systems Inc VIC Ethernet NIC (rev a2) VIC model is VIC-1227