automatic DPDK test reports
 help / color / mirror / Atom feed
From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: xinfengx.zhao@intel.com, zhaoyan.chen@intel.com, peipeix.lu@intel.com
Subject: [dpdk-test-report]  |FAILURE| pw37599[dpdk-dev, v4, 58/70] eal: share hugepage info primary and secondary
Date: 10 May 2018 01:15:49 -0700	[thread overview]
Message-ID: <0590c7$1k5cg2@orsmga001.jf.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 22904 bytes --]

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

_apply issues_

Submitter: Anatoly Burakov <anatoly.burakov@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

                 reply	other threads:[~2018-05-10  8:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='0590c7$1k5cg2@orsmga001.jf.intel.com' \
    --to=sys_stv@intel.com \
    --cc=peipeix.lu@intel.com \
    --cc=test-report@dpdk.org \
    --cc=xinfengx.zhao@intel.com \
    --cc=zhaoyan.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).