[dpdk-dev] [PATCH] ring: use aligned memzone allocation

2017-06-02 Thread Daniel Verkamp
: d9f0d3a1ffd4 ("ring: remove split cacheline build setting") Signed-off-by: Daniel Verkamp --- lib/librte_ring/rte_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ring/rte_ring.c b/lib/librte_ring/rte_ring.c index 5f98c33..ee42343 100644 --- a/lib/l

[dpdk-dev] [PATCH v2] ring: use aligned memzone allocation

2017-06-02 Thread Daniel Verkamp
: d9f0d3a1ffd4 ("ring: remove split cacheline build setting") Signed-off-by: Daniel Verkamp --- v2: fixed checkpatch warnings lib/librte_ring/rte_ring.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_ring/rte_ring.c b/lib/librte_ring/rte_ring.c ind

[dpdk-dev] [PATCH] vhost: clean up per-socket mutex

2017-06-12 Thread Daniel Verkamp
vsocket->conn_mutex was allocated with pthread_mutex_init() but never freed with pthread_mutex_destroy(). This is a potential memory leak, depending on how pthread_mutex_t is implemented. Signed-off-by: Daniel Verkamp --- lib/librte_vhost/socket.c | 3 +++ 1 file changed, 3 insertions(+) d

[dpdk-dev] [PATCH] pci: pad vendor and device ID to 4 digits

2017-06-23 Thread Daniel Verkamp
Some PCI vendor and device IDs have leading zeros. Signed-off-by: Daniel Verkamp --- lib/librte_eal/common/eal_common_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index 78b097e

[dpdk-dev] [PATCH v2] pci: pad vendor and device ID to 4 digits

2017-06-23 Thread Daniel Verkamp
Some PCI vendor and device IDs have leading zeros. Signed-off-by: Daniel Verkamp --- v2: added #define for format string, use %.4 style and PRIx16 lib/librte_eal/common/eal_common_pci.c | 8 lib/librte_eal/common/include/rte_pci.h | 3 +++ 2 files changed, 7 insertions(+), 4