Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/52026 _apply issues_ Submitter: Yongseok Koh Date: 2019-04-01 21:22:24 Reply_mail: 20190401212225.26380-3-yskoh@mellanox.com DPDK git baseline: Repo:dpdk-master, CommitID: a9d64ecc4cc3ce1a48f96b06f24430900c15e728 Repo:dpdk-next-eventdev, CommitID: 7a1ccc24874e251957513aba0520500f873e276a Repo:dpdk-next-net, CommitID: 484217a17ee094df024bfa19557c0a15537e7a57 Repo:dpdk-next-crypto, CommitID: b9bc82a71ea1faae88e535511213754004099b98 Repo:dpdk-next-virtio, CommitID: daf8de5c41dfbe40f354ff009f5791db348e0b09 *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:131 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:131 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:131 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:131 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... Hunk #1 succeeded at 26 (offset 1 line). 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:131 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... Hunk #1 succeeded at 202 (offset -1 lines). Hunk #2 succeeded at 231 (offset -1 lines). Hunk #3 succeeded at 302 (offset -1 lines). Hunk #4 succeeded at 701 (offset -5 lines). Checking patch drivers/net/mlx5/mlx5_trigger.c... error: while searching for: goto error; } } ret = mlx5_tx_uar_remap(dev, priv->sh->ctx->cmd_fd); if (ret) { /* Adjust index for rollback. */ i = priv->txqs_n - 1; error: patch failed: drivers/net/mlx5/mlx5_trigger.c:58 error: drivers/net/mlx5/mlx5_trigger.c: patch does not apply 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