[ovs-dev] [PATCH 4/5] dpif-netdev: Assign PMD for failed pinned rxqs.
Kevin Traynor
ktraynor at redhat.com
Thu Jul 1 23:20:24 UTC 2021
On 24/06/2021 08:51, Pai G, Sunil wrote:
> Hey Kevin ,
>
> Patch looks good to me.
> Builds fine , all test cases here http://patchwork.ozlabs.org/project/openvswitch/patch/20210316154532.127858-1-ktraynor@redhat.com/ pass as well.
>
>
> # ovs-appctl dpif-netdev/pmd-rxq-show
> pmd thread numa_id 0 core_id 1:
> isolated : false
> port: dpdk0 queue-id: 0 (enabled) pmd usage: 0 %
> pmd thread numa_id 0 core_id 2:
> isolated : false
> port: vhostuserclient0 queue-id: 0 (enabled) pmd usage: 0 %
>
> # $OVS_DIR/utilities/ovs-vsctl set interface vhostuserclient0 other_config:pmd-rxq-affinity="0:99"
>
> # ovs-appctl dpif-netdev/pmd-rxq-show
> pmd thread numa_id 0 core_id 1:
> isolated : false
> port: dpdk0 queue-id: 0 (enabled) pmd usage: 0 %
> pmd thread numa_id 0 core_id 2:
> isolated : false
> port: vhostuserclient0 queue-id: 0 (enabled) pmd usage: 0 %
>
> from vswitchd log:
> dpif_netdev|WARN|Core 99 cannot be pinned with port 'vhostuserclient0' rx queue 0. Use pmd-cpu-mask to enable a pmd on core 99. An alternative core will be assigned.
> dpif_netdev|INFO|Performing pmd to rx queue assignment using cycles algorithm.
> dpif_netdev|INFO|Core 1 on numa node 0 assigned port 'dpdk0' rx queue 0. (measured processing cycles 0).
> dpif_netdev|INFO|Core 2 on numa node 0 assigned port 'vhostuserclient0' rx queue 0. (measured processing cycles 0).
>
nice, thanks for reviewing and testing this and the other patches.
Kevin.
>
> <snipped>
>
More information about the dev
mailing list