[dpdk-test-report] |FAILURE| pw36087[dpdk-dev] eal/vfio: export internal vfio functions

sys_stv at intel.com sys_stv at intel.com
Thu May 10 09:58:04 CEST 2018


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

_apply issues_

Submitter: Hemant Agrawal <hemant.agrawal at nxp.com>
Date: 2018-03-14 08:00:34
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 drivers/bus/fslmc/Makefile...
error: while searching for:
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev

error: patch failed: drivers/bus/fslmc/Makefile:21
error: drivers/bus/fslmc/Makefile: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.c...
error: while searching for:
	}

	/* get group number */
	ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid);
	if (ret <= 0) {
		FSLMC_VFIO_LOG(ERR, "Unable to find %s IOMMU group",
			       g_container);

error: patch failed: drivers/bus/fslmc/fslmc_vfio.c:94
error: drivers/bus/fslmc/fslmc_vfio.c: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.h...
error: while searching for:

#include <rte_vfio.h>

#include "eal_vfio.h"

#define DPAA2_MC_DPNI_DEVID	7
#define DPAA2_MC_DPSECI_DEVID	3
#define DPAA2_MC_DPCON_DEVID	5

error: patch failed: drivers/bus/fslmc/fslmc_vfio.h:10
error: drivers/bus/fslmc/fslmc_vfio.h: patch does not apply
Checking patch drivers/bus/fslmc/meson.build...
error: while searching for:

allow_experimental_apis = true

includes += include_directories('../../../lib/librte_eal/linuxapp/eal')
includes += include_directories('mc', 'qbman/include', 'portal')
cflags += ['-D_GNU_SOURCE']

error: patch failed: drivers/bus/fslmc/meson.build:22
error: drivers/bus/fslmc/meson.build: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:
{
	return 0;
}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:781
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/common/include/rte_vfio.h...
error: while searching for:
#define VFIO_NOIOMMU_MODE      \
	"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"

/**
 * Setup vfio_cfg for the device identified by its address.
 * It discovers the configured I/O MMU groups or sets a new one for the device.

error: patch failed: lib/librte_eal/common/include/rte_vfio.h:28
error: lib/librte_eal/common/include/rte_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.c...
error: while searching for:
};

int
vfio_get_group_fd(int iommu_group_no)
{
	int i;
	int vfio_group_fd;

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.c:36
error: lib/librte_eal/linuxapp/eal/eal_vfio.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.h...
error: while searching for:
#define RTE_VFIO_SPAPR VFIO_SPAPR_TCE_v2_IOMMU
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
#define RTE_VFIO_NOIOMMU 8
--

#define VFIO_MAX_GROUPS RTE_MAX_VFIO_GROUPS

/*

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.h:79
error: lib/librte_eal/linuxapp/eal/eal_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c...
error: while searching for:

		switch (ret) {
		case SOCKET_REQ_CONTAINER:
			fd = vfio_get_container_fd();
			if (fd < 0)
				vfio_mp_sync_send_request(conn_sock, SOCKET_ERR);
			else

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c:267
error: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c: patch does not apply
Checking patch lib/librte_eal/rte_eal_version.map...
Hunk #1 succeeded at 241 (offset -13 lines).
*Repo: dpdk-next-eventdev
Checking patch drivers/bus/fslmc/Makefile...
error: while searching for:
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev

error: patch failed: drivers/bus/fslmc/Makefile:21
error: drivers/bus/fslmc/Makefile: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.c...
error: while searching for:
	}

	/* get group number */
	ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid);
	if (ret <= 0) {
		FSLMC_VFIO_LOG(ERR, "Unable to find %s IOMMU group",
			       g_container);

error: patch failed: drivers/bus/fslmc/fslmc_vfio.c:94
error: drivers/bus/fslmc/fslmc_vfio.c: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.h...
error: while searching for:

#include <rte_vfio.h>

#include "eal_vfio.h"

#define DPAA2_MC_DPNI_DEVID	7
#define DPAA2_MC_DPSECI_DEVID	3
#define DPAA2_MC_DPCON_DEVID	5

error: patch failed: drivers/bus/fslmc/fslmc_vfio.h:10
error: drivers/bus/fslmc/fslmc_vfio.h: patch does not apply
Checking patch drivers/bus/fslmc/meson.build...
error: while searching for:

allow_experimental_apis = true

includes += include_directories('../../../lib/librte_eal/linuxapp/eal')
includes += include_directories('mc', 'qbman/include', 'portal')
cflags += ['-D_GNU_SOURCE']

error: patch failed: drivers/bus/fslmc/meson.build:22
error: drivers/bus/fslmc/meson.build: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:
{
	return 0;
}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:781
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/common/include/rte_vfio.h...
error: while searching for:
#define VFIO_NOIOMMU_MODE      \
	"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"

/**
 * Setup vfio_cfg for the device identified by its address.
 * It discovers the configured I/O MMU groups or sets a new one for the device.

error: patch failed: lib/librte_eal/common/include/rte_vfio.h:28
error: lib/librte_eal/common/include/rte_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.c...
error: while searching for:
};

int
vfio_get_group_fd(int iommu_group_no)
{
	int i;
	int vfio_group_fd;

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.c:36
error: lib/librte_eal/linuxapp/eal/eal_vfio.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.h...
error: while searching for:
#define RTE_VFIO_SPAPR VFIO_SPAPR_TCE_v2_IOMMU
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
#define RTE_VFIO_NOIOMMU 8
--

#define VFIO_MAX_GROUPS RTE_MAX_VFIO_GROUPS

/*

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.h:79
error: lib/librte_eal/linuxapp/eal/eal_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c...
error: while searching for:

		switch (ret) {
		case SOCKET_REQ_CONTAINER:
			fd = vfio_get_container_fd();
			if (fd < 0)
				vfio_mp_sync_send_request(conn_sock, SOCKET_ERR);
			else

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c:267
error: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c: patch does not apply
Checking patch lib/librte_eal/rte_eal_version.map...
Hunk #1 succeeded at 241 (offset -13 lines).
*Repo: dpdk-next-net
Checking patch drivers/bus/fslmc/Makefile...
error: while searching for:
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev

error: patch failed: drivers/bus/fslmc/Makefile:21
error: drivers/bus/fslmc/Makefile: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.c...
error: while searching for:
	}

	/* get group number */
	ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid);
	if (ret <= 0) {
		FSLMC_VFIO_LOG(ERR, "Unable to find %s IOMMU group",
			       g_container);

error: patch failed: drivers/bus/fslmc/fslmc_vfio.c:94
error: drivers/bus/fslmc/fslmc_vfio.c: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.h...
error: while searching for:

#include <rte_vfio.h>

#include "eal_vfio.h"

#define DPAA2_MC_DPNI_DEVID	7
#define DPAA2_MC_DPSECI_DEVID	3
#define DPAA2_MC_DPCON_DEVID	5

error: patch failed: drivers/bus/fslmc/fslmc_vfio.h:10
error: drivers/bus/fslmc/fslmc_vfio.h: patch does not apply
Checking patch drivers/bus/fslmc/meson.build...
error: while searching for:

allow_experimental_apis = true

includes += include_directories('../../../lib/librte_eal/linuxapp/eal')
includes += include_directories('mc', 'qbman/include', 'portal')
cflags += ['-D_GNU_SOURCE']

error: patch failed: drivers/bus/fslmc/meson.build:22
error: drivers/bus/fslmc/meson.build: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:
{
	return 0;
}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:781
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/common/include/rte_vfio.h...
error: while searching for:
#define VFIO_NOIOMMU_MODE      \
	"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"

/**
 * Setup vfio_cfg for the device identified by its address.
 * It discovers the configured I/O MMU groups or sets a new one for the device.

error: patch failed: lib/librte_eal/common/include/rte_vfio.h:28
error: lib/librte_eal/common/include/rte_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.c...
error: while searching for:
};

int
vfio_get_group_fd(int iommu_group_no)
{
	int i;
	int vfio_group_fd;

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.c:36
error: lib/librte_eal/linuxapp/eal/eal_vfio.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.h...
error: while searching for:
#define RTE_VFIO_SPAPR VFIO_SPAPR_TCE_v2_IOMMU
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
#define RTE_VFIO_NOIOMMU 8
--

#define VFIO_MAX_GROUPS RTE_MAX_VFIO_GROUPS

/*

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.h:79
error: lib/librte_eal/linuxapp/eal/eal_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c...
error: while searching for:

		switch (ret) {
		case SOCKET_REQ_CONTAINER:
			fd = vfio_get_container_fd();
			if (fd < 0)
				vfio_mp_sync_send_request(conn_sock, SOCKET_ERR);
			else

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c:267
error: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c: patch does not apply
Checking patch lib/librte_eal/rte_eal_version.map...
Hunk #1 succeeded at 241 (offset -13 lines).
*Repo: dpdk-next-crypto
Checking patch drivers/bus/fslmc/Makefile...
error: while searching for:
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev

error: patch failed: drivers/bus/fslmc/Makefile:21
error: drivers/bus/fslmc/Makefile: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.c...
error: while searching for:
	}

	/* get group number */
	ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid);
	if (ret <= 0) {
		FSLMC_VFIO_LOG(ERR, "Unable to find %s IOMMU group",
			       g_container);

error: patch failed: drivers/bus/fslmc/fslmc_vfio.c:94
error: drivers/bus/fslmc/fslmc_vfio.c: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.h...
error: while searching for:

#include <rte_vfio.h>

#include "eal_vfio.h"

#define DPAA2_MC_DPNI_DEVID	7
#define DPAA2_MC_DPSECI_DEVID	3
#define DPAA2_MC_DPCON_DEVID	5

error: patch failed: drivers/bus/fslmc/fslmc_vfio.h:10
error: drivers/bus/fslmc/fslmc_vfio.h: patch does not apply
Checking patch drivers/bus/fslmc/meson.build...
error: while searching for:

allow_experimental_apis = true

includes += include_directories('../../../lib/librte_eal/linuxapp/eal')
includes += include_directories('mc', 'qbman/include', 'portal')
cflags += ['-D_GNU_SOURCE']

error: patch failed: drivers/bus/fslmc/meson.build:22
error: drivers/bus/fslmc/meson.build: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:
{
	return 0;
}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:781
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/common/include/rte_vfio.h...
error: while searching for:
#define VFIO_NOIOMMU_MODE      \
	"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"

/**
 * Setup vfio_cfg for the device identified by its address.
 * It discovers the configured I/O MMU groups or sets a new one for the device.

error: patch failed: lib/librte_eal/common/include/rte_vfio.h:28
error: lib/librte_eal/common/include/rte_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.c...
error: while searching for:
};

int
vfio_get_group_fd(int iommu_group_no)
{
	int i;
	int vfio_group_fd;

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.c:36
error: lib/librte_eal/linuxapp/eal/eal_vfio.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.h...
error: while searching for:
#define RTE_VFIO_SPAPR VFIO_SPAPR_TCE_v2_IOMMU
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
#define RTE_VFIO_NOIOMMU 8
--

#define VFIO_MAX_GROUPS RTE_MAX_VFIO_GROUPS

/*

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.h:79
error: lib/librte_eal/linuxapp/eal/eal_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c...
error: while searching for:

		switch (ret) {
		case SOCKET_REQ_CONTAINER:
			fd = vfio_get_container_fd();
			if (fd < 0)
				vfio_mp_sync_send_request(conn_sock, SOCKET_ERR);
			else

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c:267
error: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c: patch does not apply
Checking patch lib/librte_eal/rte_eal_version.map...
Hunk #1 succeeded at 241 (offset -13 lines).
*Repo: dpdk-next-virtio
Checking patch drivers/bus/fslmc/Makefile...
error: while searching for:
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev

error: patch failed: drivers/bus/fslmc/Makefile:21
error: drivers/bus/fslmc/Makefile: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.c...
error: while searching for:
	}

	/* get group number */
	ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid);
	if (ret <= 0) {
		FSLMC_VFIO_LOG(ERR, "Unable to find %s IOMMU group",
			       g_container);

error: patch failed: drivers/bus/fslmc/fslmc_vfio.c:94
error: drivers/bus/fslmc/fslmc_vfio.c: patch does not apply
Checking patch drivers/bus/fslmc/fslmc_vfio.h...
error: while searching for:

#include <rte_vfio.h>

#include "eal_vfio.h"

#define DPAA2_MC_DPNI_DEVID	7
#define DPAA2_MC_DPSECI_DEVID	3
#define DPAA2_MC_DPCON_DEVID	5

error: patch failed: drivers/bus/fslmc/fslmc_vfio.h:10
error: drivers/bus/fslmc/fslmc_vfio.h: patch does not apply
Checking patch drivers/bus/fslmc/meson.build...
error: while searching for:

allow_experimental_apis = true

includes += include_directories('../../../lib/librte_eal/linuxapp/eal')
includes += include_directories('mc', 'qbman/include', 'portal')
cflags += ['-D_GNU_SOURCE']

error: patch failed: drivers/bus/fslmc/meson.build:22
error: drivers/bus/fslmc/meson.build: patch does not apply
Checking patch lib/librte_eal/bsdapp/eal/eal.c...
error: while searching for:
{
	return 0;
}

error: patch failed: lib/librte_eal/bsdapp/eal/eal.c:781
error: lib/librte_eal/bsdapp/eal/eal.c: patch does not apply
Checking patch lib/librte_eal/common/include/rte_vfio.h...
error: while searching for:
#define VFIO_NOIOMMU_MODE      \
	"/sys/module/vfio/parameters/enable_unsafe_noiommu_mode"

/**
 * Setup vfio_cfg for the device identified by its address.
 * It discovers the configured I/O MMU groups or sets a new one for the device.

error: patch failed: lib/librte_eal/common/include/rte_vfio.h:28
error: lib/librte_eal/common/include/rte_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.c...
error: while searching for:
};

int
vfio_get_group_fd(int iommu_group_no)
{
	int i;
	int vfio_group_fd;

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.c:36
error: lib/librte_eal/linuxapp/eal/eal_vfio.c: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio.h...
error: while searching for:
#define RTE_VFIO_SPAPR VFIO_SPAPR_TCE_v2_IOMMU
#endif

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)
#define RTE_VFIO_NOIOMMU 8
--

#define VFIO_MAX_GROUPS RTE_MAX_VFIO_GROUPS

/*

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio.h:79
error: lib/librte_eal/linuxapp/eal/eal_vfio.h: patch does not apply
Checking patch lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c...
error: while searching for:

		switch (ret) {
		case SOCKET_REQ_CONTAINER:
			fd = vfio_get_container_fd();
			if (fd < 0)
				vfio_mp_sync_send_request(conn_sock, SOCKET_ERR);
			else

error: patch failed: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c:267
error: lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c: patch does not apply
Checking patch lib/librte_eal/rte_eal_version.map...
Hunk #1 succeeded at 241 (offset -13 lines).

DPDK STV team


More information about the test-report mailing list