Comment 3 for bug 1936850

Revision history for this message
Vladimir Grevtsev (vlgrevtsev) wrote : Re: Port cannot be added to DPDK-enabled bridge: "Error attaching device to DPDK": Invalid port_id=32

After I've installed librte-pmd-hinic20.0 by hand, DPDK bond has been assembled:

    Bridge br-dpdk
        fail_mode: standalone
        datapath_type: netdev
        Port dpdk-bond0
            Interface dpdk-769d67d
                type: dpdk
                options: {dpdk-devargs="0000:3e:00.0"}
            Interface dpdk-18f5dde
                type: dpdk
                options: {dpdk-devargs="0000:40:00.0"}
        Port br-dpdk
            Interface br-dpdk
                type: internal

2021-07-19T17:23:18.989Z|00101|dpdk|INFO|Device with port_id=0 already stopped
2021-07-19T17:23:19.075Z|00102|dpdk|INFO|net_hinic: Disable vlan filter succeed, device: hinic-0000:3e:00.0, port_id: 0
2021-07-19T17:23:19.076Z|00103|dpdk|INFO|net_hinic: Disable vlan strip succeed, device: hinic-0000:3e:00.0, port_id: 0
2021-07-19T17:23:19.082Z|00104|dpdk|INFO|net_hinic: Set port mtu, port_id: 0, mtu: 1500, max_pkt_len: 1518
2021-07-19T17:23:19.309Z|00105|dpdk|INFO|net_hinic: Set new mac address f4:a4:d6:f3:68:a2
2021-07-19T17:23:19.309Z|00106|dpdk|INFO|net_hinic: Disable promiscuous, nic_dev: hinic-0000:3e:00.0, port_id: 0, promisc: 0
2021-07-19T17:23:19.311Z|00107|dpdk|INFO|net_hinic: Disable allmulticast succeed, nic_dev: hinic-0000:3e:00.0, port_id: 0
2021-07-19T17:23:19.314Z|00108|dpdk|INFO|net_hinic: Enable promiscuous, nic_dev: hinic-0000:3e:00.0, port_id: 0, promisc: 0
2021-07-19T17:23:19.316Z|00109|dpdk|INFO|net_hinic: Enable allmulticast succeed, nic_dev: hinic-0000:3e:00.0, port_id: 0
2021-07-19T17:23:19.316Z|00110|netdev_dpdk|INFO|Port 0: f4:a4:d6:f3:68:a2
2021-07-19T17:23:19.318Z|00111|dpif_netdev|INFO|Core 21 on numa node 0 assigned port 'dpdk-769d67d' rx queue 0 (measured processing cycles
 0).
2021-07-19T17:23:19.320Z|00112|bridge|INFO|bridge br-dpdk: added interface dpdk-769d67d on port 1
2021-07-19T17:23:19.338Z|00113|dpdk|INFO|Device with port_id=1 already stopped
2021-07-19T17:23:19.342Z|00114|dpdk|INFO|net_hinic: Disable vlan filter succeed, device: hinic-0000:40:00.0, port_id: 1
2021-07-19T17:23:19.343Z|00115|dpdk|INFO|net_hinic: Disable vlan strip succeed, device: hinic-0000:40:00.0, port_id: 1
2021-07-19T17:23:19.349Z|00116|dpdk|INFO|net_hinic: Set port mtu, port_id: 1, mtu: 1500, max_pkt_len: 1518
2021-07-19T17:23:19.578Z|00117|dpdk|INFO|net_hinic: Set new mac address f4:a4:d6:f3:68:a4
2021-07-19T17:23:19.578Z|00118|dpdk|INFO|net_hinic: Disable promiscuous, nic_dev: hinic-0000:40:00.0, port_id: 1, promisc: 0
2021-07-19T17:23:19.581Z|00119|dpdk|INFO|net_hinic: Disable allmulticast succeed, nic_dev: hinic-0000:40:00.0, port_id: 1
2021-07-19T17:23:19.584Z|00120|dpdk|INFO|net_hinic: Enable promiscuous, nic_dev: hinic-0000:40:00.0, port_id: 1, promisc: 0
2021-07-19T17:23:19.586Z|00121|dpdk|INFO|net_hinic: Enable allmulticast succeed, nic_dev: hinic-0000:40:00.0, port_id: 1
2021-07-19T17:23:19.586Z|00122|netdev_dpdk|INFO|Port 1: f4:a4:d6:f3:68:a4
2021-07-19T17:23:19.588Z|00123|dpif_netdev|INFO|Core 21 on numa node 0 assigned port 'dpdk-769d67d' rx queue 0 (measured processing cycles
 0).
2021-07-19T17:23:19.588Z|00124|dpif_netdev|INFO|Core 21 on numa node 0 assigned port 'dpdk-18f5dde' rx queue 0 (measured processing cycles
 0).
2021-07-19T17:23:19.590Z|00125|bridge|INFO|bridge br-dpdk: added interface dpdk-18f5dde on port 2
2021-07-19T17:23:19.607Z|00126|dpif_netdev|INFO|Core 21 on numa node 0 assigned port 'dpdk-769d67d' rx queue 0 (measured processing cycles
 0).
2021-07-19T17:23:19.607Z|00127|dpif_netdev|INFO|Core 21 on numa node 0 assigned port 'dpdk-18f5dde' rx queue 0 (measured processing cycles
 0).
2021-07-19T17:23:19.607Z|00128|bridge|INFO|bridge br-dpdk: added interface br-dpdk on port 65534
2021-07-19T17:23:19.607Z|00129|bridge|INFO|bridge br-int: using datapath ID 00002ea26c9ff64d
2021-07-19T17:23:19.607Z|00130|connmgr|INFO|br-int: added service controller "punix:/var/run/openvswitch/br-int.mgmt"
2021-07-19T17:23:19.607Z|00131|bridge|INFO|bridge br-dpdk: using datapath ID 0000f4a4d6f368a4
2021-07-19T17:23:19.609Z|00132|bond|INFO|interface dpdk-769d67d: enabled
2021-07-19T17:23:19.612Z|00133|bond|INFO|interface dpdk-18f5dde: enabled