[dts] [PATCH] tests/l3fwd_base: fix typos
Lijuan Tu
lijuan.tu at intel.com
Wed Feb 12 21:01:12 CET 2020
Signed-off-by: Lijuan Tu <lijuan.tu at 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
More information about the dts
mailing list