|WARNING| pw140551-140583 [PATCH 1/4] net/mlx5: reorganize main structures

qemudev at loongson.cn qemudev at loongson.cn
Mon Jun 3 09:55:15 CEST 2024


Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/140551

_apply patch failure_

Submitter: Maayan Kashani <mkashani at nvidia.com>
Date: Sun, 2 Jun 2024 13:29:08 +0300
DPDK git baseline: Repo:dpdk-next-net-mlx
  Branch: for-next-net
  CommitID: 5d185b9afaca3c98d8fd779e97d83e571660f4cf

Apply patch set 140551-140583 failed:

Checking patch drivers/net/mlx5/mlx5_flow.h...
error: while searching for:
	struct rte_flow_hw_aux *flow_aux;
	/** Modify header pointer. */
	struct mlx5_flow_dv_modify_hdr_resource *modify_hdr;
	/** Encap/decap index. */
	uint32_t rix_encap_decap;
	uint8_t chaned_flow;
	/** Chain NTA flows. */
	SLIST_ENTRY(rte_flow_hw) next;
} __rte_packed;

/** HWS flow struct. */
struct rte_flow_hw {

error: patch failed: drivers/net/mlx5/mlx5_flow.h:1328
error: drivers/net/mlx5/mlx5_flow.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow.h...
error: while searching for:
	struct mlx5_list_entry entry;
	void *action; /**< Modify header action object. */
	uint32_t idx;
#ifdef HAVE_MLX5_HWS_SUPPORT
	void *mh_dr_pattern; /**< Modify header DR pattern(HWS only). */
#endif
	uint64_t flags; /**< Flags for RDMA API(HWS only). */
	/* Key area for hash list matching: */
	uint8_t ft_type; /**< Flow table type, Rx or Tx. */

error: patch failed: drivers/net/mlx5/mlx5_flow.h:669
error: drivers/net/mlx5/mlx5_flow.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_dv.c...
error: while searching for:
	uint32_t data_len = ref->actions_num * sizeof(ref->actions[0]);
	uint32_t key_len = sizeof(*ref) - offsetof(typeof(*ref), ft_type);
	uint32_t idx;
	struct mlx5_tbl_multi_pattern_ctx *mpctx;

	typeof(mpctx->mh) *mh_dr_pattern = ref->mh_dr_pattern;
	if (unlikely(!ipool)) {
		rte_flow_error_set(ctx->error, ENOMEM,
				   RTE_FLOW_ERROR_TYPE_UNSPECIFIED,

error: patch failed: drivers/net/mlx5/mlx5_flow_dv.c:6219
error: drivers/net/mlx5/mlx5_flow_dv.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_hw.c...
error: while searching for:

static __rte_always_inline void
flow_hw_modify_field_init(struct mlx5_hw_modify_header_action *mhdr,
			  struct rte_flow_actions_template *at,
			  bool nt_mode)
{
	memset(mhdr, 0, sizeof(*mhdr));
	/* Modify header action without any commands is shared by default. */
	if (!(nt_mode))
		mhdr->shared = true;
	mhdr->pos = at->mhdr_off;
}


error: patch failed: drivers/net/mlx5/mlx5_flow_hw.c:1439
error: drivers/net/mlx5/mlx5_flow_hw.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_dv.c...
error: while searching for:
		hdr.data = ctx_resource->buf;
		resource->action = mlx5dr_action_create_reformat
		(ctx->data2, (enum mlx5dr_action_type)ctx_resource->reformat_type, 1,
			&hdr, 1, ctx_resource->flags);
		if (!resource->action)
			ret = -1;
#else

error: patch failed: drivers/net/mlx5/mlx5_flow_dv.c:4317
error: drivers/net/mlx5/mlx5_flow_dv.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_hw.c...
Hunk #1 succeeded at 1976 (offset -148 lines).
Hunk #2 succeeded at 1998 (offset -148 lines).
Hunk #3 succeeded at 2022 (offset -148 lines).
Hunk #4 succeeded at 2039 (offset -148 lines).
Hunk #5 succeeded at 2054 (offset -148 lines).
error: while searching for:
		}
	}
	if (reformat_used) {
		ret = mlx5_tbl_translate_reformat(priv, table_attr, acts, at,
						  enc_item, enc_item_m,
						  encap_data, encap_data_m,
						  mp_ctx, data_size,

error: patch failed: drivers/net/mlx5/mlx5_flow_hw.c:2798
error: drivers/net/mlx5/mlx5_flow_hw.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_hw.c...
error: while searching for:
		return rte_flow_error_set(error, ENOMEM,
				RTE_FLOW_ERROR_TYPE_UNSPECIFIED, NULL,
				"cannot allocate flow aux memory");
	/*TODO: consider if other allocation is needed for actions translate. */
	return 0;
}


error: patch failed: drivers/net/mlx5/mlx5_flow_hw.c:12390
error: drivers/net/mlx5/mlx5_flow_hw.c: patch does not apply



More information about the test-report mailing list