Hey Kevin , 

Patch looks good to me. 
Builds fine , all test cases here 
http://patchwork.ozlabs.org/project/openvswitch/patch/[email protected]/
  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).


<snipped>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to