* [dts] [PATCH] tests/l3fwd_base: fix typos
@ 2020-02-12 20:01 Lijuan Tu
2020-02-13 1:19 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2020-02-12 20:01 UTC (permalink / raw)
To: dts; +Cc: Lijuan Tu
Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
---
tests/l3fwd_base.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 8ec2b7c..5d11ac7 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -232,13 +232,13 @@ class L3fwdBase(object):
stream_ids = []
step = int(len(streams) / len(self.__valports))
for cnt, stream in enumerate(streams):
- pkt, field_config = stream
+ pkt, fields_config = stream
index = cnt // step
txport, rxport = topos[index]
_option = deepcopy(option)
_option['pcap'] = pkt
- if field_config:
- _option['field_config'] = field_config
+ if fields_config:
+ _option['fields_config'] = fields_config
stream_id = self.tester.pktgen.add_stream(txport, rxport, pkt)
self.tester.pktgen.config_stream(stream_id, _option)
stream_ids.append(stream_id)
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] tests/l3fwd_base: fix typos
2020-02-12 20:01 [dts] [PATCH] tests/l3fwd_base: fix typos Lijuan Tu
@ 2020-02-13 1:19 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-02-13 1:19 UTC (permalink / raw)
To: dts
Applied, thanks
> -----Original Message-----
> From: Tu, Lijuan
> Sent: Thursday, February 13, 2020 4:01 AM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>
> Subject: [dts] [PATCH] tests/l3fwd_base: fix typos
>
> Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
> ---
> tests/l3fwd_base.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index
> 8ec2b7c..5d11ac7 100644
> --- a/tests/l3fwd_base.py
> +++ b/tests/l3fwd_base.py
> @@ -232,13 +232,13 @@ class L3fwdBase(object):
> stream_ids = []
> step = int(len(streams) / len(self.__valports))
> for cnt, stream in enumerate(streams):
> - pkt, field_config = stream
> + pkt, fields_config = stream
> index = cnt // step
> txport, rxport = topos[index]
> _option = deepcopy(option)
> _option['pcap'] = pkt
> - if field_config:
> - _option['field_config'] = field_config
> + if fields_config:
> + _option['fields_config'] = fields_config
> stream_id = self.tester.pktgen.add_stream(txport, rxport, pkt)
> self.tester.pktgen.config_stream(stream_id, _option)
> stream_ids.append(stream_id)
> --
> 1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-13 1:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 20:01 [dts] [PATCH] tests/l3fwd_base: fix typos Lijuan Tu
2020-02-13 1:19 ` Tu, Lijuan
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).