[dts] [PATCH] tests/l3fwd_base: fix typos

Tu, Lijuan lijuan.tu at intel.com
Thu Feb 13 02:19:42 CET 2020


Applied, thanks

> -----Original Message-----
> From: Tu, Lijuan
> Sent: Thursday, February 13, 2020 4:01 AM
> To: dts at dpdk.org
> Cc: Tu, Lijuan <lijuan.tu at intel.com>
> Subject: [dts] [PATCH] tests/l3fwd_base: fix typos
> 
> 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