[dpdk-test-report] |FAILURE| pw37546[dpdk-dev, v4, 02/70] eal: move all locking to heap

sys_stv at intel.com sys_stv at intel.com
Thu May 10 10:14:23 CEST 2018


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/37546

_apply issues_

Submitter: Anatoly Burakov <anatoly.burakov at intel.com>
Date: 2018-04-08 20:17:35
DPDK git baseline:
	Repo:dpdk-master, CommitID: 8ea41438832a360aed2b7ba49fb75e310a2ff1dc
	Repo:dpdk-next-eventdev, CommitID: 640b0d1e510e111694c25145466f37867453837f
	Repo:dpdk-next-net, CommitID: 774c1892c434dba09998ccc76b956feb72224571
	Repo:dpdk-next-crypto, CommitID: 728ca9b0d5abea82cd01dee6645456a9d56215f7
	Repo:dpdk-next-virtio, CommitID: 037c0996bc927342f157426739e0cb63f2db8689

*Repo: dpdk-master
Checking patch lib/librte_eal/common/malloc_elem.c...
error: while searching for:
int
malloc_elem_free(struct malloc_elem *elem)
{
	if (!malloc_elem_cookies_ok(elem) || elem->state != ELEM_BUSY)
		return -1;
--
	rte_spinlock_lock(&(elem->heap->lock));
	size_t sz = elem->size - sizeof(*elem) - MALLOC_ELEM_TRAILER_LEN;
	uint8_t *ptr = (uint8_t *)&elem[1];
	struct malloc_elem *next = RTE_PTR_ADD(elem, elem->size);

error: patch failed: lib/librte_eal/common/malloc_elem.c:243
error: lib/librte_eal/common/malloc_elem.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.c...
error: while searching for:
	return elem == NULL ? NULL : (void *)(&elem[1]);
}

/*
 * Function to retrieve data for heap on given socket
 */

error: patch failed: lib/librte_eal/common/malloc_heap.c:145
error: lib/librte_eal/common/malloc_heap.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.h...
error: while searching for:
		unsigned flags, size_t align, size_t bound);

int
malloc_heap_get_stats(struct malloc_heap *heap,
		struct rte_malloc_socket_stats *socket_stats);


error: patch failed: lib/librte_eal/common/malloc_heap.h:28
error: lib/librte_eal/common/malloc_heap.h: patch does not apply
Checking patch lib/librte_eal/common/rte_malloc.c...
error: while searching for:
void rte_free(void *addr)
{
	if (addr == NULL) return;
	if (malloc_elem_free(malloc_elem_from_data(addr)) < 0)
		rte_panic("Fatal error: Invalid memory\n");
}


error: patch failed: lib/librte_eal/common/rte_malloc.c:29
error: lib/librte_eal/common/rte_malloc.c: patch does not apply
*Repo: dpdk-next-eventdev
Checking patch lib/librte_eal/common/malloc_elem.c...
error: while searching for:
int
malloc_elem_free(struct malloc_elem *elem)
{
	if (!malloc_elem_cookies_ok(elem) || elem->state != ELEM_BUSY)
		return -1;
--
	rte_spinlock_lock(&(elem->heap->lock));
	size_t sz = elem->size - sizeof(*elem) - MALLOC_ELEM_TRAILER_LEN;
	uint8_t *ptr = (uint8_t *)&elem[1];
	struct malloc_elem *next = RTE_PTR_ADD(elem, elem->size);

error: patch failed: lib/librte_eal/common/malloc_elem.c:243
error: lib/librte_eal/common/malloc_elem.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.c...
error: while searching for:
	return elem == NULL ? NULL : (void *)(&elem[1]);
}

/*
 * Function to retrieve data for heap on given socket
 */

error: patch failed: lib/librte_eal/common/malloc_heap.c:145
error: lib/librte_eal/common/malloc_heap.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.h...
error: while searching for:
		unsigned flags, size_t align, size_t bound);

int
malloc_heap_get_stats(struct malloc_heap *heap,
		struct rte_malloc_socket_stats *socket_stats);


error: patch failed: lib/librte_eal/common/malloc_heap.h:28
error: lib/librte_eal/common/malloc_heap.h: patch does not apply
Checking patch lib/librte_eal/common/rte_malloc.c...
error: while searching for:
void rte_free(void *addr)
{
	if (addr == NULL) return;
	if (malloc_elem_free(malloc_elem_from_data(addr)) < 0)
		rte_panic("Fatal error: Invalid memory\n");
}


error: patch failed: lib/librte_eal/common/rte_malloc.c:29
error: lib/librte_eal/common/rte_malloc.c: patch does not apply
*Repo: dpdk-next-net
Checking patch lib/librte_eal/common/malloc_elem.c...
error: while searching for:
int
malloc_elem_free(struct malloc_elem *elem)
{
	if (!malloc_elem_cookies_ok(elem) || elem->state != ELEM_BUSY)
		return -1;
--
	rte_spinlock_lock(&(elem->heap->lock));
	size_t sz = elem->size - sizeof(*elem) - MALLOC_ELEM_TRAILER_LEN;
	uint8_t *ptr = (uint8_t *)&elem[1];
	struct malloc_elem *next = RTE_PTR_ADD(elem, elem->size);

error: patch failed: lib/librte_eal/common/malloc_elem.c:243
error: lib/librte_eal/common/malloc_elem.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.c...
error: while searching for:
	return elem == NULL ? NULL : (void *)(&elem[1]);
}

/*
 * Function to retrieve data for heap on given socket
 */

error: patch failed: lib/librte_eal/common/malloc_heap.c:145
error: lib/librte_eal/common/malloc_heap.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.h...
error: while searching for:
		unsigned flags, size_t align, size_t bound);

int
malloc_heap_get_stats(struct malloc_heap *heap,
		struct rte_malloc_socket_stats *socket_stats);


error: patch failed: lib/librte_eal/common/malloc_heap.h:28
error: lib/librte_eal/common/malloc_heap.h: patch does not apply
Checking patch lib/librte_eal/common/rte_malloc.c...
error: while searching for:
void rte_free(void *addr)
{
	if (addr == NULL) return;
	if (malloc_elem_free(malloc_elem_from_data(addr)) < 0)
		rte_panic("Fatal error: Invalid memory\n");
}


error: patch failed: lib/librte_eal/common/rte_malloc.c:29
error: lib/librte_eal/common/rte_malloc.c: patch does not apply
*Repo: dpdk-next-crypto
Checking patch lib/librte_eal/common/malloc_elem.c...
error: while searching for:
int
malloc_elem_free(struct malloc_elem *elem)
{
	if (!malloc_elem_cookies_ok(elem) || elem->state != ELEM_BUSY)
		return -1;
--
	rte_spinlock_lock(&(elem->heap->lock));
	size_t sz = elem->size - sizeof(*elem) - MALLOC_ELEM_TRAILER_LEN;
	uint8_t *ptr = (uint8_t *)&elem[1];
	struct malloc_elem *next = RTE_PTR_ADD(elem, elem->size);

error: patch failed: lib/librte_eal/common/malloc_elem.c:243
error: lib/librte_eal/common/malloc_elem.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.c...
error: while searching for:
	return elem == NULL ? NULL : (void *)(&elem[1]);
}

/*
 * Function to retrieve data for heap on given socket
 */

error: patch failed: lib/librte_eal/common/malloc_heap.c:145
error: lib/librte_eal/common/malloc_heap.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.h...
error: while searching for:
		unsigned flags, size_t align, size_t bound);

int
malloc_heap_get_stats(struct malloc_heap *heap,
		struct rte_malloc_socket_stats *socket_stats);


error: patch failed: lib/librte_eal/common/malloc_heap.h:28
error: lib/librte_eal/common/malloc_heap.h: patch does not apply
Checking patch lib/librte_eal/common/rte_malloc.c...
error: while searching for:
void rte_free(void *addr)
{
	if (addr == NULL) return;
	if (malloc_elem_free(malloc_elem_from_data(addr)) < 0)
		rte_panic("Fatal error: Invalid memory\n");
}


error: patch failed: lib/librte_eal/common/rte_malloc.c:29
error: lib/librte_eal/common/rte_malloc.c: patch does not apply
*Repo: dpdk-next-virtio
Checking patch lib/librte_eal/common/malloc_elem.c...
error: while searching for:
int
malloc_elem_free(struct malloc_elem *elem)
{
	if (!malloc_elem_cookies_ok(elem) || elem->state != ELEM_BUSY)
		return -1;
--
	rte_spinlock_lock(&(elem->heap->lock));
	size_t sz = elem->size - sizeof(*elem) - MALLOC_ELEM_TRAILER_LEN;
	uint8_t *ptr = (uint8_t *)&elem[1];
	struct malloc_elem *next = RTE_PTR_ADD(elem, elem->size);

error: patch failed: lib/librte_eal/common/malloc_elem.c:243
error: lib/librte_eal/common/malloc_elem.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.c...
error: while searching for:
	return elem == NULL ? NULL : (void *)(&elem[1]);
}

/*
 * Function to retrieve data for heap on given socket
 */

error: patch failed: lib/librte_eal/common/malloc_heap.c:145
error: lib/librte_eal/common/malloc_heap.c: patch does not apply
Checking patch lib/librte_eal/common/malloc_heap.h...
error: while searching for:
		unsigned flags, size_t align, size_t bound);

int
malloc_heap_get_stats(struct malloc_heap *heap,
		struct rte_malloc_socket_stats *socket_stats);


error: patch failed: lib/librte_eal/common/malloc_heap.h:28
error: lib/librte_eal/common/malloc_heap.h: patch does not apply
Checking patch lib/librte_eal/common/rte_malloc.c...
error: while searching for:
void rte_free(void *addr)
{
	if (addr == NULL) return;
	if (malloc_elem_free(malloc_elem_from_data(addr)) < 0)
		rte_panic("Fatal error: Invalid memory\n");
}


error: patch failed: lib/librte_eal/common/rte_malloc.c:29
error: lib/librte_eal/common/rte_malloc.c: patch does not apply

DPDK STV team


More information about the test-report mailing list