* [dpdk-dev] [PATCH] app/testpmd: fix port status for new bonded devices
@ 2018-11-01 11:20 Radu Nicolau
2018-11-01 12:11 ` Iremonger, Bernard
0 siblings, 1 reply; 3+ messages in thread
From: Radu Nicolau @ 2018-11-01 11:20 UTC (permalink / raw)
To: dev
Cc: wenzhuo.lu, jingjing.wu, bernard.iremonger, declan.doherty,
chas3, Radu Nicolau, stable
Set port status to stopped for newly added devices.
Fixes: 2950a769315e ("bond: testpmd support")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
app/test-pmd/cmdline.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 1050fde..a29c6cc 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -5976,6 +5976,8 @@ static void cmd_create_bonded_device_parsed(void *parsed_result,
nb_ports = rte_eth_dev_count_avail();
reconfig(port_id, res->socket);
rte_eth_promiscuous_enable(port_id);
+ ports[port_id].need_setup = 0;
+ ports[port_id].port_status = RTE_PORT_STOPPED;
}
}
--
2.7.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] app/testpmd: fix port status for new bonded devices
2018-11-01 11:20 [dpdk-dev] [PATCH] app/testpmd: fix port status for new bonded devices Radu Nicolau
@ 2018-11-01 12:11 ` Iremonger, Bernard
2018-11-02 20:37 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Iremonger, Bernard @ 2018-11-01 12:11 UTC (permalink / raw)
To: Nicolau, Radu, dev
Cc: Lu, Wenzhuo, Wu, Jingjing, Doherty, Declan, chas3, stable
> -----Original Message-----
> From: Nicolau, Radu
> Sent: Thursday, November 1, 2018 11:21 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo <wenzhuo.lu@intel.com>; Wu, Jingjing
> <jingjing.wu@intel.com>; Iremonger, Bernard <bernard.iremonger@intel.com>;
> Doherty, Declan <declan.doherty@intel.com>; chas3@att.com; Nicolau, Radu
> <radu.nicolau@intel.com>; stable@dpdk.org
> Subject: [PATCH] app/testpmd: fix port status for new bonded devices
>
> Set port status to stopped for newly added devices.
>
> Fixes: 2950a769315e ("bond: testpmd support")
> Cc: stable@dpdk.org
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix port status for new bonded devices
2018-11-01 12:11 ` Iremonger, Bernard
@ 2018-11-02 20:37 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2018-11-02 20:37 UTC (permalink / raw)
To: Iremonger, Bernard, Nicolau, Radu, dev
Cc: Lu, Wenzhuo, Wu, Jingjing, Doherty, Declan, chas3, stable
On 11/1/2018 12:11 PM, Iremonger, Bernard wrote:
>> -----Original Message-----
>> From: Nicolau, Radu
>> Sent: Thursday, November 1, 2018 11:21 AM
>> To: dev@dpdk.org
>> Cc: Lu, Wenzhuo <wenzhuo.lu@intel.com>; Wu, Jingjing
>> <jingjing.wu@intel.com>; Iremonger, Bernard <bernard.iremonger@intel.com>;
>> Doherty, Declan <declan.doherty@intel.com>; chas3@att.com; Nicolau, Radu
>> <radu.nicolau@intel.com>; stable@dpdk.org
>> Subject: [PATCH] app/testpmd: fix port status for new bonded devices
>>
>> Set port status to stopped for newly added devices.
>>
>> Fixes: 2950a769315e ("bond: testpmd support")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
>
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-02 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 11:20 [dpdk-dev] [PATCH] app/testpmd: fix port status for new bonded devices Radu Nicolau
2018-11-01 12:11 ` Iremonger, Bernard
2018-11-02 20:37 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
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).