From: "Wu, Jingjing" <jingjing.wu@intel.com>
To: "Li, Xiaoyun" <xiaoyun.li@intel.com>,
"Lu, Wenzhuo" <wenzhuo.lu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/avf: fix AVF traffic blocked issue
Date: Fri, 18 May 2018 04:29:59 +0000 [thread overview]
Message-ID: <9BB6961774997848B5B42BEC655768F81109ABF4@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1526556254-54764-1-git-send-email-xiaoyun.li@intel.com>
> -----Original Message-----
> From: Li, Xiaoyun
> Sent: Thursday, May 17, 2018 7:24 PM
> To: Wu, Jingjing <jingjing.wu@intel.com>; Lu, Wenzhuo <wenzhuo.lu@intel.com>
> Cc: dev@dpdk.org; Li, Xiaoyun <xiaoyun.li@intel.com>; stable@dpdk.org
> Subject: [PATCH] net/avf: fix AVF traffic blocked issue
>
> When resetting ports, traffic will be blocked. There is a mistake when
> getting hw info at avf_dev_stop. This causes the device stop without
> stopping queues. This patch fixes this issue.
>
> Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
> Cc: stable@dpdk.org
>
> Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
> ---
> drivers/net/avf/avf_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c
> index 0ef1f17..ad83a57 100644
> --- a/drivers/net/avf/avf_ethdev.c
> +++ b/drivers/net/avf/avf_ethdev.c
> @@ -475,7 +475,7 @@ avf_dev_stop(struct rte_eth_dev *dev)
> {
> struct avf_adapter *adapter =
> AVF_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private);
> - struct avf_hw *hw = AVF_DEV_PRIVATE_TO_HW(dev);
> + struct avf_hw *hw = AVF_DEV_PRIVATE_TO_HW(dev->data->dev_private);
> struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(dev);
> struct rte_intr_handle *intr_handle = dev->intr_handle;
> int ret, i;
> --
> 2.7.4
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Thanks, Xiaoyun!
prev parent reply other threads:[~2018-05-18 4:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-17 11:24 Xiaoyun Li
2018-05-17 14:54 ` Zhang, Helin
2018-05-17 14:56 ` Zhang, Helin
2018-05-18 4:29 ` Wu, Jingjing [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=9BB6961774997848B5B42BEC655768F81109ABF4@SHSMSX103.ccr.corp.intel.com \
--to=jingjing.wu@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=wenzhuo.lu@intel.com \
--cc=xiaoyun.li@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).