[ovs-git] [openvswitch/ovs] 30149e: netdev-dpdk: Fix coremask logic.
GitHub
noreply at github.com
Sat May 21 01:10:02 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 30149e29732468e4129da44f84ea83d6dae84411
https://github.com/openvswitch/ovs/commit/30149e29732468e4129da44f84ea83d6dae84411
Author: Kevin Traynor <kevin.traynor at intel.com>
Date: 2016-05-20 (Fri, 20 May 2016)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
netdev-dpdk: Fix coremask logic.
Only set the thread affinity back to the pre rte_eal_init() value
when the user has not specified a coremask.
Fixes: 88964e6428dc("netdev-dpdk: Autofill lcore coremask if absent")
Signed-off-by: Kevin Traynor <kevin.traynor at intel.com>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>
Commit: d8e2f4ccf26cfb81539b198f9a523a71316707ec
https://github.com/openvswitch/ovs/commit/d8e2f4ccf26cfb81539b198f9a523a71316707ec
Author: Kevin Traynor <kevin.traynor at intel.com>
Date: 2016-05-20 (Fri, 20 May 2016)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
netdev-dpdk: Improve pthread_getaffinity_np() fail handling.
Prevent pthread_setaffinity_np() being called with a potentially
invalid cpu_set_t and add a default (core 0x1).
Also, only call pthread_getaffinity_np() if no dpdk-lcore-mask specified.
Signed-off-by: Kevin Traynor <kevin.traynor at intel.com>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>
Compare: https://github.com/openvswitch/ovs/compare/a75636c8b950...d8e2f4ccf26c
More information about the git
mailing list