From: ohilyard@iol.unh.edu
To: dts@dpdk.org
Cc: ohilyard@iol.unh.edu, lijuan.tu@intel.com
Subject: [PATCH v2] tests/nic_single_core_perf: Initalize packet generator
Date: Mon, 24 Jan 2022 15:35:50 -0500 [thread overview]
Message-ID: <20220124203550.25865-1-ohilyard@iol.unh.edu> (raw)
In-Reply-To: <CAHx6DYCTvrOm=F118fQjcu_oP6GtWGaXdPASARvkVAPNkeS+yQ@mail.gmail.com>
From: Owen Hilyard <ohilyard@iol.unh.edu>
Call the initialization function for the packet generator to make sure
it is set up properly before trying to use it.
Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
---
framework/pktgen_trex.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/framework/pktgen_trex.py b/framework/pktgen_trex.py
index 2f537a0b..9f245dfd 100644
--- a/framework/pktgen_trex.py
+++ b/framework/pktgen_trex.py
@@ -791,6 +791,7 @@ class TrexPacketGenerator(PacketGenerator):
msg = 'no stream options for trex packet generator'
raise Exception(msg)
+ self._conn.connect()
self._conn.reset(ports=self._ports)
config_inst = TrexConfigStream()
for port_id, config in port_config.items():
--
2.30.2
next prev parent reply other threads:[~2022-01-24 20:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 16:30 [PATCH v1] " ohilyard
2022-01-18 18:11 ` Owen Hilyard
2022-01-24 20:35 ` ohilyard [this message]
2022-01-26 6:23 ` [PATCH v2] " Tu, Lijuan
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=20220124203550.25865-1-ohilyard@iol.unh.edu \
--to=ohilyard@iol.unh.edu \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
/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).