[dpdk-test-report] |FAILURE| pw51670[2/3] net/mlx5: remove device register remap

sys_stv at intel.com sys_stv at intel.com
Mon Mar 25 21:10:20 CET 2019


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

_apply issues_

Submitter: Yongseok Koh <yskoh at mellanox.com>
Date: 2019-03-25 19:36:26
Reply_mail: 20190325193627.19726-3-yskoh at mellanox.com
DPDK git baseline:
	Repo:dpdk-master, CommitID: faf8c3095ac649f3d893ee846e2aa7cf1b4ccf4d
	Repo:dpdk-next-eventdev, CommitID: 744407cf7b80f9e5c886c2304211b429febb4394
	Repo:dpdk-next-net, CommitID: bc2e365a282b002c6eb0a29150252c7acd8e9f90
	Repo:dpdk-next-crypto, CommitID: f36697d93cfe2a8f0707f7696e273d5e5969ffdb
	Repo:dpdk-next-virtio, CommitID: 7f9cb2162e640ea87772ce0f2cbaf30a2d97d70d

*Repo: dpdk-master
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
static rte_spinlock_t mlx5_shared_data_lock = RTE_SPINLOCK_INITIALIZER;

/* Process local data for secondary processes. */
static struct mlx5_local_data mlx5_local_data;

/** Driver-specific log messages type. */
int mlx5_logtype;

error: patch failed: drivers/net/mlx5/mlx5.c:132
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5.h...
error: while searching for:
	/* Global spinlock for primary and secondary processes. */
	int init_done; /* Whether primary has done initialization. */
	unsigned int secondary_cnt; /* Number of secondary processes init'd. */
	void *uar_base;
	/* Reserved UAR address space for TXQ UAR(hw doorbell) mapping. */
	struct mlx5_dev_list mem_event_cb_list;
	rte_rwlock_t mem_event_rwlock;
};

error: patch failed: drivers/net/mlx5/mlx5.h:97
error: drivers/net/mlx5/mlx5.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
Checking patch drivers/net/mlx5/mlx5_trigger.c...
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:
 *   0 on success, a negative errno value otherwise and rte_errno is set.
 */
int
mlx5_tx_uar_remap(struct rte_eth_dev *dev, int fd)
{
--
				   PROT_WRITE, MAP_FIXED | MAP_SHARED, fd,
				   txq_ctrl->uar_mmap_offset);
			if (ret != addr) {
				/* fixed mmap have to return same address */
				DRV_LOG(ERR,
					"port %u call to mmap failed on UAR"
					" for txq %u",
					dev->data->port_id, txq_ctrl->idx);
				rte_errno = ENXIO;
				return -rte_errno;
			}
--
		/* Assign a UAR lock according to UAR page number */
		lock_idx = (txq_ctrl->uar_mmap_offset / page_size) &
			   MLX5_UAR_PAGE_NUM_MASK;
		txq->uar_lock = &priv->uar_lock[lock_idx];

error: patch failed: drivers/net/mlx5/mlx5_txq.c:244
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply
*Repo: dpdk-next-eventdev
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
static rte_spinlock_t mlx5_shared_data_lock = RTE_SPINLOCK_INITIALIZER;

/* Process local data for secondary processes. */
static struct mlx5_local_data mlx5_local_data;

/** Driver-specific log messages type. */
int mlx5_logtype;

error: patch failed: drivers/net/mlx5/mlx5.c:132
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5.h...
error: while searching for:
	/* Global spinlock for primary and secondary processes. */
	int init_done; /* Whether primary has done initialization. */
	unsigned int secondary_cnt; /* Number of secondary processes init'd. */
	void *uar_base;
	/* Reserved UAR address space for TXQ UAR(hw doorbell) mapping. */
	struct mlx5_dev_list mem_event_cb_list;
	rte_rwlock_t mem_event_rwlock;
};

error: patch failed: drivers/net/mlx5/mlx5.h:97
error: drivers/net/mlx5/mlx5.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
Checking patch drivers/net/mlx5/mlx5_trigger.c...
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:
 *   0 on success, a negative errno value otherwise and rte_errno is set.
 */
int
mlx5_tx_uar_remap(struct rte_eth_dev *dev, int fd)
{
--
				   PROT_WRITE, MAP_FIXED | MAP_SHARED, fd,
				   txq_ctrl->uar_mmap_offset);
			if (ret != addr) {
				/* fixed mmap have to return same address */
				DRV_LOG(ERR,
					"port %u call to mmap failed on UAR"
					" for txq %u",
					dev->data->port_id, txq_ctrl->idx);
				rte_errno = ENXIO;
				return -rte_errno;
			}
--
		/* Assign a UAR lock according to UAR page number */
		lock_idx = (txq_ctrl->uar_mmap_offset / page_size) &
			   MLX5_UAR_PAGE_NUM_MASK;
		txq->uar_lock = &priv->uar_lock[lock_idx];

error: patch failed: drivers/net/mlx5/mlx5_txq.c:244
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply
*Repo: dpdk-next-net
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
static rte_spinlock_t mlx5_shared_data_lock = RTE_SPINLOCK_INITIALIZER;

/* Process local data for secondary processes. */
static struct mlx5_local_data mlx5_local_data;

/** Driver-specific log messages type. */
int mlx5_logtype;

error: patch failed: drivers/net/mlx5/mlx5.c:132
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5.h...
error: while searching for:
	/* Global spinlock for primary and secondary processes. */
	int init_done; /* Whether primary has done initialization. */
	unsigned int secondary_cnt; /* Number of secondary processes init'd. */
	void *uar_base;
	/* Reserved UAR address space for TXQ UAR(hw doorbell) mapping. */
	struct mlx5_dev_list mem_event_cb_list;
	rte_rwlock_t mem_event_rwlock;
};

error: patch failed: drivers/net/mlx5/mlx5.h:97
error: drivers/net/mlx5/mlx5.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
Checking patch drivers/net/mlx5/mlx5_trigger.c...
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:
 *   0 on success, a negative errno value otherwise and rte_errno is set.
 */
int
mlx5_tx_uar_remap(struct rte_eth_dev *dev, int fd)
{
--
				   PROT_WRITE, MAP_FIXED | MAP_SHARED, fd,
				   txq_ctrl->uar_mmap_offset);
			if (ret != addr) {
				/* fixed mmap have to return same address */
				DRV_LOG(ERR,
					"port %u call to mmap failed on UAR"
					" for txq %u",
					dev->data->port_id, txq_ctrl->idx);
				rte_errno = ENXIO;
				return -rte_errno;
			}
--
		/* Assign a UAR lock according to UAR page number */
		lock_idx = (txq_ctrl->uar_mmap_offset / page_size) &
			   MLX5_UAR_PAGE_NUM_MASK;
		txq->uar_lock = &priv->uar_lock[lock_idx];

error: patch failed: drivers/net/mlx5/mlx5_txq.c:244
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply
*Repo: dpdk-next-crypto
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
static rte_spinlock_t mlx5_shared_data_lock = RTE_SPINLOCK_INITIALIZER;

/* Process local data for secondary processes. */
static struct mlx5_local_data mlx5_local_data;

/** Driver-specific log messages type. */
int mlx5_logtype;

error: patch failed: drivers/net/mlx5/mlx5.c:132
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5.h...
error: while searching for:
	/* Global spinlock for primary and secondary processes. */
	int init_done; /* Whether primary has done initialization. */
	unsigned int secondary_cnt; /* Number of secondary processes init'd. */
	void *uar_base;
	/* Reserved UAR address space for TXQ UAR(hw doorbell) mapping. */
	struct mlx5_dev_list mem_event_cb_list;
	rte_rwlock_t mem_event_rwlock;
};

error: patch failed: drivers/net/mlx5/mlx5.h:97
error: drivers/net/mlx5/mlx5.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
Checking patch drivers/net/mlx5/mlx5_trigger.c...
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:
 *   0 on success, a negative errno value otherwise and rte_errno is set.
 */
int
mlx5_tx_uar_remap(struct rte_eth_dev *dev, int fd)
{
--
				   PROT_WRITE, MAP_FIXED | MAP_SHARED, fd,
				   txq_ctrl->uar_mmap_offset);
			if (ret != addr) {
				/* fixed mmap have to return same address */
				DRV_LOG(ERR,
					"port %u call to mmap failed on UAR"
					" for txq %u",
					dev->data->port_id, txq_ctrl->idx);
				rte_errno = ENXIO;
				return -rte_errno;
			}
--
		/* Assign a UAR lock according to UAR page number */
		lock_idx = (txq_ctrl->uar_mmap_offset / page_size) &
			   MLX5_UAR_PAGE_NUM_MASK;
		txq->uar_lock = &priv->uar_lock[lock_idx];

error: patch failed: drivers/net/mlx5/mlx5_txq.c:244
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply
*Repo: dpdk-next-virtio
Checking patch drivers/net/mlx5/mlx5.c...
error: while searching for:
static rte_spinlock_t mlx5_shared_data_lock = RTE_SPINLOCK_INITIALIZER;

/* Process local data for secondary processes. */
static struct mlx5_local_data mlx5_local_data;

/** Driver-specific log messages type. */
int mlx5_logtype;

error: patch failed: drivers/net/mlx5/mlx5.c:132
error: drivers/net/mlx5/mlx5.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5.h...
error: while searching for:
	/* Global spinlock for primary and secondary processes. */
	int init_done; /* Whether primary has done initialization. */
	unsigned int secondary_cnt; /* Number of secondary processes init'd. */
	void *uar_base;
	/* Reserved UAR address space for TXQ UAR(hw doorbell) mapping. */
	struct mlx5_dev_list mem_event_cb_list;
	rte_rwlock_t mem_event_rwlock;
};

error: patch failed: drivers/net/mlx5/mlx5.h:97
error: drivers/net/mlx5/mlx5.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_rxtx.h...
Checking patch drivers/net/mlx5/mlx5_trigger.c...
Checking patch drivers/net/mlx5/mlx5_txq.c...
error: while searching for:
 *   0 on success, a negative errno value otherwise and rte_errno is set.
 */
int
mlx5_tx_uar_remap(struct rte_eth_dev *dev, int fd)
{
--
				   PROT_WRITE, MAP_FIXED | MAP_SHARED, fd,
				   txq_ctrl->uar_mmap_offset);
			if (ret != addr) {
				/* fixed mmap have to return same address */
				DRV_LOG(ERR,
					"port %u call to mmap failed on UAR"
					" for txq %u",
					dev->data->port_id, txq_ctrl->idx);
				rte_errno = ENXIO;
				return -rte_errno;
			}
--
		/* Assign a UAR lock according to UAR page number */
		lock_idx = (txq_ctrl->uar_mmap_offset / page_size) &
			   MLX5_UAR_PAGE_NUM_MASK;
		txq->uar_lock = &priv->uar_lock[lock_idx];

error: patch failed: drivers/net/mlx5/mlx5_txq.c:244
error: drivers/net/mlx5/mlx5_txq.c: patch does not apply

DPDK STV team


More information about the test-report mailing list