Comment 2 for bug 1905284

Revision history for this message
Michał Ajduk (majduk) wrote :

ubuntu@inf1az1cz202904rz:~/deploy$ juju config ovn-chassis-dpdk dpdk-socket-cores
1

This renders following config on the machine:
root@cmp3az1cz20300kvd:~# ovs-vsctl get Open_vSwitch . other_config:dpdk-lcore-mask
"0x100001"

dpdk-lcore-mask
Specifies the CPU cores on which dpdk lcore threads should be spawned and expects hex string (eg ‘0x123’).

root@cmp3az1cz20300kvd:~# ovs-vsctl get Open_vSwitch . other_config:pmd-cpu-mask
ovs-vsctl: no key "pmd-cpu-mask" in Open_vSwitch record "." column other_config

That contains 2 CPUs:
1
1048576 mod 80 = 16

I'm not usre how this maps to PMD core 12 that is actually in use