[dpdk-stable] patch 'app/testpmd: fix port status for new bonded devices' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Thu Nov 29 14:20:01 CET 2018


Hi,

FYI, your patch has been queued to stable release 18.08.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/18. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Kevin Traynor

---
>From 6dc9c99588a04768873c8b2d50c6e157c4ef83cf Mon Sep 17 00:00:00 2001
From: Radu Nicolau <radu.nicolau at intel.com>
Date: Fri, 23 Nov 2018 11:12:29 +0000
Subject: [PATCH] app/testpmd: fix port status for new bonded devices

[ backported from upstream commit 0ae8071784f353f426fd8ad9bbab2fe0ba39a670 ]

Set port status to stopped for newly added devices.

Fixes: 2950a769315e ("bond: testpmd support")

Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger at 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 18612d763..d6046c6f1 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -5816,4 +5816,5 @@ static void cmd_create_bonded_device_parsed(void *parsed_result,
 		reconfig(port_id, res->socket);
 		rte_eth_promiscuous_enable(port_id);
+		ports[port_id].port_status = RTE_PORT_STOPPED;
 	}
 
-- 
2.19.0



More information about the stable mailing list