[dpdk-test-report] |FAILURE| pw37599[dpdk-dev, v4, 58/70] eal: share hugepage info primary and secondary

sys_stv at intel.com sys_stv at intel.com
Thu May 10 10:15:49 CEST 2018


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

_apply issues_

Submitter: Anatoly Burakov <anatoly.burakov at intel.com>
Date: 2018-04-08 20:18:31
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/bsdapp/eal/eal.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL) {
			for (j = 0; j < RTE_MAX_NUMA_NODES; j++) {
				size += hpi->hugepage_sz * hpi->num_pages[j];
			}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:289
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_hugepage_info.c...
error: while searching for:
 * Used in this file to store the hugepage file map on disk
 */
static void *
create_shared_memory(const char *filename, const size_t mem_size)
{
--
	int fd = open(filename, O_CREAT | O_RDWR, 0666);
	if (fd < 0)
		return NULL;
	if (ftruncate(fd, mem_size) < 0) {

error: patch failed: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c:19
error: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_memory.c...
error: while searching for:
rte_eal_hugepage_attach(void)
{
	const struct hugepage_info *hpi;
	int fd_hugepage_info, fd_hugepage = -1;
	unsigned int i;
--
	/* Map the shared hugepage_info into the process address spaces */
	hpi = mmap(NULL, sizeof(internal_config.hugepage_info),
			PROT_READ, MAP_PRIVATE, fd_hugepage_info, 0);
	if (hpi == MAP_FAILED) {
		RTE_LOG(ERR, EAL, "Could not mmap %s\n", eal_hugepage_info_path());
		goto error;
	}

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		const struct hugepage_info *cur_hpi = &hpi[i];

error: patch failed: lib/librte_eal/bsdapp/eal/eal_memory.c:240
error: lib/librte_eal/bsdapp/eal/eal_memory.c: patch does not apply
Checking patch lib/librte_eal/common/eal_common_options.c...
error: while searching for:
	for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
		internal_cfg->socket_mem[i] = 0;
	/* zero out hugedir descriptors */
	for (i = 0; i < MAX_HUGEPAGE_SIZES; i++)
		internal_cfg->hugepage_info[i].lock_descriptor = -1;
	internal_cfg->base_virtaddr = 0;

	internal_cfg->syslog_facility = LOG_DAEMON;

error: patch failed: lib/librte_eal/common/eal_common_options.c:179
error: lib/librte_eal/common/eal_common_options.c: patch does not apply
Checking patch lib/librte_eal/common/eal_filesystem.h...
Hunk #1 succeeded at 102 (offset 17 lines).
Checking patch lib/librte_eal/common/eal_hugepages.h...
error: while searching for:
};

/**
 * Read the information from linux on what hugepages are available
 * for the EAL to use
 */
int eal_hugepage_info_init(void);

#endif /* EAL_HUGEPAGES_H */

error: patch failed: lib/librte_eal/common/eal_hugepages.h:26
error: lib/librte_eal/common/eal_hugepages.h: patch does not apply
Checking patch lib/librte_eal/common/eal_internal_cfg.h...
error: while searching for:
 */
struct hugepage_info {
	uint64_t hugepage_sz;   /**< size of a huge page */
	const char *hugedir;    /**< dir where hugetlbfs is mounted */
	uint32_t num_pages[RTE_MAX_NUMA_NODES];
	/**< number of hugepages of that size on each socket */
	int lock_descriptor;    /**< file descriptor for hugepage dir */

error: patch failed: lib/librte_eal/common/eal_internal_cfg.h:21
error: lib/librte_eal/common/eal_internal_cfg.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal.c...
error: while searching for:
			"KNI module inserted\n");
	}

	if (internal_config.no_hugetlbfs == 0 &&
			internal_config.process_type != RTE_PROC_SECONDARY &&
--
		return -1;
	}

	if (internal_config.memory == 0 && internal_config.force_sockets == 0) {

error: patch failed: lib/librte_eal/linuxapp/eal/eal.c:807
error: lib/librte_eal/linuxapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_hugepage_info.c...
error: while searching for:
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <sys/queue.h>
#include <sys/stat.h>


error: patch failed: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:14
error: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_memory.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++){
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL)
			size += hpi->hugepage_sz * hpi->num_pages[socket];
	}


error: patch failed: lib/librte_eal/linuxapp/eal/eal_memory.c:1060
error: lib/librte_eal/linuxapp/eal/eal_memory.c: patch does not apply
*Repo: dpdk-next-eventdev
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL) {
			for (j = 0; j < RTE_MAX_NUMA_NODES; j++) {
				size += hpi->hugepage_sz * hpi->num_pages[j];
			}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:289
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_hugepage_info.c...
error: while searching for:
 * Used in this file to store the hugepage file map on disk
 */
static void *
create_shared_memory(const char *filename, const size_t mem_size)
{
--
	int fd = open(filename, O_CREAT | O_RDWR, 0666);
	if (fd < 0)
		return NULL;
	if (ftruncate(fd, mem_size) < 0) {

error: patch failed: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c:19
error: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_memory.c...
error: while searching for:
rte_eal_hugepage_attach(void)
{
	const struct hugepage_info *hpi;
	int fd_hugepage_info, fd_hugepage = -1;
	unsigned int i;
--
	/* Map the shared hugepage_info into the process address spaces */
	hpi = mmap(NULL, sizeof(internal_config.hugepage_info),
			PROT_READ, MAP_PRIVATE, fd_hugepage_info, 0);
	if (hpi == MAP_FAILED) {
		RTE_LOG(ERR, EAL, "Could not mmap %s\n", eal_hugepage_info_path());
		goto error;
	}

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		const struct hugepage_info *cur_hpi = &hpi[i];

error: patch failed: lib/librte_eal/bsdapp/eal/eal_memory.c:240
error: lib/librte_eal/bsdapp/eal/eal_memory.c: patch does not apply
Checking patch lib/librte_eal/common/eal_common_options.c...
error: while searching for:
	for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
		internal_cfg->socket_mem[i] = 0;
	/* zero out hugedir descriptors */
	for (i = 0; i < MAX_HUGEPAGE_SIZES; i++)
		internal_cfg->hugepage_info[i].lock_descriptor = -1;
	internal_cfg->base_virtaddr = 0;

	internal_cfg->syslog_facility = LOG_DAEMON;

error: patch failed: lib/librte_eal/common/eal_common_options.c:179
error: lib/librte_eal/common/eal_common_options.c: patch does not apply
Checking patch lib/librte_eal/common/eal_filesystem.h...
Hunk #1 succeeded at 102 (offset 17 lines).
Checking patch lib/librte_eal/common/eal_hugepages.h...
error: while searching for:
};

/**
 * Read the information from linux on what hugepages are available
 * for the EAL to use
 */
int eal_hugepage_info_init(void);

#endif /* EAL_HUGEPAGES_H */

error: patch failed: lib/librte_eal/common/eal_hugepages.h:26
error: lib/librte_eal/common/eal_hugepages.h: patch does not apply
Checking patch lib/librte_eal/common/eal_internal_cfg.h...
error: while searching for:
 */
struct hugepage_info {
	uint64_t hugepage_sz;   /**< size of a huge page */
	const char *hugedir;    /**< dir where hugetlbfs is mounted */
	uint32_t num_pages[RTE_MAX_NUMA_NODES];
	/**< number of hugepages of that size on each socket */
	int lock_descriptor;    /**< file descriptor for hugepage dir */

error: patch failed: lib/librte_eal/common/eal_internal_cfg.h:21
error: lib/librte_eal/common/eal_internal_cfg.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal.c...
error: while searching for:
			"KNI module inserted\n");
	}

	if (internal_config.no_hugetlbfs == 0 &&
			internal_config.process_type != RTE_PROC_SECONDARY &&
--
		return -1;
	}

	if (internal_config.memory == 0 && internal_config.force_sockets == 0) {

error: patch failed: lib/librte_eal/linuxapp/eal/eal.c:807
error: lib/librte_eal/linuxapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_hugepage_info.c...
error: while searching for:
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <sys/queue.h>
#include <sys/stat.h>


error: patch failed: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:14
error: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_memory.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++){
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL)
			size += hpi->hugepage_sz * hpi->num_pages[socket];
	}


error: patch failed: lib/librte_eal/linuxapp/eal/eal_memory.c:1060
error: lib/librte_eal/linuxapp/eal/eal_memory.c: patch does not apply
*Repo: dpdk-next-net
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL) {
			for (j = 0; j < RTE_MAX_NUMA_NODES; j++) {
				size += hpi->hugepage_sz * hpi->num_pages[j];
			}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:289
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_hugepage_info.c...
error: while searching for:
 * Used in this file to store the hugepage file map on disk
 */
static void *
create_shared_memory(const char *filename, const size_t mem_size)
{
--
	int fd = open(filename, O_CREAT | O_RDWR, 0666);
	if (fd < 0)
		return NULL;
	if (ftruncate(fd, mem_size) < 0) {

error: patch failed: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c:19
error: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_memory.c...
error: while searching for:
rte_eal_hugepage_attach(void)
{
	const struct hugepage_info *hpi;
	int fd_hugepage_info, fd_hugepage = -1;
	unsigned int i;
--
	/* Map the shared hugepage_info into the process address spaces */
	hpi = mmap(NULL, sizeof(internal_config.hugepage_info),
			PROT_READ, MAP_PRIVATE, fd_hugepage_info, 0);
	if (hpi == MAP_FAILED) {
		RTE_LOG(ERR, EAL, "Could not mmap %s\n", eal_hugepage_info_path());
		goto error;
	}

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		const struct hugepage_info *cur_hpi = &hpi[i];

error: patch failed: lib/librte_eal/bsdapp/eal/eal_memory.c:240
error: lib/librte_eal/bsdapp/eal/eal_memory.c: patch does not apply
Checking patch lib/librte_eal/common/eal_common_options.c...
error: while searching for:
	for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
		internal_cfg->socket_mem[i] = 0;
	/* zero out hugedir descriptors */
	for (i = 0; i < MAX_HUGEPAGE_SIZES; i++)
		internal_cfg->hugepage_info[i].lock_descriptor = -1;
	internal_cfg->base_virtaddr = 0;

	internal_cfg->syslog_facility = LOG_DAEMON;

error: patch failed: lib/librte_eal/common/eal_common_options.c:179
error: lib/librte_eal/common/eal_common_options.c: patch does not apply
Checking patch lib/librte_eal/common/eal_filesystem.h...
Hunk #1 succeeded at 102 (offset 17 lines).
Checking patch lib/librte_eal/common/eal_hugepages.h...
error: while searching for:
};

/**
 * Read the information from linux on what hugepages are available
 * for the EAL to use
 */
int eal_hugepage_info_init(void);

#endif /* EAL_HUGEPAGES_H */

error: patch failed: lib/librte_eal/common/eal_hugepages.h:26
error: lib/librte_eal/common/eal_hugepages.h: patch does not apply
Checking patch lib/librte_eal/common/eal_internal_cfg.h...
error: while searching for:
 */
struct hugepage_info {
	uint64_t hugepage_sz;   /**< size of a huge page */
	const char *hugedir;    /**< dir where hugetlbfs is mounted */
	uint32_t num_pages[RTE_MAX_NUMA_NODES];
	/**< number of hugepages of that size on each socket */
	int lock_descriptor;    /**< file descriptor for hugepage dir */

error: patch failed: lib/librte_eal/common/eal_internal_cfg.h:21
error: lib/librte_eal/common/eal_internal_cfg.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal.c...
error: while searching for:
			"KNI module inserted\n");
	}

	if (internal_config.no_hugetlbfs == 0 &&
			internal_config.process_type != RTE_PROC_SECONDARY &&
--
		return -1;
	}

	if (internal_config.memory == 0 && internal_config.force_sockets == 0) {

error: patch failed: lib/librte_eal/linuxapp/eal/eal.c:807
error: lib/librte_eal/linuxapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_hugepage_info.c...
error: while searching for:
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <sys/queue.h>
#include <sys/stat.h>


error: patch failed: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:14
error: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_memory.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++){
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL)
			size += hpi->hugepage_sz * hpi->num_pages[socket];
	}


error: patch failed: lib/librte_eal/linuxapp/eal/eal_memory.c:1060
error: lib/librte_eal/linuxapp/eal/eal_memory.c: patch does not apply
*Repo: dpdk-next-crypto
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL) {
			for (j = 0; j < RTE_MAX_NUMA_NODES; j++) {
				size += hpi->hugepage_sz * hpi->num_pages[j];
			}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:289
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_hugepage_info.c...
error: while searching for:
 * Used in this file to store the hugepage file map on disk
 */
static void *
create_shared_memory(const char *filename, const size_t mem_size)
{
--
	int fd = open(filename, O_CREAT | O_RDWR, 0666);
	if (fd < 0)
		return NULL;
	if (ftruncate(fd, mem_size) < 0) {

error: patch failed: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c:19
error: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_memory.c...
error: while searching for:
rte_eal_hugepage_attach(void)
{
	const struct hugepage_info *hpi;
	int fd_hugepage_info, fd_hugepage = -1;
	unsigned int i;
--
	/* Map the shared hugepage_info into the process address spaces */
	hpi = mmap(NULL, sizeof(internal_config.hugepage_info),
			PROT_READ, MAP_PRIVATE, fd_hugepage_info, 0);
	if (hpi == MAP_FAILED) {
		RTE_LOG(ERR, EAL, "Could not mmap %s\n", eal_hugepage_info_path());
		goto error;
	}

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		const struct hugepage_info *cur_hpi = &hpi[i];

error: patch failed: lib/librte_eal/bsdapp/eal/eal_memory.c:240
error: lib/librte_eal/bsdapp/eal/eal_memory.c: patch does not apply
Checking patch lib/librte_eal/common/eal_common_options.c...
error: while searching for:
	for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
		internal_cfg->socket_mem[i] = 0;
	/* zero out hugedir descriptors */
	for (i = 0; i < MAX_HUGEPAGE_SIZES; i++)
		internal_cfg->hugepage_info[i].lock_descriptor = -1;
	internal_cfg->base_virtaddr = 0;

	internal_cfg->syslog_facility = LOG_DAEMON;

error: patch failed: lib/librte_eal/common/eal_common_options.c:179
error: lib/librte_eal/common/eal_common_options.c: patch does not apply
Checking patch lib/librte_eal/common/eal_filesystem.h...
Hunk #1 succeeded at 102 (offset 17 lines).
Checking patch lib/librte_eal/common/eal_hugepages.h...
error: while searching for:
};

/**
 * Read the information from linux on what hugepages are available
 * for the EAL to use
 */
int eal_hugepage_info_init(void);

#endif /* EAL_HUGEPAGES_H */

error: patch failed: lib/librte_eal/common/eal_hugepages.h:26
error: lib/librte_eal/common/eal_hugepages.h: patch does not apply
Checking patch lib/librte_eal/common/eal_internal_cfg.h...
error: while searching for:
 */
struct hugepage_info {
	uint64_t hugepage_sz;   /**< size of a huge page */
	const char *hugedir;    /**< dir where hugetlbfs is mounted */
	uint32_t num_pages[RTE_MAX_NUMA_NODES];
	/**< number of hugepages of that size on each socket */
	int lock_descriptor;    /**< file descriptor for hugepage dir */

error: patch failed: lib/librte_eal/common/eal_internal_cfg.h:21
error: lib/librte_eal/common/eal_internal_cfg.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal.c...
error: while searching for:
			"KNI module inserted\n");
	}

	if (internal_config.no_hugetlbfs == 0 &&
			internal_config.process_type != RTE_PROC_SECONDARY &&
--
		return -1;
	}

	if (internal_config.memory == 0 && internal_config.force_sockets == 0) {

error: patch failed: lib/librte_eal/linuxapp/eal/eal.c:807
error: lib/librte_eal/linuxapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_hugepage_info.c...
error: while searching for:
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <sys/queue.h>
#include <sys/stat.h>


error: patch failed: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:14
error: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_memory.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++){
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL)
			size += hpi->hugepage_sz * hpi->num_pages[socket];
	}


error: patch failed: lib/librte_eal/linuxapp/eal/eal_memory.c:1060
error: lib/librte_eal/linuxapp/eal/eal_memory.c: patch does not apply
*Repo: dpdk-next-virtio
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL) {
			for (j = 0; j < RTE_MAX_NUMA_NODES; j++) {
				size += hpi->hugepage_sz * hpi->num_pages[j];
			}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:289
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_hugepage_info.c...
error: while searching for:
 * Used in this file to store the hugepage file map on disk
 */
static void *
create_shared_memory(const char *filename, const size_t mem_size)
{
--
	int fd = open(filename, O_CREAT | O_RDWR, 0666);
	if (fd < 0)
		return NULL;
	if (ftruncate(fd, mem_size) < 0) {

error: patch failed: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c:19
error: lib/librte_eal/bsdapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal_memory.c...
error: while searching for:
rte_eal_hugepage_attach(void)
{
	const struct hugepage_info *hpi;
	int fd_hugepage_info, fd_hugepage = -1;
	unsigned int i;
--
	/* Map the shared hugepage_info into the process address spaces */
	hpi = mmap(NULL, sizeof(internal_config.hugepage_info),
			PROT_READ, MAP_PRIVATE, fd_hugepage_info, 0);
	if (hpi == MAP_FAILED) {
		RTE_LOG(ERR, EAL, "Could not mmap %s\n", eal_hugepage_info_path());
		goto error;
	}

	for (i = 0; i < internal_config.num_hugepage_sizes; i++) {
		const struct hugepage_info *cur_hpi = &hpi[i];

error: patch failed: lib/librte_eal/bsdapp/eal/eal_memory.c:240
error: lib/librte_eal/bsdapp/eal/eal_memory.c: patch does not apply
Checking patch lib/librte_eal/common/eal_common_options.c...
error: while searching for:
	for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
		internal_cfg->socket_mem[i] = 0;
	/* zero out hugedir descriptors */
	for (i = 0; i < MAX_HUGEPAGE_SIZES; i++)
		internal_cfg->hugepage_info[i].lock_descriptor = -1;
	internal_cfg->base_virtaddr = 0;

	internal_cfg->syslog_facility = LOG_DAEMON;

error: patch failed: lib/librte_eal/common/eal_common_options.c:179
error: lib/librte_eal/common/eal_common_options.c: patch does not apply
Checking patch lib/librte_eal/common/eal_filesystem.h...
Hunk #1 succeeded at 102 (offset 17 lines).
Checking patch lib/librte_eal/common/eal_hugepages.h...
error: while searching for:
};

/**
 * Read the information from linux on what hugepages are available
 * for the EAL to use
 */
int eal_hugepage_info_init(void);

#endif /* EAL_HUGEPAGES_H */

error: patch failed: lib/librte_eal/common/eal_hugepages.h:26
error: lib/librte_eal/common/eal_hugepages.h: patch does not apply
Checking patch lib/librte_eal/common/eal_internal_cfg.h...
error: while searching for:
 */
struct hugepage_info {
	uint64_t hugepage_sz;   /**< size of a huge page */
	const char *hugedir;    /**< dir where hugetlbfs is mounted */
	uint32_t num_pages[RTE_MAX_NUMA_NODES];
	/**< number of hugepages of that size on each socket */
	int lock_descriptor;    /**< file descriptor for hugepage dir */

error: patch failed: lib/librte_eal/common/eal_internal_cfg.h:21
error: lib/librte_eal/common/eal_internal_cfg.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal.c...
error: while searching for:
			"KNI module inserted\n");
	}

	if (internal_config.no_hugetlbfs == 0 &&
			internal_config.process_type != RTE_PROC_SECONDARY &&
--
		return -1;
	}

	if (internal_config.memory == 0 && internal_config.force_sockets == 0) {

error: patch failed: lib/librte_eal/linuxapp/eal/eal.c:807
error: lib/librte_eal/linuxapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_hugepage_info.c...
error: while searching for:
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <sys/queue.h>
#include <sys/stat.h>


error: patch failed: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:14
error: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_memory.c...
error: while searching for:

	for (i = 0; i < internal_config.num_hugepage_sizes; i++){
		struct hugepage_info *hpi = &internal_config.hugepage_info[i];
		if (hpi->hugedir != NULL)
			size += hpi->hugepage_sz * hpi->num_pages[socket];
	}


error: patch failed: lib/librte_eal/linuxapp/eal/eal_memory.c:1060
error: lib/librte_eal/linuxapp/eal/eal_memory.c: patch does not apply

DPDK STV team


More information about the test-report mailing list