test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
  2020-06-15 16:08 [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter Zeng Xiaoxiao
@ 2020-06-15  8:32 ` Zeng, XiaoxiaoX
  2020-06-19  7:27 ` Lu, Nannan
  2020-06-19  8:23 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Zeng, XiaoxiaoX @ 2020-06-15  8:32 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 6233 bytes --]


Tested-by: : Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>


Best regards,
Zeng,xiaoxiao


> -----Original Message-----
> From: Zeng, XiaoxiaoX
> Sent: Tuesday, June 16, 2020 12:08 AM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH
> V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
> 
> *.Avoid that with different dpdk code, packet default queue same as queue
> that rule set.
> *.Realize dynamic set rule in testpmd.
> 
> 
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
> ---
>  tests/TestSuite_cvl_switch_filter.py | 81
> +++++++++++++++++++++++++++-
>  1 file changed, 80 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_cvl_switch_filter.py
> b/tests/TestSuite_cvl_switch_filter.py
> index ffd9af4..dc54fe7 100644
> --- a/tests/TestSuite_cvl_switch_filter.py
> +++ b/tests/TestSuite_cvl_switch_filter.py
> @@ -34,6 +34,8 @@ import json
>  import time
>  import re
>  import copy
> +import random
> +from itertools import groupby
> 
>  from test_case import TestCase
>  from pmd_output import PmdOutput
> @@ -2571,6 +2573,45 @@ class SwitchFilterTest(TestCase):
>          result_flag, log_msg = dic["check_func"]["func"](out,
> dic["check_func"]["param"], dic["expect_results"])
>          return result_flag, log_msg
> 
> +    def send_packet_get_queue(self, dic):
> +        """
> +        general packets processing workflow.
> +        """
> +        self.dut.send_expect("start", "testpmd> ")
> +        # send packets
> +        for per_packet in dic["scapy_str"]:
> +            pkt = Packet(pkt_str=per_packet)
> +            pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1)
> +        out = self.dut.send_expect("stop", "testpmd> ")
> +        p = re.compile(r"Forward Stats for RX Port= \d+/Queue=(\s?\d+)")
> +        res = p.findall(out)
> +        default_queue = [int(i) for i in res]
> +        return default_queue
> +
> +    def get_available_queue_num(self, default_queue, expect_queue,
> pmd_queue=8):
> +        """
> +        general packets processing workflow.
> +        """
> +        queue_list = list(range(1, pmd_queue))
> +        # check if expect_queue length is power of 2
> +        q_len = len(expect_queue)
> +        self.verify(q_len & (q_len - 1) == 0, "defualt_queue length is not power
> of 2!")
> +        for q in default_queue:
> +            if q in queue_list:
> +                queue_list.remove(q)
> +        # according to expect_queue length get available queue
> +        set_queue_list = []
> +        if q_len == 1:
> +            set_queue = random.choice(queue_list)
> +            set_queue_list.append(set_queue)
> +        else:
> +            fun = lambda x: x[1] - x[0]
> +            for k, g in groupby(enumerate(queue_list), fun):
> +                list_group = [j for i, j in g]
> +                if len(list_group) >= q_len:
> +                    set_queue_list = list_group[:q_len]
> +        return set_queue_list
> +
>      def save_results(self, pattern_name, flag, result_flag, log_msg,
> overall_result):
>          """
>          save results to dictionary: test_results.
> @@ -2598,10 +2639,48 @@ class SwitchFilterTest(TestCase):
>          overall_result = True
>          test_results.clear()
>          for tv in test_vectors:
> +            # get packet default_queue number
> +            mismatched_dic = tv["mismatched"]
> +            default_queue = self.send_packet_get_queue(mismatched_dic)
> +
> +            # check if default_queue same with expect_queue
> +            expect_queue =
> tv["mismatched"]["check_func"]["param"]["expect_queues"]
> +            if expect_queue != "null":
> +                if isinstance(expect_queue, int):
> +                    eq_list = []
> +                    eq_list.append(expect_queue)
> +                elif isinstance(expect_queue, list):
> +                    eq_list = expect_queue
> +                recover_flag = list(set(eq_list) & set(default_queue))
> +            else:
> +                recover_flag = None
> +
> +            # if default_queue has same one with expect_queue, recover rule
> +            if recover_flag:
> +                # exclude defult_queue number and get set_queue
> +                set_queue_list = self.get_available_queue_num(default_queue,
> eq_list)
> +                # recover rule command and check queue
> +                if isinstance(expect_queue, int):
> +                    rule_command = tv["rte_flow_pattern"].replace("/ end actions
> queue index %s" % str(expect_queue),
> +                                                                  "/ end actions queue index %s" %
> str(set_queue_list[0]))
> +                    tv["matched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list[0]
> +                    tv["mismatched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list[0]
> +                elif isinstance(expect_queue, list):
> +                    q = [str(i) for i in expect_queue]
> +                    expect_queue_str = " ".join(q)
> +                    s = [str(i) for i in set_queue_list]
> +                    set_queue_str = " ".join(s)
> +                    rule_command = tv["rte_flow_pattern"].replace("/ end actions
> rss queues %s" % expect_queue_str,
> +                                                                  "/ end actions rss queues %s" %
> set_queue_str)
> +                    tv["matched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list
> +                    tv["mismatched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list
> +            else:
> +                rule_command = tv["rte_flow_pattern"]
> +
>              pattern_name = tv["name"]
>              test_results[pattern_name] = OrderedDict()
> 
> -            out = self.dut.send_expect(tv["rte_flow_pattern"], "testpmd> ", 15)
> #create a rule
> +            out = self.dut.send_expect(rule_command, "testpmd> ", 15)  #create
> a rule
>              #get the rule number
>              rule_num = self.get_rule_number(out)
> 
> --
> 2.17.1


[-- Attachment #2: SwitchFilterTest.log --]
[-- Type: application/octet-stream, Size: 142687 bytes --]

15/06/2020 14:34:26                            dts: 
TEST SUITE : SwitchFilterTest
15/06/2020 14:34:26                            dts: NIC :        columbiaville_100g
15/06/2020 14:34:27             dut.10.240.183.156: 
15/06/2020 14:34:27                         tester: 
15/06/2020 14:34:27             dut.10.240.183.156: scp -v dep/testpmd_cmds_rte_flow_fdir_rules root@10.240.183.156:/tmp
15/06/2020 14:34:28               SwitchFilterTest: Test Case test_mac_ipv4_vxlan_mac_ipv4_udp_pay Begin
15/06/2020 14:34:28             dut.10.240.183.156: 
15/06/2020 14:34:28                         tester: 
15/06/2020 14:34:28             dut.10.240.183.156: kill_all: called by dut and has no prefix list.
15/06/2020 14:34:29             dut.10.240.183.156: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:06:00.0  --file-prefix=dpdk_27825_20200615143410   --log-level="ice,8" -- -i --rxq=8 --txq=8 
15/06/2020 14:34:30             dut.10.240.183.156: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_27825_20200615143410/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:06:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1592 net_ice
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
ice_alloc_dma_mem(): memzone ice_dma_12235671619800715988 allocated with physical address: 4298823360
ice_alloc_dma_mem(): memzone ice_dma_5078524616976469326 allocated with physical address: 4298817728
ice_alloc_dma_mem(): memzone ice_dma_17008731865649969879 allocated with physical address: 4298813504
ice_alloc_dma_mem(): memzone ice_dma_16849238042610112397 allocated with physical address: 4298809280
ice_alloc_dma_mem(): memzone ice_dma_17084745660815072353 allocated with physical address: 4298805056
ice_alloc_dma_mem(): memzone ice_dma_14834257325534246059 allocated with physical address: 4298800832
ice_alloc_dma_mem(): memzone ice_dma_16015598547345023576 allocated with physical address: 4298796608
ice_alloc_dma_mem(): memzone ice_dma_2644373285791532277 allocated with physical address: 4298792384
ice_alloc_dma_mem(): memzone ice_dma_8281486395932279999 allocated with physical address: 4298788160
ice_alloc_dma_mem(): memzone ice_dma_11428622466191507354 allocated with physical address: 4298783936
ice_alloc_dma_mem(): memzone ice_dma_8876408876777451979 allocated with physical address: 4298779712
ice_alloc_dma_mem(): memzone ice_dma_18320935902680657420 allocated with physical address: 4298775488
ice_alloc_dma_mem(): memzone ice_dma_8435533451348593672 allocated with physical address: 4298771264
ice_alloc_dma_mem(): memzone ice_dma_8232414056175544293 allocated with physical address: 4298767040
ice_alloc_dma_mem(): memzone ice_dma_10750357121386361754 allocated with physical address: 4298762816
ice_alloc_dma_mem(): memzone ice_dma_14000284564524278289 allocated with physical address: 4298758592
ice_alloc_dma_mem(): memzone ice_dma_6075452410087479614 allocated with physical address: 4298754368
ice_alloc_dma_mem(): memzone ice_dma_7661352632224052010 allocated with physical address: 4298750144
ice_alloc_dma_mem(): memzone ice_dma_12776623732173464166 allocated with physical address: 4298745920
ice_alloc_dma_mem(): memzone ice_dma_15736785918904156126 allocated with physical address: 4298741696
ice_alloc_dma_mem(): memzone ice_dma_2234234917256250233 allocated with physical address: 4298737472
ice_alloc_dma_mem(): memzone ice_dma_7073964067323483647 allocated with physical address: 4298733248
ice_alloc_dma_mem(): memzone ice_dma_15338552036809926697 allocated with physical address: 4298729024
ice_alloc_dma_mem(): memzone ice_dma_88702042769917085 allocated with physical address: 4298724800
ice_alloc_dma_mem(): memzone ice_dma_1496174969498895765 allocated with physical address: 4298720576
ice_alloc_dma_mem(): memzone ice_dma_17584132320666949281 allocated with physical address: 4298716352
ice_alloc_dma_mem(): memzone ice_dma_18441554561768235346 allocated with physical address: 4298712128
ice_alloc_dma_mem(): memzone ice_dma_7167676559778028935 allocated with physical address: 4298707904
ice_alloc_dma_mem(): memzone ice_dma_5101246196685941888 allocated with physical address: 4298703680
ice_alloc_dma_mem(): memzone ice_dma_4229288287971879019 allocated with physical address: 4298699456
ice_alloc_dma_mem(): memzone ice_dma_12078172054115943099 allocated with physical address: 4298695232
ice_alloc_dma_mem(): memzone ice_dma_5776101542343044483 allocated with physical address: 4298691008
ice_alloc_dma_mem(): memzone ice_dma_191969030754695592 allocated with physical address: 4298686784
ice_alloc_dma_mem(): memzone ice_dma_10946229836542790293 allocated with physical address: 4298685632
ice_alloc_dma_mem(): memzone ice_dma_1602916554576504972 allocated with physical address: 4298680384
ice_alloc_dma_mem(): memzone ice_dma_6951664472872490867 allocated with physical address: 4298676160
ice_alloc_dma_mem(): memzone ice_dma_11691751373064906012 allocated with physical address: 4298671936
ice_alloc_dma_mem(): memzone ice_dma_3991163111476897793 allocated with physical address: 4298667712
ice_alloc_dma_mem(): memzone ice_dma_2497856261648354669 allocated with physical address: 4298663488
ice_alloc_dma_mem(): memzone ice_dma_6967403193221496593 allocated with physical address: 4298659264
ice_alloc_dma_mem(): memzone ice_dma_9325517139936654783 allocated with physical address: 4298655040
ice_alloc_dma_mem(): memzone ice_dma_15647130360262771484 allocated with physical address: 4298650816
ice_alloc_dma_mem(): memzone ice_dma_10586001779350138160 allocated with physical address: 4298646592
ice_alloc_dma_mem(): memzone ice_dma_641042915211829783 allocated with physical address: 4298642368
ice_alloc_dma_mem(): memzone ice_dma_16910389257008901172 allocated with physical address: 4298638144
ice_alloc_dma_mem(): memzone ice_dma_7152796012297029989 allocated with physical address: 4298633920
ice_alloc_dma_mem(): memzone ice_dma_4164665518751914583 allocated with physical address: 4298629696
ice_alloc_dma_mem(): memzone ice_dma_14083109584179226737 allocated with physical address: 4298625472
ice_alloc_dma_mem(): memzone ice_dma_4949059451522947253 allocated with physical address: 4298621248
ice_alloc_dma_mem(): memzone ice_dma_6967682604760811102 allocated with physical address: 4298617024
ice_alloc_dma_mem(): memzone ice_dma_6619606012509446080 allocated with physical address: 4298612800
ice_alloc_dma_mem(): memzone ice_dma_11869125554769072929 allocated with physical address: 4298608576
ice_alloc_dma_mem(): memzone ice_dma_5005962210298628688 allocated with physical address: 4298604352
ice_alloc_dma_mem(): memzone ice_dma_1178835421850570965 allocated with physical address: 4298600128
ice_alloc_dma_mem(): memzone ice_dma_3426964422504831624 allocated with physical address: 4298595904
ice_alloc_dma_mem(): memzone ice_dma_17786711703854100124 allocated with physical address: 4298591680
ice_alloc_dma_mem(): memzone ice_dma_10721347847305688841 allocated with physical address: 4298587456
ice_alloc_dma_mem(): memzone ice_dma_9926013238036460982 allocated with physical address: 4298583232
ice_alloc_dma_mem(): memzone ice_dma_9670537995110516906 allocated with physical address: 4298579008
ice_alloc_dma_mem(): memzone ice_dma_814748020822662304 allocated with physical address: 4298574784
ice_alloc_dma_mem(): memzone ice_dma_14039847131534688636 allocated with physical address: 4298570560
ice_alloc_dma_mem(): memzone ice_dma_9260399434242859571 allocated with physical address: 4298566336
ice_alloc_dma_mem(): memzone ice_dma_13155535464813669533 allocated with physical address: 4298562112
ice_alloc_dma_mem(): memzone ice_dma_14121044731720823717 allocated with physical address: 4298557888
ice_alloc_dma_mem(): memzone ice_dma_2517016884266478745 allocated with physical address: 4298553664
ice_alloc_dma_mem(): memzone ice_dma_967798968143080781 allocated with physical address: 4298549440
ice_alloc_dma_mem(): memzone ice_dma_9954818949961934380 allocated with physical address: 4298548288
ice_alloc_dma_mem(): memzone ice_dma_1169655234464781506 allocated with physical address: 4298542656
ice_alloc_dma_mem(): memzone ice_dma_7892535567644802744 allocated with physical address: 4298538432
ice_alloc_dma_mem(): memzone ice_dma_437647705601872428 allocated with physical address: 4298534208
ice_alloc_dma_mem(): memzone ice_dma_16697975958797687626 allocated with physical address: 4298529984
ice_alloc_dma_mem(): memzone ice_dma_13258660393954649414 allocated with physical address: 4298525760
ice_alloc_dma_mem(): memzone ice_dma_18103970449248378172 allocated with physical address: 4298521536
ice_alloc_dma_mem(): memzone ice_dma_2532725267704737735 allocated with physical address: 4298517312
ice_alloc_dma_mem(): memzone ice_dma_12508612712928294446 allocated with physical address: 4298513088
ice_alloc_dma_mem(): memzone ice_dma_14331680083661220680 allocated with physical address: 4298508864
ice_alloc_dma_mem(): memzone ice_dma_8204828817569610177 allocated with physical address: 4298504640
ice_alloc_dma_mem(): memzone ice_dma_18390809496702208212 allocated with physical address: 4298500416
ice_alloc_dma_mem(): memzone ice_dma_17162581743611438054 allocated with physical address: 4298496192
ice_alloc_dma_mem(): memzone ice_dma_7970813959361285366 allocated with physical address: 4298491968
ice_alloc_dma_mem(): memzone ice_dma_5090962549838765246 allocated with physical address: 4298487744
ice_alloc_dma_mem(): memzone ice_dma_252342098806147278 allocated with physical address: 4298483520
ice_alloc_dma_mem(): memzone ice_dma_7560753356181580548 allocated with physical address: 4298479296
ice_alloc_dma_mem(): memzone ice_dma_9214736701751206037 allocated with physical address: 4298475072
ice_alloc_dma_mem(): memzone ice_dma_2642655861754829165 allocated with physical address: 4298470848
ice_alloc_dma_mem(): memzone ice_dma_9664506138479880606 allocated with physical address: 4298466624
ice_alloc_dma_mem(): memzone ice_dma_12571764052345006918 allocated with physical address: 4298462400
ice_alloc_dma_mem(): memzone ice_dma_9204643908539753148 allocated with physical address: 4298458176
ice_alloc_dma_mem(): memzone ice_dma_3779648100116672621 allocated with physical address: 4298453952
ice_alloc_dma_mem(): memzone ice_dma_13576657937062431054 allocated with physical address: 4298449728
ice_alloc_dma_mem(): memzone ice_dma_12956876072272897052 allocated with physical address: 4298445504
ice_alloc_dma_mem(): memzone ice_dma_10306538835907397785 allocated with physical address: 4298441280
ice_alloc_dma_mem(): memzone ice_dma_2112821500099922779 allocated with physical address: 4298437056
ice_alloc_dma_mem(): memzone ice_dma_6037213541422356440 allocated with physical address: 4298432832
ice_alloc_dma_mem(): memzone ice_dma_3327012222044923864 allocated with physical address: 4298428608
ice_alloc_dma_mem(): memzone ice_dma_5268283375627742457 allocated with physical address: 4298424384
ice_alloc_dma_mem(): memzone ice_dma_17484068237022476941 allocated with physical address: 4298420160
ice_alloc_dma_mem(): memzone ice_dma_8982196630941726949 allocated with physical address: 4298415936
ice_alloc_dma_mem(): memzone ice_dma_15198171084714600543 allocated with physical address: 4298411712
ice_alloc_dma_mem(): memzone ice_dma_2634210402526374683 allocated with physical address: 4298410560
ice_alloc_dma_mem(): memzone ice_dma_2433104724820298646 allocated with physical address: 4298405312
ice_alloc_dma_mem(): memzone ice_dma_14946695645218031100 allocated with physical address: 4298401088
ice_alloc_dma_mem(): memzone ice_dma_1639990248483322778 allocated with physical address: 4298396864
ice_alloc_dma_mem(): memzone ice_dma_18241898654080150378 allocated with physical address: 4298392640
ice_alloc_dma_mem(): memzone ice_dma_9599835785368866723 allocated with physical address: 4298388416
ice_alloc_dma_mem(): memzone ice_dma_1704533386748004970 allocated with physical address: 4298384192
ice_alloc_dma_mem(): memzone ice_dma_6365190208198232436 allocated with physical address: 4298379968
ice_alloc_dma_mem(): memzone ice_dma_18308130617648190254 allocated with physical address: 4298375744
ice_alloc_dma_mem(): memzone ice_dma_12410563170133521278 allocated with physical address: 4298371520
ice_alloc_dma_mem(): memzone ice_dma_6920677900477621813 allocated with physical address: 4298367296
ice_alloc_dma_mem(): memzone ice_dma_11006549024530209676 allocated with physical address: 4298363072
ice_alloc_dma_mem(): memzone ice_dma_17102178594899980684 allocated with physical address: 4298358848
ice_alloc_dma_mem(): memzone ice_dma_2972803475024389774 allocated with physical address: 4298354624
ice_alloc_dma_mem(): memzone ice_dma_15791990586329966706 allocated with physical address: 4298350400
ice_alloc_dma_mem(): memzone ice_dma_12359390052253547401 allocated with physical address: 4298346176
ice_alloc_dma_mem(): memzone ice_dma_15508339770868060420 allocated with physical address: 4298341952
ice_alloc_dma_mem(): memzone ice_dma_16405648531444390942 allocated with physical address: 4298337728
ice_alloc_dma_mem(): memzone ice_dma_3585620421334027904 allocated with physical address: 4298333504
ice_alloc_dma_mem(): memzone ice_dma_307495746257833635 allocated with physical address: 4298329280
ice_alloc_dma_mem(): memzone ice_dma_11721922296092728400 allocated with physical address: 4298325056
ice_alloc_dma_mem(): memzone ice_dma_7067973487238552160 allocated with physical address: 4298320832
ice_alloc_dma_mem(): memzone ice_dma_16616076059181196387 allocated with physical address: 4298316608
ice_alloc_dma_mem(): memzone ice_dma_4496372004300885288 allocated with physical address: 4298312384
ice_alloc_dma_mem(): memzone ice_dma_7307263852216913177 allocated with physical address: 4298308160
ice_alloc_dma_mem(): memzone ice_dma_15319967802609867903 allocated with physical address: 4298303936
ice_alloc_dma_mem(): memzone ice_dma_8803089424118468743 allocated with physical address: 4298299712
ice_alloc_dma_mem(): memzone ice_dma_2003862640216987399 allocated with physical address: 4298295488
ice_alloc_dma_mem(): memzone ice_dma_17540613200457240896 allocated with physical address: 4298291264
ice_alloc_dma_mem(): memzone ice_dma_3547710188575317134 allocated with physical address: 4298287040
ice_alloc_dma_mem(): memzone ice_dma_16325398547025895261 allocated with physical address: 4298282816
ice_alloc_dma_mem(): memzone ice_dma_7096348045763671195 allocated with physical address: 4298278592
ice_alloc_dma_mem(): memzone ice_dma_10028661792799237143 allocated with physical address: 4298274368
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
ice_dev_init(): FW 4.1.577015759 API 1.5
ice_dev_init(): lldp has already stopped

ice_dev_init(): Failed to init DCB

ice_fdir_setup(): FDIR HW Capabilities: fd_fltr_guar = 1024, fd_fltr_best_effort = 14336.
ice_fdir_tx_queue_start():  >>
ice_fdir_rx_queue_start():  >>
__vsi_queues_bind_intr(): queue 0 is binding to vect 65
ice_fdir_setup(): FDIR setup successfully, with programming queue 0.
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 0)
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 0.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 1.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 2.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 3.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 4.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 5.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 6.
ice_set_tx_function_flag(): Simple Tx can be enabled on Tx queue 7.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=0.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=1.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=2.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=3.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=4.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=5.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=6.
ice_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=7.
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_tx_queue_start():  >>
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (0) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (1) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (2) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (3) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (4) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (5) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (6) is set with RXDID : 16
ice_rx_queue_start():  >>
ice_program_hw_rx_queue(): Port (0) - Rx queue (7) is set with RXDID : 16
ice_set_rx_function():  >>
ice_set_rx_function(): Using avx2 Vector Rx (port 0).
ice_set_tx_function(): Using avx2 Vector Tx (port 0).
__vsi_queues_bind_intr(): queue 1 is binding to vect 1
__vsi_queues_bind_intr(): queue 2 is binding to vect 1
__vsi_queues_bind_intr(): queue 3 is binding to vect 1
__vsi_queues_bind_intr(): queue 4 is binding to vect 1
__vsi_queues_bind_intr(): queue 5 is binding to vect 1
__vsi_queues_bind_intr(): queue 6 is binding to vect 1
__vsi_queues_bind_intr(): queue 7 is binding to vect 1
__vsi_queues_bind_intr(): queue 8 is binding to vect 1
Port 0: 68:05:CA:A3:1B:28
Checking link statuses...
Done
15/06/2020 14:34:30             dut.10.240.183.156: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
15/06/2020 14:34:30             dut.10.240.183.156: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
15/06/2020 14:34:30             dut.10.240.183.156: rx_vxlan_port add 4789 0
15/06/2020 14:34:30             dut.10.240.183.156: rx_vxlan_port add 4789 0
15/06/2020 14:34:30             dut.10.240.183.156: set fwd rxonly
15/06/2020 14:34:30             dut.10.240.183.156: set fwd rxonly
Set rxonly packet forwarding mode
15/06/2020 14:34:30             dut.10.240.183.156: set verbose 1
15/06/2020 14:34:30             dut.10.240.183.156: set verbose 1
Change verbose level from 0 to 1
15/06/2020 14:34:32             dut.10.240.183.156: start
15/06/2020 14:34:32             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            0
ice_update_vsi_stats(): rx_unicast:          0
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	0
ice_stats_get(): rx_unicast:	0
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	0
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:34:32                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231672.7003803 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:34                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231672.7003803 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:36                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231672.7003803
15/06/2020 14:34:37                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:34:37                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231677.547445 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:39                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231677.547445 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:41                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231677.547445
15/06/2020 14:34:42                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:34:42             dut.10.240.183.156: stop
15/06/2020 14:34:42             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            344
ice_update_vsi_stats(): rx_unicast:          2
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	344
ice_stats_get(): rx_unicast:	2
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	2
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:34:42             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions queue index 1 / end
15/06/2020 14:34:42             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions queue index 1 / end
ice_flow_create(): Succeeded to create (2) flow
Flow rule #0 created
15/06/2020 14:34:42             dut.10.240.183.156: flow list 0
15/06/2020 14:34:42             dut.10.240.183.156: flow list 0
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 UDP VXLAN ETH IPV4 UDP => QUEUE
15/06/2020 14:34:42             dut.10.240.183.156: start
15/06/2020 14:34:42             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            344
ice_update_vsi_stats(): rx_unicast:          2
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	344
ice_stats_get(): rx_unicast:	2
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	2
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:34:44                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231684.54095 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:46                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231684.54095 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:48                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231684.54095
15/06/2020 14:34:49                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:34:49             dut.10.240.183.156: stop
15/06/2020 14:34:49             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            516
ice_update_vsi_stats(): rx_unicast:          3
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	516
ice_stats_get(): rx_unicast:	3
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	3
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:34:49             dut.10.240.183.156: start
15/06/2020 14:34:49             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            516
ice_update_vsi_stats(): rx_unicast:          3
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	516
ice_stats_get(): rx_unicast:	3
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	3
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:34:51                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231691.7168267 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:53                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231691.7168267 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:55                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231691.7168267
15/06/2020 14:34:56                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:34:56                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231696.793532 root@10.240.183.104:/tmp/tester/
15/06/2020 14:34:58                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231696.793532 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:00                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231696.793532
15/06/2020 14:35:01                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:01             dut.10.240.183.156: stop
15/06/2020 14:35:01             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            860
ice_update_vsi_stats(): rx_unicast:          5
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	860
ice_stats_get(): rx_unicast:	5
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	5
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:01             dut.10.240.183.156: flow destroy 0 rule 0
15/06/2020 14:35:01             dut.10.240.183.156: flow destroy 0 rule 0
Flow rule #0 destroyed
15/06/2020 14:35:01             dut.10.240.183.156: flow list 0
15/06/2020 14:35:01             dut.10.240.183.156: flow list 0
15/06/2020 14:35:01             dut.10.240.183.156: start
15/06/2020 14:35:01             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            860
ice_update_vsi_stats(): rx_unicast:          5
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	860
ice_stats_get(): rx_unicast:	5
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	5
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:03                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231703.9516351 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:05                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231703.9516351 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:07                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231703.9516351
15/06/2020 14:35:09                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:09             dut.10.240.183.156: stop
15/06/2020 14:35:09             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1032
ice_update_vsi_stats(): rx_unicast:          6
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1032
ice_stats_get(): rx_unicast:	6
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	6
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:09             dut.10.240.183.156: start
15/06/2020 14:35:09             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1032
ice_update_vsi_stats(): rx_unicast:          6
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1032
ice_stats_get(): rx_unicast:	6
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	6
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:09                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231709.1783426 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:11                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231709.1783426 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:13                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231709.1783426
15/06/2020 14:35:14                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:14                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231714.1390948 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:16                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231714.1390948 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:18                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231714.1390948
15/06/2020 14:35:18                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:18             dut.10.240.183.156: stop
15/06/2020 14:35:19             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1376
ice_update_vsi_stats(): rx_unicast:          8
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1376
ice_stats_get(): rx_unicast:	8
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	8
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:19             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions rss queues 5 6 end / end
15/06/2020 14:35:19             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions rss queues 5 6 end / end
ice_flow_create(): Succeeded to create (2) flow
Flow rule #0 created
15/06/2020 14:35:19             dut.10.240.183.156: flow list 0
15/06/2020 14:35:19             dut.10.240.183.156: flow list 0
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 UDP VXLAN ETH IPV4 UDP => RSS
15/06/2020 14:35:19             dut.10.240.183.156: start
15/06/2020 14:35:19             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1376
ice_update_vsi_stats(): rx_unicast:          8
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1376
ice_stats_get(): rx_unicast:	8
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	8
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:21                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231721.2825809 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:23                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231721.2825809 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:25                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231721.2825809
15/06/2020 14:35:26                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:26             dut.10.240.183.156: stop
15/06/2020 14:35:26             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 5 -> TX Port= 0/Queue= 5 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1548
ice_update_vsi_stats(): rx_unicast:          9
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1548
ice_stats_get(): rx_unicast:	9
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	9
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:26             dut.10.240.183.156: start
15/06/2020 14:35:26             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1548
ice_update_vsi_stats(): rx_unicast:          9
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1548
ice_stats_get(): rx_unicast:	9
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	9
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:28                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231728.346126 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:30                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231728.346126 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:32                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231728.346126
15/06/2020 14:35:33                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:33                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231733.3379822 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:35                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231733.3379822 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:37                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231733.3379822
15/06/2020 14:35:38                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:38             dut.10.240.183.156: stop
15/06/2020 14:35:38             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1892
ice_update_vsi_stats(): rx_unicast:          11
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1892
ice_stats_get(): rx_unicast:	11
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	11
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:38             dut.10.240.183.156: flow destroy 0 rule 0
15/06/2020 14:35:38             dut.10.240.183.156: flow destroy 0 rule 0
Flow rule #0 destroyed
15/06/2020 14:35:38             dut.10.240.183.156: flow list 0
15/06/2020 14:35:38             dut.10.240.183.156: flow list 0
15/06/2020 14:35:38             dut.10.240.183.156: start
15/06/2020 14:35:38             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            1892
ice_update_vsi_stats(): rx_unicast:          11
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	1892
ice_stats_get(): rx_unicast:	11
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	11
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:40                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231740.4635804 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:42                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231740.4635804 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:44                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231740.4635804
15/06/2020 14:35:45                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:45             dut.10.240.183.156: stop
15/06/2020 14:35:45             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2064
ice_update_vsi_stats(): rx_unicast:          12
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2064
ice_stats_get(): rx_unicast:	12
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	12
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:45             dut.10.240.183.156: start
15/06/2020 14:35:45             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2064
ice_update_vsi_stats(): rx_unicast:          12
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2064
ice_stats_get(): rx_unicast:	12
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	12
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:45                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231745.5426676 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:47                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231745.5426676 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:49                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231745.5426676
15/06/2020 14:35:50                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:50                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231750.4930387 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:52                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231750.4930387 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:54                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231750.4930387
15/06/2020 14:35:55                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:35:55             dut.10.240.183.156: stop
15/06/2020 14:35:55             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2408
ice_update_vsi_stats(): rx_unicast:          14
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2408
ice_stats_get(): rx_unicast:	14
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	14
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:35:55             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions drop / end
15/06/2020 14:35:55             dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8  / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions drop / end
ice_flow_create(): Succeeded to create (2) flow
Flow rule #0 created
15/06/2020 14:35:55             dut.10.240.183.156: flow list 0
15/06/2020 14:35:55             dut.10.240.183.156: flow list 0
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 UDP VXLAN ETH IPV4 UDP => DROP
15/06/2020 14:35:55             dut.10.240.183.156: start
15/06/2020 14:35:55             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2408
ice_update_vsi_stats(): rx_unicast:          14
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2408
ice_stats_get(): rx_unicast:	14
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  0
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	14
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:35:57                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231757.6914356 root@10.240.183.104:/tmp/tester/
15/06/2020 14:35:59                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231757.6914356 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:01                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231757.6914356
15/06/2020 14:36:02                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:36:02             dut.10.240.183.156: stop
15/06/2020 14:36:02             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2408
ice_update_vsi_stats(): rx_unicast:          14
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2580
ice_stats_get(): rx_unicast:	15
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  1
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	15
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:36:02             dut.10.240.183.156: start
15/06/2020 14:36:02             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2408
ice_update_vsi_stats(): rx_unicast:          14
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2580
ice_stats_get(): rx_unicast:	15
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  1
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	15
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:36:04                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231764.7077591 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:06                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231764.7077591 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:08                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231764.7077591
15/06/2020 14:36:09                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=20, dport=23, len=88, chksum=43754)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:36:09                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231769.6264246 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:11                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231769.6264246 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:13                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231769.6264246
15/06/2020 14:36:14                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=29, len=88, chksum=43718)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:36:14             dut.10.240.183.156: stop
15/06/2020 14:36:14             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 2              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2752
ice_update_vsi_stats(): rx_unicast:          16
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2924
ice_stats_get(): rx_unicast:	17
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  1
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	17
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 2              RX-dropped: 0             RX-total: 2
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:36:14             dut.10.240.183.156: flow destroy 0 rule 0
15/06/2020 14:36:14             dut.10.240.183.156: flow destroy 0 rule 0
Flow rule #0 destroyed
15/06/2020 14:36:14             dut.10.240.183.156: flow list 0
15/06/2020 14:36:14             dut.10.240.183.156: flow list 0
15/06/2020 14:36:14             dut.10.240.183.156: start
15/06/2020 14:36:14             dut.10.240.183.156: start
rxonly packet forwarding - ports=1 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 8 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 8 Tx queue number: 8
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2752
ice_update_vsi_stats(): rx_unicast:          16
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	2924
ice_stats_get(): rx_unicast:	17
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  1
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	17
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************
15/06/2020 14:36:16                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.pcap1592231776.7954655 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:18                         tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens7.cmd1592231776.7954655 root@10.240.183.104:/tmp/tester/
15/06/2020 14:36:20                         tester: python3 /tmp/tester/scapy_ens7.cmd1592231776.7954655
15/06/2020 14:36:21                         tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=158, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63308, src='10.240.183.104', dst='192.168.0.1')/UDP(sport=4789, dport=4789, len=138, chksum=52719)/VXLAN(flags=12, reserved0=0, NextProtocol=3, reserved1=None, gpflags=None, gpid=None, vni=2, reserved2=0)/Ether(dst='68:05:ca:8d:ed:a8', src='52:54:00:e2:80:c8', type=2048)/IP(version=4, ihl=5, tos=0, len=108, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=63786, src='192.168.0.2', dst='192.168.0.3')/UDP(sport=50, dport=23, len=88, chksum=43724)/Raw(load=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
15/06/2020 14:36:21             dut.10.240.183.156: stop
15/06/2020 14:36:21             dut.10.240.183.156: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             
ice_update_vsi_stats(): ************** VSI[6] stats start **************
ice_update_vsi_stats(): rx_bytes:            2924
ice_update_vsi_stats(): rx_unicast:          17
ice_update_vsi_stats(): rx_multicast:        0
ice_update_vsi_stats(): rx_broadcast:        0
ice_update_vsi_stats(): rx_discards:         0
ice_update_vsi_stats(): rx_unknown_protocol: 0
ice_update_vsi_stats(): tx_bytes:            0
ice_update_vsi_stats(): tx_unicast:          0
ice_update_vsi_stats(): tx_multicast:        0
ice_update_vsi_stats(): tx_broadcast:        0
ice_update_vsi_stats(): tx_discards:         0
ice_update_vsi_stats(): tx_errors:           0
ice_update_vsi_stats(): ************** VSI[6] stats end ****************
ice_stats_get(): *************** PF stats start *****************
ice_stats_get(): rx_bytes:	3096
ice_stats_get(): rx_unicast:	18
ice_stats_get(): rx_multicast:0
ice_stats_get(): rx_broadcast:0
ice_stats_get(): rx_discards:0
ice_stats_get(): vsi rx_discards:0
ice_stats_get(): rx_unknown_protocol:  1
ice_stats_get(): tx_bytes:	0
ice_stats_get(): tx_unicast:	0
ice_stats_get(): tx_multicast:0
ice_stats_get(): tx_broadcast:0
ice_stats_get(): tx_discards:0
ice_stats_get(): vsi tx_discards:0
ice_stats_get(): tx_errors:		0
ice_stats_get(): tx_dropped_link_down:	0
ice_stats_get(): crc_errors:	0
ice_stats_get(): illegal_bytes:	0
ice_stats_get(): error_bytes:	0
ice_stats_get(): mac_local_faults:	0
ice_stats_get(): mac_remote_faults:	0
ice_stats_get(): link_xon_rx:	0
ice_stats_get(): link_xoff_rx:	0
ice_stats_get(): link_xon_tx:	0
ice_stats_get(): link_xoff_tx:	0
ice_stats_get(): rx_size_64:		0
ice_stats_get(): rx_size_127:	0
ice_stats_get(): rx_size_255:	18
ice_stats_get(): rx_size_511:	0
ice_stats_get(): rx_size_1023:	0
ice_stats_get(): rx_size_1522:	0
ice_stats_get(): rx_size_big:	0
ice_stats_get(): rx_undersize:	0
ice_stats_get(): rx_fragments:	0
ice_stats_get(): rx_oversize:	0
ice_stats_get(): rx_jabber:		0
ice_stats_get(): tx_size_64:		0
ice_stats_get(): tx_size_127:	0
ice_stats_get(): tx_size_255:	0
ice_stats_get(): tx_size_511:	0
ice_stats_get(): tx_size_1023:	0
ice_stats_get(): tx_size_1522:	0
ice_stats_get(): tx_size_big:	0
ice_stats_get(): rx_len_errors:	0
ice_stats_get(): ************* PF stats end ****************

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
15/06/2020 14:36:21             dut.10.240.183.156: flow flush 0
15/06/2020 14:36:21             dut.10.240.183.156: flow flush 0
15/06/2020 14:36:21             dut.10.240.183.156: flow list 0
15/06/2020 14:36:21             dut.10.240.183.156: flow list 0
15/06/2020 14:36:21             dut.10.240.183.156: quit
15/06/2020 14:36:22             dut.10.240.183.156: quit

Stopping port 0...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
_ice_tx_queue_release_mbufs(): Pointer to txq or sw_ring is NULL
_ice_rx_queue_release_mbufs(): Pointer to sw_ring is NULL
_ice_tx_queue_release_mbufs(): Pointer to txq or sw_ring is NULL
_ice_rx_queue_release_mbufs(): Pointer to sw_ring is NULL
ice_free_queues():  >>
ice_free_dma_mem(): memzone ice_dma_5078524616976469326 to be freed with physical address: 4298817728
ice_free_dma_mem(): memzone ice_dma_17008731865649969879 to be freed with physical address: 4298813504
ice_free_dma_mem(): memzone ice_dma_16849238042610112397 to be freed with physical address: 4298809280
ice_free_dma_mem(): memzone ice_dma_17084745660815072353 to be freed with physical address: 4298805056
ice_free_dma_mem(): memzone ice_dma_14834257325534246059 to be freed with physical address: 4298800832
ice_free_dma_mem(): memzone ice_dma_16015598547345023576 to be freed with physical address: 4298796608
ice_free_dma_mem(): memzone ice_dma_2644373285791532277 to be freed with physical address: 4298792384
ice_free_dma_mem(): memzone ice_dma_8281486395932279999 to be freed with physical address: 4298788160
ice_free_dma_mem(): memzone ice_dma_11428622466191507354 to be freed with physical address: 4298783936
ice_free_dma_mem(): memzone ice_dma_8876408876777451979 to be freed with physical address: 4298779712
ice_free_dma_mem(): memzone ice_dma_18320935902680657420 to be freed with physical address: 4298775488
ice_free_dma_mem(): memzone ice_dma_8435533451348593672 to be freed with physical address: 4298771264
ice_free_dma_mem(): memzone ice_dma_8232414056175544293 to be freed with physical address: 4298767040
ice_free_dma_mem(): memzone ice_dma_10750357121386361754 to be freed with physical address: 4298762816
ice_free_dma_mem(): memzone ice_dma_14000284564524278289 to be freed with physical address: 4298758592
ice_free_dma_mem(): memzone ice_dma_6075452410087479614 to be freed with physical address: 4298754368
ice_free_dma_mem(): memzone ice_dma_7661352632224052010 to be freed with physical address: 4298750144
ice_free_dma_mem(): memzone ice_dma_12776623732173464166 to be freed with physical address: 4298745920
ice_free_dma_mem(): memzone ice_dma_15736785918904156126 to be freed with physical address: 4298741696
ice_free_dma_mem(): memzone ice_dma_2234234917256250233 to be freed with physical address: 4298737472
ice_free_dma_mem(): memzone ice_dma_7073964067323483647 to be freed with physical address: 4298733248
ice_free_dma_mem(): memzone ice_dma_15338552036809926697 to be freed with physical address: 4298729024
ice_free_dma_mem(): memzone ice_dma_88702042769917085 to be freed with physical address: 4298724800
ice_free_dma_mem(): memzone ice_dma_1496174969498895765 to be freed with physical address: 4298720576
ice_free_dma_mem(): memzone ice_dma_17584132320666949281 to be freed with physical address: 4298716352
ice_free_dma_mem(): memzone ice_dma_18441554561768235346 to be freed with physical address: 4298712128
ice_free_dma_mem(): memzone ice_dma_7167676559778028935 to be freed with physical address: 4298707904
ice_free_dma_mem(): memzone ice_dma_5101246196685941888 to be freed with physical address: 4298703680
ice_free_dma_mem(): memzone ice_dma_4229288287971879019 to be freed with physical address: 4298699456
ice_free_dma_mem(): memzone ice_dma_12078172054115943099 to be freed with physical address: 4298695232
ice_free_dma_mem(): memzone ice_dma_5776101542343044483 to be freed with physical address: 4298691008
ice_free_dma_mem(): memzone ice_dma_191969030754695592 to be freed with physical address: 4298686784
ice_free_dma_mem(): memzone ice_dma_12235671619800715988 to be freed with physical address: 4298823360
ice_free_dma_mem(): memzone ice_dma_1602916554576504972 to be freed with physical address: 4298680384
ice_free_dma_mem(): memzone ice_dma_6951664472872490867 to be freed with physical address: 4298676160
ice_free_dma_mem(): memzone ice_dma_11691751373064906012 to be freed with physical address: 4298671936
ice_free_dma_mem(): memzone ice_dma_3991163111476897793 to be freed with physical address: 4298667712
ice_free_dma_mem(): memzone ice_dma_2497856261648354669 to be freed with physical address: 4298663488
ice_free_dma_mem(): memzone ice_dma_6967403193221496593 to be freed with physical address: 4298659264
ice_free_dma_mem(): memzone ice_dma_9325517139936654783 to be freed with physical address: 4298655040
ice_free_dma_mem(): memzone ice_dma_15647130360262771484 to be freed with physical address: 4298650816
ice_free_dma_mem(): memzone ice_dma_10586001779350138160 to be freed with physical address: 4298646592
ice_free_dma_mem(): memzone ice_dma_641042915211829783 to be freed with physical address: 4298642368
ice_free_dma_mem(): memzone ice_dma_16910389257008901172 to be freed with physical address: 4298638144
ice_free_dma_mem(): memzone ice_dma_7152796012297029989 to be freed with physical address: 4298633920
ice_free_dma_mem(): memzone ice_dma_4164665518751914583 to be freed with physical address: 4298629696
ice_free_dma_mem(): memzone ice_dma_14083109584179226737 to be freed with physical address: 4298625472
ice_free_dma_mem(): memzone ice_dma_4949059451522947253 to be freed with physical address: 4298621248
ice_free_dma_mem(): memzone ice_dma_6967682604760811102 to be freed with physical address: 4298617024
ice_free_dma_mem(): memzone ice_dma_6619606012509446080 to be freed with physical address: 4298612800
ice_free_dma_mem(): memzone ice_dma_11869125554769072929 to be freed with physical address: 4298608576
ice_free_dma_mem(): memzone ice_dma_5005962210298628688 to be freed with physical address: 4298604352
ice_free_dma_mem(): memzone ice_dma_1178835421850570965 to be freed with physical address: 4298600128
ice_free_dma_mem(): memzone ice_dma_3426964422504831624 to be freed with physical address: 4298595904
ice_free_dma_mem(): memzone ice_dma_17786711703854100124 to be freed with physical address: 4298591680
ice_free_dma_mem(): memzone ice_dma_10721347847305688841 to be freed with physical address: 4298587456
ice_free_dma_mem(): memzone ice_dma_9926013238036460982 to be freed with physical address: 4298583232
ice_free_dma_mem(): memzone ice_dma_9670537995110516906 to be freed with physical address: 4298579008
ice_free_dma_mem(): memzone ice_dma_814748020822662304 to be freed with physical address: 4298574784
ice_free_dma_mem(): memzone ice_dma_14039847131534688636 to be freed with physical address: 4298570560
ice_free_dma_mem(): memzone ice_dma_9260399434242859571 to be freed with physical address: 4298566336
ice_free_dma_mem(): memzone ice_dma_13155535464813669533 to be freed with physical address: 4298562112
ice_free_dma_mem(): memzone ice_dma_14121044731720823717 to be freed with physical address: 4298557888
ice_free_dma_mem(): memzone ice_dma_2517016884266478745 to be freed with physical address: 4298553664
ice_free_dma_mem(): memzone ice_dma_967798968143080781 to be freed with physical address: 4298549440
ice_free_dma_mem(): memzone ice_dma_10946229836542790293 to be freed with physical address: 4298685632
ice_free_dma_mem(): memzone ice_dma_1169655234464781506 to be freed with physical address: 4298542656
ice_free_dma_mem(): memzone ice_dma_7892535567644802744 to be freed with physical address: 4298538432
ice_free_dma_mem(): memzone ice_dma_437647705601872428 to be freed with physical address: 4298534208
ice_free_dma_mem(): memzone ice_dma_16697975958797687626 to be freed with physical address: 4298529984
ice_free_dma_mem(): memzone ice_dma_13258660393954649414 to be freed with physical address: 4298525760
ice_free_dma_mem(): memzone ice_dma_18103970449248378172 to be freed with physical address: 4298521536
ice_free_dma_mem(): memzone ice_dma_2532725267704737735 to be freed with physical address: 4298517312
ice_free_dma_mem(): memzone ice_dma_12508612712928294446 to be freed with physical address: 4298513088
ice_free_dma_mem(): memzone ice_dma_14331680083661220680 to be freed with physical address: 4298508864
ice_free_dma_mem(): memzone ice_dma_8204828817569610177 to be freed with physical address: 4298504640
ice_free_dma_mem(): memzone ice_dma_18390809496702208212 to be freed with physical address: 4298500416
ice_free_dma_mem(): memzone ice_dma_17162581743611438054 to be freed with physical address: 4298496192
ice_free_dma_mem(): memzone ice_dma_7970813959361285366 to be freed with physical address: 4298491968
ice_free_dma_mem(): memzone ice_dma_5090962549838765246 to be freed with physical address: 4298487744
ice_free_dma_mem(): memzone ice_dma_252342098806147278 to be freed with physical address: 4298483520
ice_free_dma_mem(): memzone ice_dma_7560753356181580548 to be freed with physical address: 4298479296
ice_free_dma_mem(): memzone ice_dma_9214736701751206037 to be freed with physical address: 4298475072
ice_free_dma_mem(): memzone ice_dma_2642655861754829165 to be freed with physical address: 4298470848
ice_free_dma_mem(): memzone ice_dma_9664506138479880606 to be freed with physical address: 4298466624
ice_free_dma_mem(): memzone ice_dma_12571764052345006918 to be freed with physical address: 4298462400
ice_free_dma_mem(): memzone ice_dma_9204643908539753148 to be freed with physical address: 4298458176
ice_free_dma_mem(): memzone ice_dma_3779648100116672621 to be freed with physical address: 4298453952
ice_free_dma_mem(): memzone ice_dma_13576657937062431054 to be freed with physical address: 4298449728
ice_free_dma_mem(): memzone ice_dma_12956876072272897052 to be freed with physical address: 4298445504
ice_free_dma_mem(): memzone ice_dma_10306538835907397785 to be freed with physical address: 4298441280
ice_free_dma_mem(): memzone ice_dma_2112821500099922779 to be freed with physical address: 4298437056
ice_free_dma_mem(): memzone ice_dma_6037213541422356440 to be freed with physical address: 4298432832
ice_free_dma_mem(): memzone ice_dma_3327012222044923864 to be freed with physical address: 4298428608
ice_free_dma_mem(): memzone ice_dma_5268283375627742457 to be freed with physical address: 4298424384
ice_free_dma_mem(): memzone ice_dma_17484068237022476941 to be freed with physical address: 4298420160
ice_free_dma_mem(): memzone ice_dma_8982196630941726949 to be freed with physical address: 4298415936
ice_free_dma_mem(): memzone ice_dma_15198171084714600543 to be freed with physical address: 4298411712
ice_free_dma_mem(): memzone ice_dma_9954818949961934380 to be freed with physical address: 4298548288
ice_free_dma_mem(): memzone ice_dma_2433104724820298646 to be freed with physical address: 4298405312
ice_free_dma_mem(): memzone ice_dma_14946695645218031100 to be freed with physical address: 4298401088
ice_free_dma_mem(): memzone ice_dma_1639990248483322778 to be freed with physical address: 4298396864
ice_free_dma_mem(): memzone ice_dma_18241898654080150378 to be freed with physical address: 4298392640
ice_free_dma_mem(): memzone ice_dma_9599835785368866723 to be freed with physical address: 4298388416
ice_free_dma_mem(): memzone ice_dma_1704533386748004970 to be freed with physical address: 4298384192
ice_free_dma_mem(): memzone ice_dma_6365190208198232436 to be freed with physical address: 4298379968
ice_free_dma_mem(): memzone ice_dma_18308130617648190254 to be freed with physical address: 4298375744
ice_free_dma_mem(): memzone ice_dma_12410563170133521278 to be freed with physical address: 4298371520
ice_free_dma_mem(): memzone ice_dma_6920677900477621813 to be freed with physical address: 4298367296
ice_free_dma_mem(): memzone ice_dma_11006549024530209676 to be freed with physical address: 4298363072
ice_free_dma_mem(): memzone ice_dma_17102178594899980684 to be freed with physical address: 4298358848
ice_free_dma_mem(): memzone ice_dma_2972803475024389774 to be freed with physical address: 4298354624
ice_free_dma_mem(): memzone ice_dma_15791990586329966706 to be freed with physical address: 4298350400
ice_free_dma_mem(): memzone ice_dma_12359390052253547401 to be freed with physical address: 4298346176
ice_free_dma_mem(): memzone ice_dma_15508339770868060420 to be freed with physical address: 4298341952
ice_free_dma_mem(): memzone ice_dma_16405648531444390942 to be freed with physical address: 4298337728
ice_free_dma_mem(): memzone ice_dma_3585620421334027904 to be freed with physical address: 4298333504
ice_free_dma_mem(): memzone ice_dma_307495746257833635 to be freed with physical address: 4298329280
ice_free_dma_mem(): memzone ice_dma_11721922296092728400 to be freed with physical address: 4298325056
ice_free_dma_mem(): memzone ice_dma_7067973487238552160 to be freed with physical address: 4298320832
ice_free_dma_mem(): memzone ice_dma_16616076059181196387 to be freed with physical address: 4298316608
ice_free_dma_mem(): memzone ice_dma_4496372004300885288 to be freed with physical address: 4298312384
ice_free_dma_mem(): memzone ice_dma_7307263852216913177 to be freed with physical address: 4298308160
ice_free_dma_mem(): memzone ice_dma_15319967802609867903 to be freed with physical address: 4298303936
ice_free_dma_mem(): memzone ice_dma_8803089424118468743 to be freed with physical address: 4298299712
ice_free_dma_mem(): memzone ice_dma_2003862640216987399 to be freed with physical address: 4298295488
ice_free_dma_mem(): memzone ice_dma_17540613200457240896 to be freed with physical address: 4298291264
ice_free_dma_mem(): memzone ice_dma_3547710188575317134 to be freed with physical address: 4298287040
ice_free_dma_mem(): memzone ice_dma_16325398547025895261 to be freed with physical address: 4298282816
ice_free_dma_mem(): memzone ice_dma_7096348045763671195 to be freed with physical address: 4298278592
ice_free_dma_mem(): memzone ice_dma_10028661792799237143 to be freed with physical address: 4298274368
ice_free_dma_mem(): memzone ice_dma_2634210402526374683 to be freed with physical address: 4298410560
Done

Bye...
15/06/2020 14:36:22               SwitchFilterTest: Test Case test_mac_ipv4_vxlan_mac_ipv4_udp_pay Result PASSED:
15/06/2020 14:36:22             dut.10.240.183.156: kill_all: called by dut and prefix list has value.
15/06/2020 14:36:24                            dts: 
TEST SUITE ENDED: SwitchFilterTest

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
@ 2020-06-15 16:08 Zeng Xiaoxiao
  2020-06-15  8:32 ` Zeng, XiaoxiaoX
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zeng Xiaoxiao @ 2020-06-15 16:08 UTC (permalink / raw)
  To: dts; +Cc: Zeng Xiaoxiao

*.Avoid that with different dpdk code, packet default queue same as queue that rule set.
*.Realize dynamic set rule in testpmd.


Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
 tests/TestSuite_cvl_switch_filter.py | 81 +++++++++++++++++++++++++++-
 1 file changed, 80 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py
index ffd9af4..dc54fe7 100644
--- a/tests/TestSuite_cvl_switch_filter.py
+++ b/tests/TestSuite_cvl_switch_filter.py
@@ -34,6 +34,8 @@ import json
 import time
 import re
 import copy
+import random
+from itertools import groupby
 
 from test_case import TestCase
 from pmd_output import PmdOutput
@@ -2571,6 +2573,45 @@ class SwitchFilterTest(TestCase):
         result_flag, log_msg = dic["check_func"]["func"](out, dic["check_func"]["param"], dic["expect_results"])
         return result_flag, log_msg
 
+    def send_packet_get_queue(self, dic):
+        """
+        general packets processing workflow.
+        """
+        self.dut.send_expect("start", "testpmd> ")
+        # send packets
+        for per_packet in dic["scapy_str"]:
+            pkt = Packet(pkt_str=per_packet)
+            pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1)
+        out = self.dut.send_expect("stop", "testpmd> ")
+        p = re.compile(r"Forward Stats for RX Port= \d+/Queue=(\s?\d+)")
+        res = p.findall(out)
+        default_queue = [int(i) for i in res]
+        return default_queue
+
+    def get_available_queue_num(self, default_queue, expect_queue, pmd_queue=8):
+        """
+        general packets processing workflow.
+        """
+        queue_list = list(range(1, pmd_queue))
+        # check if expect_queue length is power of 2
+        q_len = len(expect_queue)
+        self.verify(q_len & (q_len - 1) == 0, "defualt_queue length is not power of 2!")
+        for q in default_queue:
+            if q in queue_list:
+                queue_list.remove(q)
+        # according to expect_queue length get available queue
+        set_queue_list = []
+        if q_len == 1:
+            set_queue = random.choice(queue_list)
+            set_queue_list.append(set_queue)
+        else:
+            fun = lambda x: x[1] - x[0]
+            for k, g in groupby(enumerate(queue_list), fun):
+                list_group = [j for i, j in g]
+                if len(list_group) >= q_len:
+                    set_queue_list = list_group[:q_len]
+        return set_queue_list
+
     def save_results(self, pattern_name, flag, result_flag, log_msg, overall_result):
         """
         save results to dictionary: test_results.
@@ -2598,10 +2639,48 @@ class SwitchFilterTest(TestCase):
         overall_result = True
         test_results.clear()
         for tv in test_vectors:
+            # get packet default_queue number
+            mismatched_dic = tv["mismatched"]
+            default_queue = self.send_packet_get_queue(mismatched_dic)
+
+            # check if default_queue same with expect_queue
+            expect_queue = tv["mismatched"]["check_func"]["param"]["expect_queues"]
+            if expect_queue != "null":
+                if isinstance(expect_queue, int):
+                    eq_list = []
+                    eq_list.append(expect_queue)
+                elif isinstance(expect_queue, list):
+                    eq_list = expect_queue
+                recover_flag = list(set(eq_list) & set(default_queue))
+            else:
+                recover_flag = None
+
+            # if default_queue has same one with expect_queue, recover rule
+            if recover_flag:
+                # exclude defult_queue number and get set_queue
+                set_queue_list = self.get_available_queue_num(default_queue, eq_list)
+                # recover rule command and check queue
+                if isinstance(expect_queue, int):
+                    rule_command = tv["rte_flow_pattern"].replace("/ end actions queue index %s" % str(expect_queue),
+                                                                  "/ end actions queue index %s" % str(set_queue_list[0]))
+                    tv["matched"]["check_func"]["param"]["expect_queues"] = set_queue_list[0]
+                    tv["mismatched"]["check_func"]["param"]["expect_queues"] = set_queue_list[0]
+                elif isinstance(expect_queue, list):
+                    q = [str(i) for i in expect_queue]
+                    expect_queue_str = " ".join(q)
+                    s = [str(i) for i in set_queue_list]
+                    set_queue_str = " ".join(s)
+                    rule_command = tv["rte_flow_pattern"].replace("/ end actions rss queues %s" % expect_queue_str,
+                                                                  "/ end actions rss queues %s" % set_queue_str)
+                    tv["matched"]["check_func"]["param"]["expect_queues"] = set_queue_list
+                    tv["mismatched"]["check_func"]["param"]["expect_queues"] = set_queue_list
+            else:
+                rule_command = tv["rte_flow_pattern"]
+
             pattern_name = tv["name"]
             test_results[pattern_name] = OrderedDict()
 
-            out = self.dut.send_expect(tv["rte_flow_pattern"], "testpmd> ", 15)  #create a rule
+            out = self.dut.send_expect(rule_command, "testpmd> ", 15)  #create a rule
             #get the rule number
             rule_num = self.get_rule_number(out)
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
  2020-06-15 16:08 [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter Zeng Xiaoxiao
  2020-06-15  8:32 ` Zeng, XiaoxiaoX
@ 2020-06-19  7:27 ` Lu, Nannan
  2020-06-19  8:23 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Lu, Nannan @ 2020-06-19  7:27 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

Acked-by Lu, Nannan <nannan.lu@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Tuesday, June 16, 2020 12:08 AM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
> 
> *.Avoid that with different dpdk code, packet default queue same as queue that
> rule set.
> *.Realize dynamic set rule in testpmd.
> 
> 
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
> ---
>  tests/TestSuite_cvl_switch_filter.py | 81 +++++++++++++++++++++++++++-
>  1 file changed, 80 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_cvl_switch_filter.py
> b/tests/TestSuite_cvl_switch_filter.py
> index ffd9af4..dc54fe7 100644
> --- a/tests/TestSuite_cvl_switch_filter.py
> +++ b/tests/TestSuite_cvl_switch_filter.py
> @@ -34,6 +34,8 @@ import json
>  import time
>  import re
>  import copy
> +import random
> +from itertools import groupby
> 
>  from test_case import TestCase
>  from pmd_output import PmdOutput
> @@ -2571,6 +2573,45 @@ class SwitchFilterTest(TestCase):
>          result_flag, log_msg = dic["check_func"]["func"](out,
> dic["check_func"]["param"], dic["expect_results"])
>          return result_flag, log_msg
> 
> +    def send_packet_get_queue(self, dic):
> +        """
> +        general packets processing workflow.
> +        """
> +        self.dut.send_expect("start", "testpmd> ")
> +        # send packets
> +        for per_packet in dic["scapy_str"]:
> +            pkt = Packet(pkt_str=per_packet)
> +            pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1)
> +        out = self.dut.send_expect("stop", "testpmd> ")
> +        p = re.compile(r"Forward Stats for RX Port= \d+/Queue=(\s?\d+)")
> +        res = p.findall(out)
> +        default_queue = [int(i) for i in res]
> +        return default_queue
> +
> +    def get_available_queue_num(self, default_queue, expect_queue,
> pmd_queue=8):
> +        """
> +        general packets processing workflow.
> +        """
> +        queue_list = list(range(1, pmd_queue))
> +        # check if expect_queue length is power of 2
> +        q_len = len(expect_queue)
> +        self.verify(q_len & (q_len - 1) == 0, "defualt_queue length is not power of
> 2!")
> +        for q in default_queue:
> +            if q in queue_list:
> +                queue_list.remove(q)
> +        # according to expect_queue length get available queue
> +        set_queue_list = []
> +        if q_len == 1:
> +            set_queue = random.choice(queue_list)
> +            set_queue_list.append(set_queue)
> +        else:
> +            fun = lambda x: x[1] - x[0]
> +            for k, g in groupby(enumerate(queue_list), fun):
> +                list_group = [j for i, j in g]
> +                if len(list_group) >= q_len:
> +                    set_queue_list = list_group[:q_len]
> +        return set_queue_list
> +
>      def save_results(self, pattern_name, flag, result_flag, log_msg,
> overall_result):
>          """
>          save results to dictionary: test_results.
> @@ -2598,10 +2639,48 @@ class SwitchFilterTest(TestCase):
>          overall_result = True
>          test_results.clear()
>          for tv in test_vectors:
> +            # get packet default_queue number
> +            mismatched_dic = tv["mismatched"]
> +            default_queue = self.send_packet_get_queue(mismatched_dic)
> +
> +            # check if default_queue same with expect_queue
> +            expect_queue =
> tv["mismatched"]["check_func"]["param"]["expect_queues"]
> +            if expect_queue != "null":
> +                if isinstance(expect_queue, int):
> +                    eq_list = []
> +                    eq_list.append(expect_queue)
> +                elif isinstance(expect_queue, list):
> +                    eq_list = expect_queue
> +                recover_flag = list(set(eq_list) & set(default_queue))
> +            else:
> +                recover_flag = None
> +
> +            # if default_queue has same one with expect_queue, recover rule
> +            if recover_flag:
> +                # exclude defult_queue number and get set_queue
> +                set_queue_list = self.get_available_queue_num(default_queue, eq_list)
> +                # recover rule command and check queue
> +                if isinstance(expect_queue, int):
> +                    rule_command = tv["rte_flow_pattern"].replace("/ end actions
> queue index %s" % str(expect_queue),
> +                                                                  "/ end actions queue index %s" %
> str(set_queue_list[0]))
> +                    tv["matched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list[0]
> +                    tv["mismatched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list[0]
> +                elif isinstance(expect_queue, list):
> +                    q = [str(i) for i in expect_queue]
> +                    expect_queue_str = " ".join(q)
> +                    s = [str(i) for i in set_queue_list]
> +                    set_queue_str = " ".join(s)
> +                    rule_command = tv["rte_flow_pattern"].replace("/ end actions rss
> queues %s" % expect_queue_str,
> +                                                                  "/ end actions rss queues %s" %
> set_queue_str)
> +                    tv["matched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list
> +                    tv["mismatched"]["check_func"]["param"]["expect_queues"] =
> set_queue_list
> +            else:
> +                rule_command = tv["rte_flow_pattern"]
> +
>              pattern_name = tv["name"]
>              test_results[pattern_name] = OrderedDict()
> 
> -            out = self.dut.send_expect(tv["rte_flow_pattern"], "testpmd> ", 15)
> #create a rule
> +            out = self.dut.send_expect(rule_command, "testpmd> ", 15)  #create a
> rule
>              #get the rule number
>              rule_num = self.get_rule_number(out)
> 
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter
  2020-06-15 16:08 [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter Zeng Xiaoxiao
  2020-06-15  8:32 ` Zeng, XiaoxiaoX
  2020-06-19  7:27 ` Lu, Nannan
@ 2020-06-19  8:23 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-06-19  8:23 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

Applied, thanks

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Zeng Xiaoxiao
Sent: 2020年6月16日 0:08
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter

*.Avoid that with different dpdk code, packet default queue same as queue that rule set.
*.Realize dynamic set rule in testpmd.


Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
 tests/TestSuite_cvl_switch_filter.py | 81 +++++++++++++++++++++++++++-
 1 file changed, 80 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py
index ffd9af4..dc54fe7 100644
--- a/tests/TestSuite_cvl_switch_filter.py
+++ b/tests/TestSuite_cvl_switch_filter.py
@@ -34,6 +34,8 @@ import json
 import time
 import re
 import copy
+import random
+from itertools import groupby
 
 from test_case import TestCase
 from pmd_output import PmdOutput
@@ -2571,6 +2573,45 @@ class SwitchFilterTest(TestCase):
         result_flag, log_msg = dic["check_func"]["func"](out, dic["check_func"]["param"], dic["expect_results"])
         return result_flag, log_msg
 
+    def send_packet_get_queue(self, dic):
+        """
+        general packets processing workflow.
+        """
+        self.dut.send_expect("start", "testpmd> ")
+        # send packets
+        for per_packet in dic["scapy_str"]:
+            pkt = Packet(pkt_str=per_packet)
+            pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1)
+        out = self.dut.send_expect("stop", "testpmd> ")
+        p = re.compile(r"Forward Stats for RX Port= \d+/Queue=(\s?\d+)")
+        res = p.findall(out)
+        default_queue = [int(i) for i in res]
+        return default_queue
+
+    def get_available_queue_num(self, default_queue, expect_queue, pmd_queue=8):
+        """
+        general packets processing workflow.
+        """
+        queue_list = list(range(1, pmd_queue))
+        # check if expect_queue length is power of 2
+        q_len = len(expect_queue)
+        self.verify(q_len & (q_len - 1) == 0, "defualt_queue length is not power of 2!")
+        for q in default_queue:
+            if q in queue_list:
+                queue_list.remove(q)
+        # according to expect_queue length get available queue
+        set_queue_list = []
+        if q_len == 1:
+            set_queue = random.choice(queue_list)
+            set_queue_list.append(set_queue)
+        else:
+            fun = lambda x: x[1] - x[0]
+            for k, g in groupby(enumerate(queue_list), fun):
+                list_group = [j for i, j in g]
+                if len(list_group) >= q_len:
+                    set_queue_list = list_group[:q_len]
+        return set_queue_list
+
     def save_results(self, pattern_name, flag, result_flag, log_msg, overall_result):
         """
         save results to dictionary: test_results.
@@ -2598,10 +2639,48 @@ class SwitchFilterTest(TestCase):
         overall_result = True
         test_results.clear()
         for tv in test_vectors:
+            # get packet default_queue number
+            mismatched_dic = tv["mismatched"]
+            default_queue = self.send_packet_get_queue(mismatched_dic)
+
+            # check if default_queue same with expect_queue
+            expect_queue = tv["mismatched"]["check_func"]["param"]["expect_queues"]
+            if expect_queue != "null":
+                if isinstance(expect_queue, int):
+                    eq_list = []
+                    eq_list.append(expect_queue)
+                elif isinstance(expect_queue, list):
+                    eq_list = expect_queue
+                recover_flag = list(set(eq_list) & set(default_queue))
+            else:
+                recover_flag = None
+
+            # if default_queue has same one with expect_queue, recover rule
+            if recover_flag:
+                # exclude defult_queue number and get set_queue
+                set_queue_list = self.get_available_queue_num(default_queue, eq_list)
+                # recover rule command and check queue
+                if isinstance(expect_queue, int):
+                    rule_command = tv["rte_flow_pattern"].replace("/ end actions queue index %s" % str(expect_queue),
+                                                                  "/ end actions queue index %s" % str(set_queue_list[0]))
+                    tv["matched"]["check_func"]["param"]["expect_queues"] = set_queue_list[0]
+                    tv["mismatched"]["check_func"]["param"]["expect_queues"] = set_queue_list[0]
+                elif isinstance(expect_queue, list):
+                    q = [str(i) for i in expect_queue]
+                    expect_queue_str = " ".join(q)
+                    s = [str(i) for i in set_queue_list]
+                    set_queue_str = " ".join(s)
+                    rule_command = tv["rte_flow_pattern"].replace("/ end actions rss queues %s" % expect_queue_str,
+                                                                  "/ end actions rss queues %s" % set_queue_str)
+                    tv["matched"]["check_func"]["param"]["expect_queues"] = set_queue_list
+                    tv["mismatched"]["check_func"]["param"]["expect_queues"] = set_queue_list
+            else:
+                rule_command = tv["rte_flow_pattern"]
+
             pattern_name = tv["name"]
             test_results[pattern_name] = OrderedDict()
 
-            out = self.dut.send_expect(tv["rte_flow_pattern"], "testpmd> ", 15)  #create a rule
+            out = self.dut.send_expect(rule_command, "testpmd> ", 15)  #create a rule
             #get the rule number
             rule_num = self.get_rule_number(out)
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-19  8:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 16:08 [dts] [PATCH V2]tests/cvl_switch_filter:optimization_cvl_switch_filter Zeng Xiaoxiao
2020-06-15  8:32 ` Zeng, XiaoxiaoX
2020-06-19  7:27 ` Lu, Nannan
2020-06-19  8:23 ` 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).