|WARNING| pw129195-129198 [v2 1/5] net/mlx5: support indirect list METER_MARK action

qemudev at loongson.cn qemudev at loongson.cn
Mon Jul 3 12:15:20 CEST 2023


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

_apply patch failure_

Submitter: Itamar Gozlan <igozlan at nvidia.com>
Date: Sun, 2 Jul 2023 07:57:54 +0300
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: fb6aeb4e6f518efdf48f6f1edcbada25fd17d0f1

Apply patch set 129195-129198 failed:

Checking patch drivers/net/mlx5/mlx5_flow.c...
error: while searching for:
		switch (e->type) {
#ifdef HAVE_MLX5_HWS_SUPPORT
		case MLX5_INDIRECT_ACTION_LIST_TYPE_MIRROR:
			mlx5_hw_mirror_destroy(dev, (struct mlx5_mirror *)e, true);
		break;
#endif
		default:
			DRV_LOG(ERR, "invalid indirect list type");

error: patch failed: drivers/net/mlx5/mlx5_flow.c:63
error: drivers/net/mlx5/mlx5_flow.c: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow.h...
error: while searching for:
#define MLX5_ACTION_CTX_CT_GEN_IDX MLX5_INDIRECT_ACT_CT_GEN_IDX

enum mlx5_indirect_list_type {
	MLX5_INDIRECT_ACTION_LIST_TYPE_MIRROR = 1,
};

/*
 * Base type for indirect list type.
 * Actual indirect list type MUST override that type and put type spec data
 * after the `chain`.
 */
struct mlx5_indirect_list {
	/* type field MUST be the first */
	enum mlx5_indirect_list_type type;
	LIST_ENTRY(mlx5_indirect_list) entry;
	/* put type specific data after chain */
};

static __rte_always_inline enum mlx5_indirect_list_type
mlx5_get_indirect_list_type(const struct mlx5_indirect_list *obj)
{
	return obj->type;
}

/* Matches on selected register. */

error: patch failed: drivers/net/mlx5/mlx5_flow.h:113
error: drivers/net/mlx5/mlx5_flow.h: patch does not apply
Checking patch drivers/net/mlx5/mlx5_flow_hw.c...
error: while searching for:
	(!!((priv)->sh->esw_mode && (priv)->master))


struct mlx5_mirror_clone {
	enum rte_flow_action_type type;
	void *action_ctx;
};

struct mlx5_mirror {
	/* type field MUST be the first */
	enum mlx5_indirect_list_type type;
	LIST_ENTRY(mlx5_indirect_list) entry;

	uint32_t clones_num;
	struct mlx5dr_action *mirror_action;
	struct mlx5_mirror_clone clone[MLX5_MIRROR_MAX_CLONES_NUM];

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



More information about the test-report mailing list