From: Yongseok Koh <yskoh@mellanox.com>
To: Radu Nicolau <radu.nicolau@intel.com>
Cc: Bernard Iremonger <bernard.iremonger@intel.com>,
dpdk stable <stable@dpdk.org>
Subject: [dpdk-stable] patch 'test: fix uninitialized port configuration' has been queued to LTS release 17.11.4
Date: Mon, 13 Aug 2018 13:37:48 -0700 [thread overview]
Message-ID: <20180813203749.25171-8-yskoh@mellanox.com> (raw)
In-Reply-To: <20180813203749.25171-1-yskoh@mellanox.com>
Hi,
FYI, your patch has been queued to LTS release 17.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/15/18. So please
shout if anyone has objections.
Thanks.
Yongseok
---
>From c8e898dd55c22c6ad7c46cbda60b3463a4b0ce91 Mon Sep 17 00:00:00 2001
From: Radu Nicolau <radu.nicolau@intel.com>
Date: Tue, 31 Jul 2018 15:16:21 +0100
Subject: [PATCH] test: fix uninitialized port configuration
[ upstream commit f5929159465772a1284e9ea1b87462ef2ab90e94 ]
test_pmd_ring_pair_create_attach() uses an uninitialized
struct rte_eth_conf object
Fixes: 51f567129c94 ("app/test: add pmd_ring")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
test/test/test_pmd_ring.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/test/test_pmd_ring.c b/test/test/test_pmd_ring.c
index 2cdf60d10..8d5813cf0 100644
--- a/test/test/test_pmd_ring.c
+++ b/test/test/test_pmd_ring.c
@@ -247,6 +247,8 @@ test_pmd_ring_pair_create_attach(int portd, int porte)
struct rte_mbuf buf, *pbuf = &buf;
struct rte_eth_conf null_conf;
+ memset(&null_conf, 0, sizeof(struct rte_eth_conf));
+
if ((rte_eth_dev_configure(portd, 1, 1, &null_conf) < 0)
|| (rte_eth_dev_configure(porte, 1, 1, &null_conf) < 0)) {
printf("Configure failed for port\n");
--
2.11.0
next prev parent reply other threads:[~2018-08-13 20:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-13 20:37 [dpdk-stable] patch 'test: fix result printing' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'test: fix code on report' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'test: make autotest runner python 2/3 compliant' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'test: print autotest categories' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'test: improve filtering' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'mk: update targets for classified tests' " Yongseok Koh
2018-08-13 20:37 ` [dpdk-stable] patch 'mk: remove unnecessary test rules' " Yongseok Koh
2018-08-13 20:37 ` Yongseok Koh [this message]
2018-08-13 20:37 ` [dpdk-stable] patch 'app/testpmd: fix DCB config' " Yongseok Koh
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=20180813203749.25171-8-yskoh@mellanox.com \
--to=yskoh@mellanox.com \
--cc=bernard.iremonger@intel.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).