[ovs-discuss] OVS-DPDK NIC requires even number of RX/TX queues

Ammar Alammar ammar at ammasa.net
Wed Oct 30 09:16:29 UTC 2019


Hello,
I'm new to OVS and I have a QLogic QL45000 100GbE NIC that I'd like to
test with OVS-DPDK.
When I add the the interface I get the error:

2019-10-30T09:12:30.085Z|00148|dpdk|INFO|Device with port_id=0 already stopped
2019-10-30T09:12:30.085Z|00149|dpdk|ERR|[qede_dev_configure:1176(18:00.0:dpdk-port-0)]100G
mode needs even no. of RX/TX queues
2019-10-30T09:12:30.085Z|00150|dpdk|ERR|Port0 dev_configure = -22
2019-10-30T09:12:30.085Z|00151|netdev_dpdk|WARN|Interface dpdk eth_dev
setup error Invalid argument
2019-10-30T09:12:30.085Z|00152|netdev_dpdk|ERR|Interface dpdk(rxq:2
txq:3 lsc interrupt mode:false) configure error: Invalid argument
2019-10-30T09:12:30.085Z|00153|dpif_netdev|ERR|Failed to set interface
dpdk new configuration
2019-10-30T09:12:30.085Z|00154|dpif|WARN|netdev at ovs-netdev: failed to
add dpdk as port: Invalid argument
2019-10-30T09:12:30.085Z|00155|bridge|WARN|could not add network
device dpdk to ofproto (Invalid argument)
2019-10-30T09:12:30.085Z|00156|dpdk|INFO|Device with port_id=0 already stopped

I can change the RX queue to 2 but I can't change the TX queue which
has a default value of 3 queues.

The output of ovs-vsctl show:
7110d167-a10b-4592-92e8-54616aa24e3d
    Bridge dpdk-br
        datapath_type: netdev
        Port dpdk-br
            Interface dpdk-br
                type: internal
        Port dpdk
            Interface dpdk
                type: dpdk
                options: {dpdk-devargs="0000:18:00.0", n_rxq="2", n_txq="2"}
                error: "could not add network device dpdk to ofproto
(Invalid argument)"
    ovs_version: "2.12.0"

Using OVS version 2.12.0 and vfio-pci as the driver for the DPDK
interface. Any help is greatly appreciated.


More information about the discuss mailing list