mbox series

[ovs-dev,v2,0/3] Fix TSC frequency if DPDK is not available.

Message ID 20190902112711.2919-1-i.maximets@samsung.com
Headers show
Series Fix TSC frequency if DPDK is not available. | expand

Message

Ilya Maximets Sept. 2, 2019, 11:27 a.m. UTC
Version 2:
  * Removed redundant OVS_UNUSED.
  * 'ovs_numa_thread_setaffinity_core' reimplemented via
    'ovs_numa_thread_setaffinity_dump' to reduce code duplication.
  * Added Ack from William to patches #2 and #3 as they wasn't changed.


Ilya Maximets (3):
  ovs-numa: Add dump based thread affinity functions.
  dpif-netdev-perf: Fix TSC frequency for non-DPDK case.
  dpdk: Use ovs-numa provided functions to manage thread affinity.

 lib/dpdk-stub.c        |  6 ++++
 lib/dpdk.c             | 33 ++++++++++---------
 lib/dpdk.h             |  1 +
 lib/dpif-netdev-perf.c | 75 ++++++++++++++++++++++++++++++++----------
 lib/dpif-netdev-perf.h |  2 ++
 lib/dpif-netdev.c      |  9 +++++
 lib/ovs-numa.c         | 72 +++++++++++++++++++++++++++++++++++++---
 lib/ovs-numa.h         |  2 ++
 8 files changed, 162 insertions(+), 38 deletions(-)

Comments

Ilya Maximets Sept. 6, 2019, 10:37 a.m. UTC | #1
On 02.09.2019 14:27, Ilya Maximets wrote:
> 
> Version 2:
>   * Removed redundant OVS_UNUSED.
>   * 'ovs_numa_thread_setaffinity_core' reimplemented via
>     'ovs_numa_thread_setaffinity_dump' to reduce code duplication.
>   * Added Ack from William to patches #2 and #3 as they wasn't changed.
> 
> 
> Ilya Maximets (3):
>   ovs-numa: Add dump based thread affinity functions.
>   dpif-netdev-perf: Fix TSC frequency for non-DPDK case.
>   dpdk: Use ovs-numa provided functions to manage thread affinity.
> 
>  lib/dpdk-stub.c        |  6 ++++
>  lib/dpdk.c             | 33 ++++++++++---------
>  lib/dpdk.h             |  1 +
>  lib/dpif-netdev-perf.c | 75 ++++++++++++++++++++++++++++++++----------
>  lib/dpif-netdev-perf.h |  2 ++
>  lib/dpif-netdev.c      |  9 +++++
>  lib/ovs-numa.c         | 72 +++++++++++++++++++++++++++++++++++++---
>  lib/ovs-numa.h         |  2 ++
>  8 files changed, 162 insertions(+), 38 deletions(-)

Thanks, David and William!
I added const qualifiers and applied series to master.

Best regards, Ilya Maximets.