From: Stephen Hemminger <stephen@networkplumber.org>
To: Bingbin Chen <chen.bingbin@zte.com.cn>
Cc: wang.junlong1@zte.com.cn, yang.yonggang@zte.com.cn, dev@dpdk.org
Subject: Re: [PATCH v1 1/2] net/zxdh: npsdk add flow director table ops
Date: Tue, 17 Jun 2025 07:08:28 -0700 [thread overview]
Message-ID: <20250617070828.47d67dd6@hermes.local> (raw)
In-Reply-To: <20250617093225.3570498-1-chen.bingbin@zte.com.cn>
On Tue, 17 Jun 2025 17:32:25 +0800
Bingbin Chen <chen.bingbin@zte.com.cn> wrote:
> + uint32_t msg_result = 0;
> + uint32_t acl_index = 0;
> + ZXDH_AGENT_CHANNEL_ACL_MSG_T msgcfg = {
> + .dev_id = 0,
> + .type = ZXDH_ACL_MSG,
> + .oper = ZXDH_ACL_INDEX_REQUEST,
> + .vport = vport,
> + .sdt_no = sdt_no,
> + };
> + ZXDH_AGENT_CHANNEL_MSG_T agent_msg = {
> + .msg = (void *)&msgcfg,
> + .msg_len = sizeof(ZXDH_AGENT_CHANNEL_ACL_MSG_T),
> + };
> +
> + rc = zxdh_np_agent_channel_sync_send(dev_id, &agent_msg, rsp_buff, sizeof(rsp_buff));
> + if (rc != ZXDH_OK) {
> + PMD_DRV_LOG(ERR, "agent send msg failed");
> + return ZXDH_ERR;
> + }
> +
> + msg_result = rsp_buff[0];
> + acl_index = rsp_buff[1];
> +
> + PMD_DRV_LOG(DEBUG, "dev_id: %d, msg_result: %d", dev_id, msg_result);
> + PMD_DRV_LOG(DEBUG, "dev_id: %d, acl_index: %d", dev_id, acl_index);
> +
Some compiler versions will complain about printing an unsigned type (msg_result)
with a signed format (%d). This problem exists many places in DPDK so no urgent
need to address it.
next prev parent reply other threads:[~2025-06-17 14:08 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-17 9:31 [PATCH v1 0/2] add support flow director ops Bingbin Chen
2025-06-17 9:32 ` [PATCH v1 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-06-17 14:07 ` Stephen Hemminger
2025-06-17 14:08 ` Stephen Hemminger [this message]
2025-06-17 9:32 ` [PATCH v1 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-06-18 7:49 ` [PATCH v2 0/2] " Bingbin Chen
2025-06-18 7:49 ` [PATCH v2 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-06-18 7:49 ` [PATCH v2 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-06-30 16:56 ` Stephen Hemminger
2025-07-02 7:34 ` [PATCH v3 0/2] " Bingbin Chen
2025-07-02 7:34 ` [PATCH v3 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-07-02 7:34 ` [PATCH v3 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-07-02 15:02 ` Stephen Hemminger
2025-08-03 17:34 ` Stephen Hemminger
2025-08-08 7:10 ` [PATCH v4 0/2] " Junlong Wang
2025-08-08 7:10 ` [PATCH v4 1/2] net/zxdh: npsdk add flow director table ops Junlong Wang
2025-08-08 7:10 ` [PATCH v4 2/2] net/zxdh: add support flow director ops Junlong Wang
2025-08-08 9:15 ` Ivan Malov
2025-08-08 16:12 ` Stephen Hemminger
2025-08-12 1:23 ` [v4,2/2] " Junlong Wang
2025-08-12 4:04 ` Ivan Malov
2025-08-12 7:19 ` Junlong Wang
2025-08-12 7:36 ` Ivan Malov
2025-08-12 10:47 ` Junlong Wang
2025-08-14 2:52 ` [PATCH v5 0/2] " Bingbin Chen
2025-08-14 2:52 ` [PATCH v5 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-08-14 2:52 ` [PATCH v5 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-08-14 16:59 ` Stephen Hemminger
2025-08-15 1:33 ` fengchengwen
2025-08-15 16:01 ` Stephen Hemminger
2025-08-15 7:42 ` [PATCH v6 0/2] " Bingbin Chen
2025-08-15 7:42 ` [PATCH v6 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-08-20 19:46 ` Stephen Hemminger
2025-08-15 7:42 ` [PATCH v6 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-08-15 8:00 ` Ivan Malov
2025-08-27 8:39 ` [PATCH v7 0/2] " Bingbin Chen
2025-08-27 8:39 ` [PATCH v7 1/2] net/zxdh: npsdk add flow director table ops Bingbin Chen
2025-08-27 8:39 ` [PATCH v7 2/2] net/zxdh: add support flow director ops Bingbin Chen
2025-08-27 23:19 ` Stephen Hemminger
2025-08-15 15:23 ` [PATCH v5 0/2] " Patrick Robb
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=20250617070828.47d67dd6@hermes.local \
--to=stephen@networkplumber.org \
--cc=chen.bingbin@zte.com.cn \
--cc=dev@dpdk.org \
--cc=wang.junlong1@zte.com.cn \
--cc=yang.yonggang@zte.com.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.