Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/102542 _apply patch failure_ Submitter: Rongwei Liu Date: Thursday, October 21 2021 08:56:36 Applied on: CommitID:3ac2dffae88e8eb5c374b1fdd40d605014526510 Apply patch set 102542-102541 failed: Checking patch doc/guides/nics/mlx5.rst... Checking patch drivers/net/mlx5/linux/mlx5_os.c... Hunk #1 succeeded at 928 (offset 50 lines). Hunk #2 succeeded at 1685 (offset 18 lines). Checking patch drivers/net/mlx5/mlx5.c... Hunk #1 succeeded at 1226 (offset -30 lines). Hunk #2 succeeded at 1315 (offset -30 lines). Hunk #3 succeeded at 1385 (offset -30 lines). error: while searching for: MLX5_ASSERT(sh); if (sh->share_cache.cache.table) mlx5_mr_btree_free(&sh->share_cache.cache); if (sh->tis) claim_zero(mlx5_devx_cmd_destroy(sh->tis)); if (sh->td) claim_zero(mlx5_devx_cmd_destroy(sh->td)); if (sh->devx_rx_uar) mlx5_glue->devx_free_uar(sh->devx_rx_uar); if (sh->tx_uar) error: patch failed: drivers/net/mlx5/mlx5.c:1420 Hunk #5 succeeded at 1485 (offset -26 lines). Hunk #6 succeeded at 1551 (offset -22 lines). Checking patch drivers/net/mlx5/mlx5.h... Hunk #1 succeeded at 1127 (offset 7 lines). Hunk #2 succeeded at 1202 (offset 9 lines). Hunk #3 succeeded at 1470 (offset 9 lines). Checking patch drivers/net/mlx5/mlx5_devx.c... Checking patch drivers/net/mlx5/mlx5_txpp.c... Applied patch doc/guides/nics/mlx5.rst cleanly. Applied patch drivers/net/mlx5/linux/mlx5_os.c cleanly. Applying patch drivers/net/mlx5/mlx5.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Rejected hunk #4. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Applied patch drivers/net/mlx5/mlx5.h cleanly. Applied patch drivers/net/mlx5/mlx5_devx.c cleanly. Applied patch drivers/net/mlx5/mlx5_txpp.c cleanly. diff a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c (rejected hunks) @@ -1420,10 +1479,13 @@ mlx5_alloc_shared_dev_ctx(const struct mlx5_dev_spawn_data *spawn, MLX5_ASSERT(sh); if (sh->share_cache.cache.table) mlx5_mr_btree_free(&sh->share_cache.cache); - if (sh->tis) - claim_zero(mlx5_devx_cmd_destroy(sh->tis)); if (sh->td) claim_zero(mlx5_devx_cmd_destroy(sh->td)); + i = 0; + do { + if (sh->tis[i]) + claim_zero(mlx5_devx_cmd_destroy(sh->tis[i])); + } while (++i < (uint32_t)sh->bond.n_port); if (sh->devx_rx_uar) mlx5_glue->devx_free_uar(sh->devx_rx_uar); if (sh->tx_uar) https://lab.dpdk.org/results/dashboard/patchsets/19615/ UNH-IOL DPDK Community Lab