From: "Li, Xiaoyun" <xiaoyun.li@intel.com>
To: "Min Hu (Connor)" <humin29@huawei.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "Yigit, Ferruh" <ferruh.yigit@intel.com>
Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: fix Tx/Rx descriptor query error log
Date: Mon, 29 Mar 2021 07:07:28 +0000 [thread overview]
Message-ID: <DM4PR11MB5534BB8D3102DC94FABB73BB997E9@DM4PR11MB5534.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1617000403-13647-1-git-send-email-humin29@huawei.com>
Hi
> -----Original Message-----
> From: Min Hu (Connor) <humin29@huawei.com>
> Sent: Monday, March 29, 2021 14:47
> To: dev@dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit@intel.com>; Li, Xiaoyun <xiaoyun.li@intel.com>
> Subject: [PATCH v2] app/testpmd: fix Tx/Rx descriptor query error log
>
> From: Hongbo Zheng <zhenghongbo3@huawei.com>
>
> This patch adds more err info for Tx/Rx descriptor query command.
>
> Fixes: fae9aa717d6c ("app/testpmd: support checking descriptor status")
> Cc: stable@dpdk.org
>
> Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
> ---
> v2:
> * Fixed error log info and simply the commit info.
> ---
> app/test-pmd/cmdline.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index
> 14110eb..f44116b 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -16629,7 +16629,8 @@ cmd_show_rx_tx_desc_status_parsed(void
> *parsed_result,
> rc = rte_eth_rx_descriptor_status(res->cmd_pid, res-
> >cmd_qid,
> res->cmd_did);
> if (rc < 0) {
> - printf("Invalid queueid = %d\n", res->cmd_qid);
> + printf("Invalid input: queue id = %d, desc id = %d\n",
> + res->cmd_qid, res->cmd_did);
> return;
> }
> if (rc == RTE_ETH_RX_DESC_AVAIL)
> @@ -16642,7 +16643,8 @@ cmd_show_rx_tx_desc_status_parsed(void
> *parsed_result,
> rc = rte_eth_tx_descriptor_status(res->cmd_pid, res-
> >cmd_qid,
> res->cmd_did);
> if (rc < 0) {
> - printf("Invalid queueid = %d\n", res->cmd_qid);
> + printf("Invalid input: queue id = %d, desc id = %d\n",
> + res->cmd_qid, res->cmd_did);
> return;
> }
> if (rc == RTE_ETH_TX_DESC_FULL)
> --
> 2.7.4
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
next prev parent reply other threads:[~2021-03-29 7:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-27 7:34 [dpdk-dev] [PATCH] " Min Hu (Connor)
2021-03-29 5:49 ` Li, Xiaoyun
2021-03-29 6:47 ` Min Hu (Connor)
2021-03-29 6:46 ` [dpdk-dev] [PATCH v2] " Min Hu (Connor)
2021-03-29 7:07 ` Li, Xiaoyun [this message]
2021-03-30 14:35 ` Ferruh Yigit
2021-03-30 14:29 ` Ferruh Yigit
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=DM4PR11MB5534BB8D3102DC94FABB73BB997E9@DM4PR11MB5534.namprd11.prod.outlook.com \
--to=xiaoyun.li@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=humin29@huawei.com \
/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).