From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Maayan Kashani <mkashani@nvidia.com>, zhoumin@loongson.cn
Subject: |WARNING| pw140551-140583 [PATCH 1/4] net/mlx5: reorganize main structures
Date: Mon, 3 Jun 2024 15:55:15 +0800 [thread overview]
Message-ID: <202406030755.4537tFOD2030352@localhost.localdomain> (raw)
In-Reply-To: <20240602102908.197054-1-mkashani@nvidia.com>
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/140551
_apply patch failure_
Submitter: Maayan Kashani <mkashani@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
prev parent reply other threads:[~2024-06-03 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240602102908.197054-1-mkashani@nvidia.com>
2024-06-02 10:32 ` |WARNING| pw140551 " checkpatch
2024-06-03 7:55 ` qemudev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202406030755.4537tFOD2030352@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=mkashani@nvidia.com \
--cc=test-report@dpdk.org \
--cc=zhoumin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).