From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Declan Doherty <declan.doherty@intel.com>, dev@dpdk.org
Subject: Re: [PATCH v2] net/bond: change link status check to no-wait
Date: Thu, 29 Jun 2017 12:34:25 +0100 [thread overview]
Message-ID: <82e36fac-072e-f0d2-6816-d4510d7778b4@intel.com> (raw)
In-Reply-To: <20170628101550.24643-1-declan.doherty@intel.com>
On 6/28/2017 11:15 AM, Declan Doherty wrote:
> In 2 modes (802.3ad and TLB) of the link bonding driver, monitoring of
> link status is used to determine the active slaves to use. These
> functions are currently using the rte_link_link_get which could block
> for up to 9 seconds, depending on the slave device.
>
> In the 802.3ad periodic callback and in the TLB slave callback the
> link status of slaves are checked using rte_eth_link_get function.
>
> This patch changes to the no-wait version of the link get function to
> avoid the possible issues which could be introduced if this call was
> to block for an extended period of time.
Fixes: 46fb43683679 ("bond: add mode 4")
Fixes: 7c76a747e68c ("bond: add mode 5")
Cc: stable@dpdk.org
>
> Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Applied to dpdk-next-net/master, thanks.
prev parent reply other threads:[~2017-06-29 11:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 15:13 [PATCH] net/bond: change link status check to no-wait Declan Doherty
2017-06-26 20:53 ` Chas Williams
2017-06-28 9:13 ` Declan Doherty
2017-06-28 10:15 ` [PATCH v2] " Declan Doherty
2017-06-29 11:34 ` Ferruh Yigit [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=82e36fac-072e-f0d2-6816-d4510d7778b4@intel.com \
--to=ferruh.yigit@intel.com \
--cc=declan.doherty@intel.com \
--cc=dev@dpdk.org \
/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).