patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Radu Nicolau <radu.nicolau@intel.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [18.08] app/testpmd: fix port status for new bonded devices
Date: Mon, 26 Nov 2018 16:44:03 +0000	[thread overview]
Message-ID: <c5ca8eee-7cec-2076-ed7d-1a2abbdfc82d@redhat.com> (raw)
In-Reply-To: <1542971549-15000-1-git-send-email-radu.nicolau@intel.com>

On 11/23/2018 11:12 AM, Radu Nicolau wrote:
> [ backported from upstream commit 0ae8071784f353f426fd8ad9bbab2fe0ba39a670 ]
> 

Got it, thanks

> Set port status to stopped for newly added devices.
> 
> Fixes: 2950a769315e ("bond: testpmd support")
> 
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>  app/test-pmd/cmdline.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index f71d963..6561783 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -5296,6 +5296,7 @@ static void cmd_create_bonded_device_parsed(void *parsed_result,
>  		nb_ports = rte_eth_dev_count();
>  		reconfig(port_id, res->socket);
>  		rte_eth_promiscuous_enable(port_id);
> +		ports[port_id].port_status = RTE_PORT_STOPPED;
>  	}
>  
>  }
> 

      reply	other threads:[~2018-11-26 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-23 11:12 Radu Nicolau
2018-11-26 16:44 ` Kevin Traynor [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=c5ca8eee-7cec-2076-ed7d-1a2abbdfc82d@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=radu.nicolau@intel.com \
    --cc=stable@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).