From: Ye Xiaolong <xiaolong.ye@intel.com>
To: cheng.peng5@zte.com.cn
Cc: jingjing.wu@intel.com, wenzhuo.lu@intel.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/iavf: fix return value of stats get function
Date: Wed, 22 Apr 2020 15:27:53 +0800 [thread overview]
Message-ID: <20200422072753.GC105307@intel.com> (raw)
In-Reply-To: <202004140956577212766@zte.com.cn>
Hi,
Thanks for the fix.
On 04/14, cheng.peng5@zte.com.cn wrote:
>The iavf_dev_stats_get function should return ret instead of -eio.
>
Fixes: f4a41a6953af ("net/avf: support stats")
Cc: stable@dpdk.org
>Signed-off-by: Peng Cheng <cheng.peng5@zte.com.cn>
>---
> drivers/net/iavf/iavf_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
>index 34913f9..93ab121 100644
>--- a/drivers/net/iavf/iavf_ethdev.c
>+++ b/drivers/net/iavf/iavf_ethdev.c
>@@ -1074,7 +1074,7 @@ iavf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
> } else {
> PMD_DRV_LOG(ERR, "Get statistics failed");
> }
>- return -EIO;
>+ return ret;
> }
>
> static int
>--
>1.8.3.1
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
Applied to dpdk-next-net-intel with fixes tag and cc table, Thanks.
prev parent reply other threads:[~2020-04-22 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 1:56 cheng.peng5
2020-04-22 7:27 ` Ye Xiaolong [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=20200422072753.GC105307@intel.com \
--to=xiaolong.ye@intel.com \
--cc=cheng.peng5@zte.com.cn \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
--cc=wenzhuo.lu@intel.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).