* [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
@ 2021-11-20 7:50 Yu Jiang
0 siblings, 0 replies; 8+ messages in thread
From: Yu Jiang @ 2021-11-20 7:50 UTC (permalink / raw)
To: xueqin.lin, dts; +Cc: Yu Jiang
tests/ddp_gtp_qregion&dual_vlan&link_flowctrl&nvgre&qos_api optimize script:
wait_link_status_up after start testpmd or before send_packets to enhance script robustness
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
tests/TestSuite_ddp_gtp_qregion.py | 2 ++
tests/TestSuite_dual_vlan.py | 31 ++++++-------------------------
tests/TestSuite_link_flowctrl.py | 5 ++++-
tests/TestSuite_nvgre.py | 5 +++--
tests/TestSuite_qos_api.py | 3 ++-
5 files changed, 17 insertions(+), 29 deletions(-)
diff --git a/tests/TestSuite_ddp_gtp_qregion.py b/tests/TestSuite_ddp_gtp_qregion.py
index e870db3..1fbb05c 100644
--- a/tests/TestSuite_ddp_gtp_qregion.py
+++ b/tests/TestSuite_ddp_gtp_qregion.py
@@ -322,6 +322,7 @@ class TestDdpGtpQregion(TestCase):
self.dut_testpmd.execute_cmd('set fwd rxonly')
self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
+ self.dut_testpmd.wait_link_status_up(self.dut_ports[0])
qnum = self.send_verify_fd(flowtype, keywords, 'word_opt')
self.verify(qnum == 0, "Receive packet from wrong queue!!!")
self.raw_packet_generate(flowtype)
@@ -385,6 +386,7 @@ class TestDdpGtpQregion(TestCase):
self.dut_testpmd.execute_cmd('set fwd rxonly')
self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
+ self.dut_testpmd.wait_link_status_up(self.dut_ports[0])
self.send_and_verify(flowtype, qmin, qmax, keyword)
def test_outer_dst_contrl_gtpcq(self):
diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py
index 0f9247f..f7dbcf6 100644
--- a/tests/TestSuite_dual_vlan.py
+++ b/tests/TestSuite_dual_vlan.py
@@ -87,18 +87,14 @@ class TestDualVlan(TestCase):
global dutTxPortId
# Based on h/w type, choose how many ports to use
- ports = self.dut.get_ports(self.nic)
- self.verify(len(ports) >= 2, "Insufficient ports")
- self.ports_socket = self.dut.get_numa_id(ports[0])
+ self.dut_ports = self.dut.get_ports(self.nic)
+ self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
+ self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
cores = self.dut.get_core_list('1S/2C/2T')
coreMask = utils.create_mask(cores)
-
- ports = self.dut.get_ports(self.nic)
- valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
-
+ valports = [_ for _ in self.dut_ports if self.tester.get_local_port(_) != -1]
portMask = utils.create_mask(valports[:2])
-
dutRxPortId = valports[0]
dutTxPortId = valports[1]
@@ -141,7 +137,8 @@ class TestDualVlan(TestCase):
vlanString += 'IP(len=46)],iface="%s", count=4)' % txItf
self.tester.scapy_append(vlanString)
-
+ # check link status before send pkg
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
self.tester.scapy_execute()
def mode_config(self, **modeName):
@@ -185,17 +182,6 @@ class TestDualVlan(TestCase):
else:
self.verify("%s %s" % (mode, modeName[mode]) in out, "%s setting error" % mode)
- def verify_link_up(self):
- ports = self.dut.get_ports(self.nic)
- for port_id in range(len(ports)):
- out = self.dut.send_expect("show port info %s" % port_id, "testpmd> ")
- port_time_up = 0
- while (port_time_up <= 10) and ("Link status: down" in out):
- time.sleep(1)
- out = self.dut.send_expect("show port info %s" % port_id, "testpmd> ")
- port_time_up += 1
- self.verify("Link status: down" not in out, "Port %s Link down, please check your link" % port_id)
-
def multimode_test(self, caseIndex):
"""
Setup Strip/Filter/Extend/Insert enable/disable for synthetic test.
@@ -217,7 +203,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan set %s %s' % (dutTxPortId, txvlan), "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
configMode = "Strip %s, filter %s 0x1, extend %s, insert %s" % (temp[0], temp[1], temp[2], "on" if (caseDef & txCase) != 0 else "off")
@@ -236,7 +221,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan reset %s' % dutTxPortId, "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
else:
self.dut.send_expect('rx_vlan add %s %s' % (invlan, dutRxPortId), "testpmd> ")
@@ -249,7 +233,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan reset %s' % dutTxPortId, "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
self.dut.send_expect('rx_vlan rm %s %s' % (invlan, dutRxPortId), "testpmd> ")
self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPortId), "testpmd> ")
@@ -378,7 +361,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect("tx_vlan set %s %s" % (dutTxPortId, txvlan), "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect("start", "testpmd> ")
- self.verify_link_up()
self.vlan_send_packet()
out = self.get_tcpdump_package()
@@ -389,7 +371,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect("start", "testpmd> ")
- self.verify_link_up()
self.vlan_send_packet()
out = self.get_tcpdump_package()
diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index a102288..96ba231 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -134,6 +134,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("set fwd csum", "testpmd> ")
self.dut.send_expect("start", "testpmd> ", 60)
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
def pause_frame_loss_test(self, rx_flow_control='off',
tx_flow_control='off',
@@ -171,6 +172,7 @@ class TestLinkFlowctrl(TestCase):
return port_stats
def send_packets(self, frame):
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
tester_tx_port = self.tester.get_local_port(self.rx_port)
tx_interface = self.tester.get_interface(tester_tx_port)
tester_rx_port = self.tester.get_local_port(self.tx_port)
@@ -530,7 +532,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("port stop 0", "testpmd> ")
self.dut.send_expect("port start 0", "testpmd> ", 60)
self.dut.send_expect("start", "testpmd> ", 60)
-
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
tgenInput = self.get_tgen_input()
result = self.start_traffic(tgenInput)
self.logger.info("Packet loss: %.3f" % result)
@@ -555,6 +557,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("port stop 0", "testpmd> ")
self.dut.send_expect("port start 0", "testpmd> ", 60)
self.dut.send_expect("start", "testpmd> ", 60)
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
result = self.start_traffic(tgenInput)
self.logger.info("Packet loss: %.3f" % result)
if self.nic == "niantic":
diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 63b95d1..4472d20 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -51,7 +51,6 @@ from scapy.layers.sctp import SCTP, SCTPChunkData
from scapy.route import *
from scapy.sendrecv import sniff
from scapy.utils import rdpcap, socket, struct, wrpcap
-
import framework.utils as utils
from framework.packet import IncreaseIP, IncreaseIPv6
from framework.pmd_output import PmdOutput
@@ -499,6 +498,7 @@ class TestNvgre(TestCase):
config.outer_mac_dst = self.dut_rx_port_mac
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
config.send_pcap()
# check whether detect nvgre type
out = self.dut.get_session_output()
@@ -523,6 +523,7 @@ class TestNvgre(TestCase):
# send nvgre packet
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
config.send_pcap()
out = self.dut.get_session_output()
print(out)
@@ -595,7 +596,7 @@ class TestNvgre(TestCase):
self.logger.info("nvgre packet %s" % arg_str)
out = self.dut.send_expect("start", "testpmd>", 10)
-
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
# create pcap file with supplied arguments
config = NvgreTestConfig(self, **kwargs)
config.outer_mac_dst = self.dut_rx_port_mac
diff --git a/tests/TestSuite_qos_api.py b/tests/TestSuite_qos_api.py
index 70b3d0d..82c4d0e 100644
--- a/tests/TestSuite_qos_api.py
+++ b/tests/TestSuite_qos_api.py
@@ -120,6 +120,7 @@ class TestQosApi(TestCase):
self.dut.send_expect('port start all', 'testpmd> ')
def scapy_send_packet_verify(self, n):
+ self.host_testpmd.wait_link_status_up(self.dut_ports[0])
self.tester.scapy_foreground()
dmac = self.dut.get_mac_address(P0)
queues_4tc = [0, 32, 64, 96]
@@ -220,7 +221,7 @@ class TestQosApi(TestCase):
self.perf_test(n)
def perf_test(self, n):
-
+ self.host_testpmd.wait_link_status_up(self.dut_ports[0])
dmac = self.dut.get_mac_address(self.dut_ports[0])
pkts = []
for i in range(n):
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
@ 2021-11-24 8:33 Yu Jiang
2021-11-30 3:28 ` Tu, Lijuan
0 siblings, 1 reply; 8+ messages in thread
From: Yu Jiang @ 2021-11-24 8:33 UTC (permalink / raw)
To: xueqin.lin, dts; +Cc: Yu Jiang
optimize script: checksum_offload/flow_classify_softnic/nvgre/vlan/vlan_ethertype_config/vxlan,
wait_link_status_up after start testpmd or before send_packets to enhance script robustness
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
tests/TestSuite_checksum_offload.py | 4 ++--
tests/TestSuite_flow_classify_softnic.py | 2 ++
tests/TestSuite_nvgre.py | 5 +++--
tests/TestSuite_vlan.py | 1 +
tests/TestSuite_vlan_ethertype_config.py | 2 +-
tests/TestSuite_vxlan.py | 18 +++++++++++-------
6 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 3338e33..f8b26ef 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -671,7 +671,7 @@ class TestChecksumOffload(TestCase):
self.tester.send_expect("scapy", ">>>")
self.checksum_enablehw(self.dut_ports[0])
self.dut.send_expect("start", "testpmd>")
-
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
verification_errors: List[VerifyFailure] = []
iface = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0]))
@@ -701,7 +701,7 @@ class TestChecksumOffload(TestCase):
def test_hardware_checksum_check_ip_tx(self):
self.checksum_enablehw(self.dut_ports[0])
self.dut.send_expect("start", "testpmd>")
-
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
verification_errors: List[VerifyFailure] = []
iface = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0]))
diff --git a/tests/TestSuite_flow_classify_softnic.py b/tests/TestSuite_flow_classify_softnic.py
index a2c15dc..7b6642d 100644
--- a/tests/TestSuite_flow_classify_softnic.py
+++ b/tests/TestSuite_flow_classify_softnic.py
@@ -179,6 +179,7 @@ class TestFlowClassifySoftnic(TestCase):
Sent pkts that read from the pcap_file.
Return the sniff pkts.
"""
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
tx_port = self.tester.get_local_port(self.dut_ports[from_port%self.port_num])
rx_port = self.tester.get_local_port(self.dut_ports[to_port%self.port_num])
@@ -283,6 +284,7 @@ class TestFlowClassifySoftnic(TestCase):
"""
Sends continuous packets.
"""
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
self.tester.scapy_foreground()
time.sleep(2)
if src_dst == "src":
diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 63b95d1..4472d20 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -51,7 +51,6 @@ from scapy.layers.sctp import SCTP, SCTPChunkData
from scapy.route import *
from scapy.sendrecv import sniff
from scapy.utils import rdpcap, socket, struct, wrpcap
-
import framework.utils as utils
from framework.packet import IncreaseIP, IncreaseIPv6
from framework.pmd_output import PmdOutput
@@ -499,6 +498,7 @@ class TestNvgre(TestCase):
config.outer_mac_dst = self.dut_rx_port_mac
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
config.send_pcap()
# check whether detect nvgre type
out = self.dut.get_session_output()
@@ -523,6 +523,7 @@ class TestNvgre(TestCase):
# send nvgre packet
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
config.send_pcap()
out = self.dut.get_session_output()
print(out)
@@ -595,7 +596,7 @@ class TestNvgre(TestCase):
self.logger.info("nvgre packet %s" % arg_str)
out = self.dut.send_expect("start", "testpmd>", 10)
-
+ self.pmdout.wait_link_status_up(self.dut_rx_port)
# create pcap file with supplied arguments
config = NvgreTestConfig(self, **kwargs)
config.outer_mac_dst = self.dut_rx_port_mac
diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index b8cbf8c..8318b76 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -90,6 +90,7 @@ class TestVlan(TestCase):
"""
Send $num of packets to portid, if vid is -1, it means send a packet which does not include a vlan id.
"""
+ self.pmdout.wait_link_status_up(dutRxPortId)
# The package stream : testTxPort->dutRxPort->dutTxport->testRxPort
port = self.tester.get_local_port(dutRxPortId)
self.txItf = self.tester.get_interface(port)
diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index 5e3ed81..fc0d494 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -106,7 +106,7 @@ class TestVlanEthertypeConfig(TestCase):
"""
if vid is -1, it means send pakcage not include vlan id.
"""
-
+ self.pmdout.wait_link_status_up(dutRxPortId)
self.tpid_ori_file = "/tmp/tpid_ori.pcap"
self.tpid_new_file = "/tmp/tpid_new.pcap"
self.tester.send_expect("rm -rf /tmp/tpid_ori.pcap", "# ")
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 1442578..9605c89 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -472,8 +472,8 @@ class TestVxlan(TestCase):
config.outer_mac_dst = self.dut_port_mac
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_port)
config.send_pcap(self.tester_iface)
-
# check whether detect vxlan type
out = self.dut.get_session_output(timeout=2)
print(out)
@@ -572,6 +572,7 @@ class TestVxlan(TestCase):
# send vxlan packet
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_port)
config.send_pcap(self.tester_iface)
out = self.dut.get_session_output(timeout=2)
print(out)
@@ -606,7 +607,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal packet
self.send_and_detect(outer_udp_dst=1234)
# check vxlan + UDP inner packet
@@ -642,7 +643,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal ipv6 packet
self.send_and_detect(outer_ip6_src="FE80:0:0:0:0:0:0:0",
outer_ip6_dst="FE80:0:0:0:0:0:0:1",
@@ -692,7 +693,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal packet + ip checksum invalid
self.send_and_check(outer_ip_invalid=1, outer_udp_dst=1234)
# check vxlan packet + inner ip checksum invalid
@@ -754,6 +755,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd csum", "testpmd>", 10)
self.csum_set_type('outer-ip', self.recv_port)
self.csum_set_type('udp', self.recv_port)
+ self.csum_set_type('outer-udp', self.recv_port)
self.csum_set_type('tcp', self.recv_port)
self.csum_set_type('sctp', self.recv_port)
self.dut.send_expect("csum parse-tunnel on %d" %
@@ -761,7 +763,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal ipv6 packet
self.send_and_check(outer_ip6_src="FE80:0:0:0:0:0:0:0",
outer_ip6_dst="FE80:0:0:0:0:0:0:1")
@@ -821,7 +823,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
config = VxlanTestConfig(self)
config_vlan = VxlanTestConfig(self, inner_vlan=1)
config.outer_mac_dst = self.dut_port_mac
@@ -892,6 +894,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
+ self.pmdout.wait_link_status_up(self.dut_port)
rule = 'flow create {} ingress pattern eth / ipv4 / udp / vxlan vni is {} / eth dst is {} / end actions pf ' \
'/ queue index {} / end'.format(self.dut_port,
config.vni,
@@ -1048,7 +1051,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd io", "testpmd>", 10)
self.dut.send_expect("start", "testpmd>", 10)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
if BIDIRECT:
wirespeed = self.wirespeed(self.nic, PACKET_LEN, 2)
else:
@@ -1131,6 +1134,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd csum", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
+ self.pmdout.wait_link_status_up(self.dut_port)
# redirect flow to another queue by tunnel filter
rule_config = {
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
2021-11-24 8:33 Yu Jiang
@ 2021-11-30 3:28 ` Tu, Lijuan
0 siblings, 0 replies; 8+ messages in thread
From: Tu, Lijuan @ 2021-11-30 3:28 UTC (permalink / raw)
To: Jiang, YuX, Lin, Xueqin, dts; +Cc: Jiang, YuX
> -----Original Message-----
> From: Yu Jiang <yux.jiang@intel.com>
> Sent: 2021年11月24日 16:34
> To: Lin, Xueqin <xueqin.lin@intel.com>; dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1] Optimize script: wait_link_status_up after start
> testpmd
>
> optimize script:
> checksum_offload/flow_classify_softnic/nvgre/vlan/vlan_ethertype_config/vxl
> an,
> wait_link_status_up after start testpmd or before send_packets to enhance
> script robustness
>
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>
Applied
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
@ 2021-11-22 6:24 Yu Jiang
2021-11-22 7:41 ` Jiang, YuX
0 siblings, 1 reply; 8+ messages in thread
From: Yu Jiang @ 2021-11-22 6:24 UTC (permalink / raw)
To: xueqin.lin, dts; +Cc: Yu Jiang
optimize script: ddp_gtp_qregion&dual_vlan&external_memory&link_flowctrl&mtu_update&qos_api&scatter
wait_link_status_up after start testpmd or before send_packets to enhance script robustness
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
tests/TestSuite_ddp_gtp_qregion.py | 2 ++
tests/TestSuite_dual_vlan.py | 31 ++++++-------------------------
tests/TestSuite_external_memory.py | 4 +++-
tests/TestSuite_link_flowctrl.py | 5 ++++-
tests/TestSuite_mtu_update.py | 1 +
tests/TestSuite_qos_api.py | 3 ++-
tests/TestSuite_scatter.py | 1 +
7 files changed, 19 insertions(+), 28 deletions(-)
diff --git a/tests/TestSuite_ddp_gtp_qregion.py b/tests/TestSuite_ddp_gtp_qregion.py
index e870db3..1fbb05c 100644
--- a/tests/TestSuite_ddp_gtp_qregion.py
+++ b/tests/TestSuite_ddp_gtp_qregion.py
@@ -322,6 +322,7 @@ class TestDdpGtpQregion(TestCase):
self.dut_testpmd.execute_cmd('set fwd rxonly')
self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
+ self.dut_testpmd.wait_link_status_up(self.dut_ports[0])
qnum = self.send_verify_fd(flowtype, keywords, 'word_opt')
self.verify(qnum == 0, "Receive packet from wrong queue!!!")
self.raw_packet_generate(flowtype)
@@ -385,6 +386,7 @@ class TestDdpGtpQregion(TestCase):
self.dut_testpmd.execute_cmd('set fwd rxonly')
self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
+ self.dut_testpmd.wait_link_status_up(self.dut_ports[0])
self.send_and_verify(flowtype, qmin, qmax, keyword)
def test_outer_dst_contrl_gtpcq(self):
diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py
index 0f9247f..f7dbcf6 100644
--- a/tests/TestSuite_dual_vlan.py
+++ b/tests/TestSuite_dual_vlan.py
@@ -87,18 +87,14 @@ class TestDualVlan(TestCase):
global dutTxPortId
# Based on h/w type, choose how many ports to use
- ports = self.dut.get_ports(self.nic)
- self.verify(len(ports) >= 2, "Insufficient ports")
- self.ports_socket = self.dut.get_numa_id(ports[0])
+ self.dut_ports = self.dut.get_ports(self.nic)
+ self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
+ self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
cores = self.dut.get_core_list('1S/2C/2T')
coreMask = utils.create_mask(cores)
-
- ports = self.dut.get_ports(self.nic)
- valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
-
+ valports = [_ for _ in self.dut_ports if self.tester.get_local_port(_) != -1]
portMask = utils.create_mask(valports[:2])
-
dutRxPortId = valports[0]
dutTxPortId = valports[1]
@@ -141,7 +137,8 @@ class TestDualVlan(TestCase):
vlanString += 'IP(len=46)],iface="%s", count=4)' % txItf
self.tester.scapy_append(vlanString)
-
+ # check link status before send pkg
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
self.tester.scapy_execute()
def mode_config(self, **modeName):
@@ -185,17 +182,6 @@ class TestDualVlan(TestCase):
else:
self.verify("%s %s" % (mode, modeName[mode]) in out, "%s setting error" % mode)
- def verify_link_up(self):
- ports = self.dut.get_ports(self.nic)
- for port_id in range(len(ports)):
- out = self.dut.send_expect("show port info %s" % port_id, "testpmd> ")
- port_time_up = 0
- while (port_time_up <= 10) and ("Link status: down" in out):
- time.sleep(1)
- out = self.dut.send_expect("show port info %s" % port_id, "testpmd> ")
- port_time_up += 1
- self.verify("Link status: down" not in out, "Port %s Link down, please check your link" % port_id)
-
def multimode_test(self, caseIndex):
"""
Setup Strip/Filter/Extend/Insert enable/disable for synthetic test.
@@ -217,7 +203,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan set %s %s' % (dutTxPortId, txvlan), "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
configMode = "Strip %s, filter %s 0x1, extend %s, insert %s" % (temp[0], temp[1], temp[2], "on" if (caseDef & txCase) != 0 else "off")
@@ -236,7 +221,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan reset %s' % dutTxPortId, "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
else:
self.dut.send_expect('rx_vlan add %s %s' % (invlan, dutRxPortId), "testpmd> ")
@@ -249,7 +233,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect('tx_vlan reset %s' % dutTxPortId, "testpmd> ")
self.dut.send_expect('port start all', "testpmd> ")
self.dut.send_expect('start', "testpmd> ")
- self.verify_link_up()
self.dut.send_expect('rx_vlan rm %s %s' % (invlan, dutRxPortId), "testpmd> ")
self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPortId), "testpmd> ")
@@ -378,7 +361,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect("tx_vlan set %s %s" % (dutTxPortId, txvlan), "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect("start", "testpmd> ")
- self.verify_link_up()
self.vlan_send_packet()
out = self.get_tcpdump_package()
@@ -389,7 +371,6 @@ class TestDualVlan(TestCase):
self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ")
self.dut.send_expect("port start all", "testpmd> ")
self.dut.send_expect("start", "testpmd> ")
- self.verify_link_up()
self.vlan_send_packet()
out = self.get_tcpdump_package()
diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_memory.py
index f68a9a6..2f862fa 100644
--- a/tests/TestSuite_external_memory.py
+++ b/tests/TestSuite_external_memory.py
@@ -40,6 +40,7 @@ import time
import framework.utils as utils
from framework.test_case import TestCase
+from framework.pmd_output import PmdOutput
class TestExternalMemory(TestCase):
@@ -49,7 +50,7 @@ class TestExternalMemory(TestCase):
"""
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
-
+ self.pmdout = PmdOutput(self.dut)
self.app_testpmd_path = self.dut.apps_name['test-pmd']
def set_up(self):
@@ -134,6 +135,7 @@ class TestExternalMemory(TestCase):
def verifier_result(self):
self.dut.send_expect("start", "testpmd>",10)
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
self.scapy_send_packet(20)
out = self.dut.send_expect("stop", "testpmd>", 10)
diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index a102288..96ba231 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -134,6 +134,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("set fwd csum", "testpmd> ")
self.dut.send_expect("start", "testpmd> ", 60)
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
def pause_frame_loss_test(self, rx_flow_control='off',
tx_flow_control='off',
@@ -171,6 +172,7 @@ class TestLinkFlowctrl(TestCase):
return port_stats
def send_packets(self, frame):
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
tester_tx_port = self.tester.get_local_port(self.rx_port)
tx_interface = self.tester.get_interface(tester_tx_port)
tester_rx_port = self.tester.get_local_port(self.tx_port)
@@ -530,7 +532,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("port stop 0", "testpmd> ")
self.dut.send_expect("port start 0", "testpmd> ", 60)
self.dut.send_expect("start", "testpmd> ", 60)
-
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
tgenInput = self.get_tgen_input()
result = self.start_traffic(tgenInput)
self.logger.info("Packet loss: %.3f" % result)
@@ -555,6 +557,7 @@ class TestLinkFlowctrl(TestCase):
self.dut.send_expect("port stop 0", "testpmd> ")
self.dut.send_expect("port start 0", "testpmd> ", 60)
self.dut.send_expect("start", "testpmd> ", 60)
+ self.pmdout.wait_link_status_up(self.dutPorts[0])
result = self.start_traffic(tgenInput)
self.logger.info("Packet loss: %.3f" % result)
if self.nic == "niantic":
diff --git a/tests/TestSuite_mtu_update.py b/tests/TestSuite_mtu_update.py
index ad13a8a..f16eb8e 100644
--- a/tests/TestSuite_mtu_update.py
+++ b/tests/TestSuite_mtu_update.py
@@ -235,6 +235,7 @@ class TestMtuUpdate(TestCase):
self.exec("port start all")
self.exec("set fwd mac")
self.exec("start")
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
"""
On 1G NICs, when the jubmo frame MTU set > 1500, the software adjust it to MTU+4.
"""
diff --git a/tests/TestSuite_qos_api.py b/tests/TestSuite_qos_api.py
index 70b3d0d..82c4d0e 100644
--- a/tests/TestSuite_qos_api.py
+++ b/tests/TestSuite_qos_api.py
@@ -120,6 +120,7 @@ class TestQosApi(TestCase):
self.dut.send_expect('port start all', 'testpmd> ')
def scapy_send_packet_verify(self, n):
+ self.host_testpmd.wait_link_status_up(self.dut_ports[0])
self.tester.scapy_foreground()
dmac = self.dut.get_mac_address(P0)
queues_4tc = [0, 32, 64, 96]
@@ -220,7 +221,7 @@ class TestQosApi(TestCase):
self.perf_test(n)
def perf_test(self, n):
-
+ self.host_testpmd.wait_link_status_up(self.dut_ports[0])
dmac = self.dut.get_mac_address(self.dut_ports[0])
pkts = []
for i in range(n):
diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
index 85312c5..499c0ab 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -110,6 +110,7 @@ class TestScatter(TestCase):
self.dut.send_expect("set fwd mac", "testpmd> ", 120)
self.dut.send_expect("start", "testpmd> ")
+ self.pmdout.wait_link_status_up(self.port)
for offset in [-1, 0, 1, 4, 5]:
ret = self.scatter_pktgen_send_packet(self.mbsize + offset)
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
2021-11-22 6:24 Yu Jiang
@ 2021-11-22 7:41 ` Jiang, YuX
2021-11-22 14:51 ` Tu, Lijuan
0 siblings, 1 reply; 8+ messages in thread
From: Jiang, YuX @ 2021-11-22 7:41 UTC (permalink / raw)
To: Lin, Xueqin, dts
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Monday, November 22, 2021 2:25 PM
> To: Lin, Xueqin <xueqin.lin@intel.com>; dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1] Optimize script: wait_link_status_up after start
> testpmd
>
> optimize script:
> ddp_gtp_qregion&dual_vlan&external_memory&link_flowctrl&mtu_update
> &qos_api&scatter
> wait_link_status_up after start testpmd or before send_packets to enhance
> script robustness
>
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>
Tested-by: Yu Jiang <yux.jiang@intel.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
2021-11-22 7:41 ` Jiang, YuX
@ 2021-11-22 14:51 ` Tu, Lijuan
0 siblings, 0 replies; 8+ messages in thread
From: Tu, Lijuan @ 2021-11-22 14:51 UTC (permalink / raw)
To: Jiang, YuX, Lin, Xueqin, dts
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: 2021年11月22日 15:42
> To: Lin, Xueqin <xueqin.lin@intel.com>; dts@dpdk.org
> Subject: RE: [dts][PATCH V1] Optimize script: wait_link_status_up after start
> testpmd
>
> > -----Original Message-----
> > From: Jiang, YuX <yux.jiang@intel.com>
> > Sent: Monday, November 22, 2021 2:25 PM
> > To: Lin, Xueqin <xueqin.lin@intel.com>; dts@dpdk.org
> > Cc: Jiang, YuX <yux.jiang@intel.com>
> > Subject: [dts][PATCH V1] Optimize script: wait_link_status_up after
> > start testpmd
> >
> > optimize script:
> > ddp_gtp_qregion&dual_vlan&external_memory&link_flowctrl&mtu_update
> > &qos_api&scatter
> > wait_link_status_up after start testpmd or before send_packets to
> > enhance script robustness
> >
> > Signed-off-by: Yu Jiang <yux.jiang@intel.com>
> Tested-by: Yu Jiang <yux.jiang@intel.com>
Applied
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
@ 2021-11-19 7:33 Yu Jiang
2021-11-19 8:31 ` Jiang, YuX
0 siblings, 1 reply; 8+ messages in thread
From: Yu Jiang @ 2021-11-19 7:33 UTC (permalink / raw)
To: xueqin.lin, dts; +Cc: Yu Jiang
tests/external_memory&mtu_update&scatter&vxlan: optimize script:
wait_link_status_up after start testpmd to enhance script robustness
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
tests/TestSuite_external_memory.py | 4 +++-
tests/TestSuite_mtu_update.py | 1 +
tests/TestSuite_scatter.py | 1 +
tests/TestSuite_vxlan.py | 18 +++++++++++-------
4 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_memory.py
index f68a9a6..2f862fa 100644
--- a/tests/TestSuite_external_memory.py
+++ b/tests/TestSuite_external_memory.py
@@ -40,6 +40,7 @@ import time
import framework.utils as utils
from framework.test_case import TestCase
+from framework.pmd_output import PmdOutput
class TestExternalMemory(TestCase):
@@ -49,7 +50,7 @@ class TestExternalMemory(TestCase):
"""
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
-
+ self.pmdout = PmdOutput(self.dut)
self.app_testpmd_path = self.dut.apps_name['test-pmd']
def set_up(self):
@@ -134,6 +135,7 @@ class TestExternalMemory(TestCase):
def verifier_result(self):
self.dut.send_expect("start", "testpmd>",10)
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
self.scapy_send_packet(20)
out = self.dut.send_expect("stop", "testpmd>", 10)
diff --git a/tests/TestSuite_mtu_update.py b/tests/TestSuite_mtu_update.py
index ad13a8a..f16eb8e 100644
--- a/tests/TestSuite_mtu_update.py
+++ b/tests/TestSuite_mtu_update.py
@@ -235,6 +235,7 @@ class TestMtuUpdate(TestCase):
self.exec("port start all")
self.exec("set fwd mac")
self.exec("start")
+ self.pmdout.wait_link_status_up(self.dut_ports[0])
"""
On 1G NICs, when the jubmo frame MTU set > 1500, the software adjust it to MTU+4.
"""
diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
index 85312c5..499c0ab 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -110,6 +110,7 @@ class TestScatter(TestCase):
self.dut.send_expect("set fwd mac", "testpmd> ", 120)
self.dut.send_expect("start", "testpmd> ")
+ self.pmdout.wait_link_status_up(self.port)
for offset in [-1, 0, 1, 4, 5]:
ret = self.scatter_pktgen_send_packet(self.mbsize + offset)
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 1442578..9605c89 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -472,8 +472,8 @@ class TestVxlan(TestCase):
config.outer_mac_dst = self.dut_port_mac
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_port)
config.send_pcap(self.tester_iface)
-
# check whether detect vxlan type
out = self.dut.get_session_output(timeout=2)
print(out)
@@ -572,6 +572,7 @@ class TestVxlan(TestCase):
# send vxlan packet
config.create_pcap()
self.dut.send_expect("start", "testpmd>", 10)
+ self.pmdout.wait_link_status_up(self.dut_port)
config.send_pcap(self.tester_iface)
out = self.dut.get_session_output(timeout=2)
print(out)
@@ -606,7 +607,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal packet
self.send_and_detect(outer_udp_dst=1234)
# check vxlan + UDP inner packet
@@ -642,7 +643,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal ipv6 packet
self.send_and_detect(outer_ip6_src="FE80:0:0:0:0:0:0:0",
outer_ip6_dst="FE80:0:0:0:0:0:0:1",
@@ -692,7 +693,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal packet + ip checksum invalid
self.send_and_check(outer_ip_invalid=1, outer_udp_dst=1234)
# check vxlan packet + inner ip checksum invalid
@@ -754,6 +755,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd csum", "testpmd>", 10)
self.csum_set_type('outer-ip', self.recv_port)
self.csum_set_type('udp', self.recv_port)
+ self.csum_set_type('outer-udp', self.recv_port)
self.csum_set_type('tcp', self.recv_port)
self.csum_set_type('sctp', self.recv_port)
self.dut.send_expect("csum parse-tunnel on %d" %
@@ -761,7 +763,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
# check normal ipv6 packet
self.send_and_check(outer_ip6_src="FE80:0:0:0:0:0:0:0",
outer_ip6_dst="FE80:0:0:0:0:0:0:1")
@@ -821,7 +823,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set verbose 1", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
config = VxlanTestConfig(self)
config_vlan = VxlanTestConfig(self, inner_vlan=1)
config.outer_mac_dst = self.dut_port_mac
@@ -892,6 +894,7 @@ class TestVxlan(TestCase):
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
+ self.pmdout.wait_link_status_up(self.dut_port)
rule = 'flow create {} ingress pattern eth / ipv4 / udp / vxlan vni is {} / eth dst is {} / end actions pf ' \
'/ queue index {} / end'.format(self.dut_port,
config.vni,
@@ -1048,7 +1051,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd io", "testpmd>", 10)
self.dut.send_expect("start", "testpmd>", 10)
-
+ self.pmdout.wait_link_status_up(self.dut_port)
if BIDIRECT:
wirespeed = self.wirespeed(self.nic, PACKET_LEN, 2)
else:
@@ -1131,6 +1134,7 @@ class TestVxlan(TestCase):
self.dut.send_expect("set fwd csum", "testpmd>", 10)
self.enable_vxlan(self.dut_port)
self.enable_vxlan(self.recv_port)
+ self.pmdout.wait_link_status_up(self.dut_port)
# redirect flow to another queue by tunnel filter
rule_config = {
--
2.7.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd
2021-11-19 7:33 Yu Jiang
@ 2021-11-19 8:31 ` Jiang, YuX
0 siblings, 0 replies; 8+ messages in thread
From: Jiang, YuX @ 2021-11-19 8:31 UTC (permalink / raw)
To: Lin, Xueqin, dts
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Friday, November 19, 2021 3:34 PM
> To: Lin, Xueqin <xueqin.lin@intel.com>; dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1] Optimize script: wait_link_status_up after start
> testpmd
>
> tests/external_memory&mtu_update&scatter&vxlan: optimize script:
> wait_link_status_up after start testpmd to enhance script robustness
>
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>
Tested-by: Yu Jiang <yux.jiang@intel.com>
[-- Attachment #2: TestScatter.log --]
[-- Type: application/octet-stream, Size: 7729 bytes --]
20/11/2021 00:05:47 dts:
TEST SUITE : TestScatter
20/11/2021 00:05:47 dts: NIC : fortville_25g
20/11/2021 00:05:47 dut.10.240.183.197:
20/11/2021 00:05:47 tester:
20/11/2021 00:05:47 tester: ifconfig ens10 mtu 9000
20/11/2021 00:05:47 tester:
20/11/2021 00:05:47 TestScatter: Test Case test_scatter_mbuf_2048 Begin
20/11/2021 00:05:47 dut.10.240.183.197:
20/11/2021 00:05:47 tester:
20/11/2021 00:05:47 dut.10.240.183.197: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 -a 0000:86:00.0 -a 0000:86:00.1 --file-prefix=dpdk_4475_20211119235206 -- -i --mbcache=200 --mbuf-size=2048 --portmask=0x1 --max-pkt-len=9000 --port-topology=loop --tx-offloads=0x00008000
20/11/2021 00:05:49 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mb_pool_0>: n=153856, size=2048, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=153856, size=2048, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:05:59 dut.10.240.183.197: set fwd mac
20/11/2021 00:05:59 dut.10.240.183.197:
Set mac packet forwarding mode
20/11/2021 00:05:59 dut.10.240.183.197: start
20/11/2021 00:05:59 dut.10.240.183.197:
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x8000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x8000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x8000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x8000 - TX RS bit threshold=32
20/11/2021 00:05:59 dut.10.240.183.197: show port info 0
20/11/2021 00:05:59 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 8974
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:59 tester: ls -d /tmp/tester/
20/11/2021 00:05:59 tester: /tmp/tester/
20/11/2021 00:05:59 tester: rm -rf /tmp/tester/sniff_ens10.pcap
20/11/2021 00:05:59 tester:
20/11/2021 00:06:08 tester: ls -d /tmp/tester/
20/11/2021 00:06:08 tester: /tmp/tester/
20/11/2021 00:06:08 tester: rm -rf /tmp/tester/sniff_ens10.pcap
20/11/2021 00:06:08 tester:
20/11/2021 00:06:16 tester: ls -d /tmp/tester/
20/11/2021 00:06:16 tester: /tmp/tester/
20/11/2021 00:06:16 tester: rm -rf /tmp/tester/sniff_ens10.pcap
20/11/2021 00:06:16 tester:
20/11/2021 00:06:25 tester: ls -d /tmp/tester/
20/11/2021 00:06:25 tester: /tmp/tester/
20/11/2021 00:06:25 tester: rm -rf /tmp/tester/sniff_ens10.pcap
20/11/2021 00:06:25 tester:
20/11/2021 00:06:33 tester: ls -d /tmp/tester/
20/11/2021 00:06:34 tester: /tmp/tester/
20/11/2021 00:06:34 tester: rm -rf /tmp/tester/sniff_ens10.pcap
20/11/2021 00:06:34 tester:
20/11/2021 00:06:42 dut.10.240.183.197: stop
20/11/2021 00:06:42 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 5 RX-dropped: 0 RX-total: 5
TX-packets: 5 TX-dropped: 0 TX-total: 5
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 5 RX-dropped: 0 RX-total: 5
TX-packets: 5 TX-dropped: 0 TX-total: 5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:06:42 dut.10.240.183.197: quit
20/11/2021 00:06:43 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Port 0: link state change event
Done
Shutting down port 0...
Closing ports...
Port 1: link state change event
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
20/11/2021 00:06:43 TestScatter: Test Case test_scatter_mbuf_2048 Result PASSED:
20/11/2021 00:06:43 dts:
TEST SUITE ENDED: TestScatter
[-- Attachment #3: TestVxlan.log --]
[-- Type: application/octet-stream, Size: 209695 bytes --]
19/11/2021 23:58:35 dts:
TEST SUITE : TestVxlan
19/11/2021 23:58:35 dts: NIC : fortville_25g
19/11/2021 23:58:35 dut.10.240.183.197:
19/11/2021 23:58:35 tester:
19/11/2021 23:58:35 TestVxlan: Test Case test_tunnel_filter Begin
19/11/2021 23:58:35 dut.10.240.183.197:
19/11/2021 23:58:35 tester:
19/11/2021 23:58:35 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
19/11/2021 23:58:36 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:58:36 dut.10.240.183.197: set fwd rxonly
19/11/2021 23:58:36 dut.10.240.183.197:
Set rxonly packet forwarding mode
19/11/2021 23:58:36 dut.10.240.183.197: set verbose 1
19/11/2021 23:58:36 dut.10.240.183.197:
Change verbose level from 0 to 1
19/11/2021 23:58:36 dut.10.240.183.197: rx_vxlan_port add 4789 0
19/11/2021 23:58:36 dut.10.240.183.197:
19/11/2021 23:58:36 dut.10.240.183.197: rx_vxlan_port add 4789 1
19/11/2021 23:58:37 dut.10.240.183.197:
19/11/2021 23:58:37 dut.10.240.183.197: show port info 0
19/11/2021 23:58:37 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:38 dut.10.240.183.197: show port info 0
19/11/2021 23:58:38 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:39 dut.10.240.183.197: show port info 0
19/11/2021 23:58:39 dut.10.240.183.197:
Port 1: link state change event
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:39 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:00:20:00:00:01 / vlan tci is 1 / end actions pf / queue index 2 / end
19/11/2021 23:58:39 dut.10.240.183.197:
Flow rule #0 created
19/11/2021 23:58:39 dut.10.240.183.197: start
19/11/2021 23:58:39 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
19/11/2021 23:58:39 dut.10.240.183.197: show port info 0
19/11/2021 23:58:39 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:41 dut.10.240.183.197: port 0/queue 2: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x2
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
19/11/2021 23:58:41 dut.10.240.183.197: flow flush 0
19/11/2021 23:58:41 dut.10.240.183.197:
19/11/2021 23:58:41 dut.10.240.183.197: stop
19/11/2021 23:58:41 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:58:41 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / vlan tci is 1 / end actions pf / queue index 2 / end
19/11/2021 23:58:41 dut.10.240.183.197:
Flow rule #0 created
19/11/2021 23:58:41 dut.10.240.183.197: start
19/11/2021 23:58:41 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
19/11/2021 23:58:41 dut.10.240.183.197: show port info 0
19/11/2021 23:58:41 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:43 dut.10.240.183.197: port 0/queue 2: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x2
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
19/11/2021 23:58:43 dut.10.240.183.197: flow flush 0
19/11/2021 23:58:44 dut.10.240.183.197:
19/11/2021 23:58:44 dut.10.240.183.197: stop
19/11/2021 23:58:44 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:58:44 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
19/11/2021 23:58:44 dut.10.240.183.197:
Flow rule #0 created
19/11/2021 23:58:44 dut.10.240.183.197: start
19/11/2021 23:58:44 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
19/11/2021 23:58:44 dut.10.240.183.197: show port info 0
19/11/2021 23:58:44 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:46 dut.10.240.183.197: port 0/queue 2: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x2
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
19/11/2021 23:58:46 dut.10.240.183.197: flow flush 0
19/11/2021 23:58:46 dut.10.240.183.197:
19/11/2021 23:58:46 dut.10.240.183.197: stop
19/11/2021 23:58:46 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:58:46 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
19/11/2021 23:58:46 dut.10.240.183.197:
Flow rule #0 created
19/11/2021 23:58:46 dut.10.240.183.197: start
19/11/2021 23:58:46 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
19/11/2021 23:58:46 dut.10.240.183.197: show port info 0
19/11/2021 23:58:46 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:48 dut.10.240.183.197: port 0/queue 2: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x2
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
19/11/2021 23:58:48 dut.10.240.183.197: flow flush 0
19/11/2021 23:58:48 dut.10.240.183.197:
19/11/2021 23:58:48 dut.10.240.183.197: stop
19/11/2021 23:58:48 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:58:48 dut.10.240.183.197: flow create 0 ingress pattern eth dst is 3c:fd:fe:b8:97:64 / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
19/11/2021 23:58:49 dut.10.240.183.197:
Flow rule #0 created
19/11/2021 23:58:49 dut.10.240.183.197: start
19/11/2021 23:58:49 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
19/11/2021 23:58:49 dut.10.240.183.197: show port info 0
19/11/2021 23:58:49 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:51 dut.10.240.183.197: port 0/queue 2: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x2
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
19/11/2021 23:58:51 dut.10.240.183.197: flow flush 0
19/11/2021 23:58:51 dut.10.240.183.197:
19/11/2021 23:58:51 dut.10.240.183.197: stop
19/11/2021 23:58:51 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 1 RX-dropped: 0 RX-total: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:58:51 dut.10.240.183.197: quit
19/11/2021 23:58:53 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
19/11/2021 23:58:53 TestVxlan: Test Case test_tunnel_filter Result PASSED:
19/11/2021 23:58:53 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
19/11/2021 23:58:54 TestVxlan: Test Case test_tunnel_filter_invalid Begin
19/11/2021 23:58:54 dut.10.240.183.197:
19/11/2021 23:58:54 tester:
19/11/2021 23:58:54 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
19/11/2021 23:58:55 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:58:55 dut.10.240.183.197: rx_vxlan_port add 4789 0
19/11/2021 23:58:55 dut.10.240.183.197:
19/11/2021 23:58:55 dut.10.240.183.197: rx_vxlan_port add 4789 1
19/11/2021 23:58:55 dut.10.240.183.197:
19/11/2021 23:58:55 dut.10.240.183.197: show port info 0
19/11/2021 23:58:55 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:56 dut.10.240.183.197: show port info 0
19/11/2021 23:58:57 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:58 dut.10.240.183.197: show port info 0
19/11/2021 23:58:58 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:58:58 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:00:00:01 / end actions pf / queue index 3 / end
19/11/2021 23:58:58 dut.10.240.183.197:
Bad arguments
19/11/2021 23:58:58 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth / ipv4 dst is 192.168.1.256 / end actions pf / queue index 3 / end
19/11/2021 23:58:58 dut.10.240.183.197:
Bad arguments
19/11/2021 23:58:58 dut.10.240.183.197: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 64 / end
19/11/2021 23:58:58 dut.10.240.183.197:
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 0x7ffe72e9bf08, Invalid queue ID for tunnel filter: Invalid argument
19/11/2021 23:58:58 dut.10.240.183.197: stop
19/11/2021 23:58:58 dut.10.240.183.197:
Packet forwarding not started
19/11/2021 23:58:58 dut.10.240.183.197: quit
19/11/2021 23:59:00 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
19/11/2021 23:59:00 TestVxlan: Test Case test_tunnel_filter_invalid Result PASSED:
19/11/2021 23:59:00 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
19/11/2021 23:59:00 TestVxlan: Test Case test_vxlan_ipv4_checksum_offload Begin
19/11/2021 23:59:00 dut.10.240.183.197:
19/11/2021 23:59:00 tester:
19/11/2021 23:59:00 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --portmask=0x3 --enable-rx-cksum
19/11/2021 23:59:02 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:02 dut.10.240.183.197: vlan set filter off 0
19/11/2021 23:59:02 dut.10.240.183.197:
19/11/2021 23:59:02 dut.10.240.183.197: set fwd csum
19/11/2021 23:59:02 dut.10.240.183.197:
Set csum packet forwarding mode
19/11/2021 23:59:02 dut.10.240.183.197: port stop all
19/11/2021 23:59:02 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
19/11/2021 23:59:02 dut.10.240.183.197: port stop all
19/11/2021 23:59:02 dut.10.240.183.197:
Stopping ports...
Done
19/11/2021 23:59:02 dut.10.240.183.197: csum set ip hw 1
19/11/2021 23:59:03 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
19/11/2021 23:59:03 dut.10.240.183.197: port start all
19/11/2021 23:59:03 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:03 dut.10.240.183.197: port stop all
19/11/2021 23:59:03 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
19/11/2021 23:59:03 dut.10.240.183.197: csum set outer-ip hw 1
19/11/2021 23:59:03 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
19/11/2021 23:59:03 dut.10.240.183.197: port start all
19/11/2021 23:59:03 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:03 dut.10.240.183.197: port stop all
19/11/2021 23:59:04 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
19/11/2021 23:59:04 dut.10.240.183.197: csum set udp hw 1
19/11/2021 23:59:04 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
19/11/2021 23:59:04 dut.10.240.183.197: port start all
19/11/2021 23:59:05 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:05 dut.10.240.183.197: port stop all
19/11/2021 23:59:05 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
19/11/2021 23:59:05 dut.10.240.183.197: csum set tcp hw 1
19/11/2021 23:59:05 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
19/11/2021 23:59:05 dut.10.240.183.197: port start all
19/11/2021 23:59:05 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:05 dut.10.240.183.197: port stop all
19/11/2021 23:59:05 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
19/11/2021 23:59:05 dut.10.240.183.197: csum set sctp hw 1
19/11/2021 23:59:05 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
19/11/2021 23:59:05 dut.10.240.183.197: port start all
19/11/2021 23:59:06 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
19/11/2021 23:59:06 dut.10.240.183.197: port start all
19/11/2021 23:59:06 dut.10.240.183.197:
Port 0 is now not stopped
Port 1 is now not stopped
Please stop the ports first
Done
19/11/2021 23:59:06 dut.10.240.183.197: csum parse-tunnel on 1
19/11/2021 23:59:06 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
19/11/2021 23:59:06 dut.10.240.183.197: rx_vxlan_port add 4789 0
19/11/2021 23:59:06 dut.10.240.183.197:
19/11/2021 23:59:06 dut.10.240.183.197: rx_vxlan_port add 4789 1
19/11/2021 23:59:06 dut.10.240.183.197:
19/11/2021 23:59:06 dut.10.240.183.197: show port info 0
19/11/2021 23:59:06 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:59:07 dut.10.240.183.197: show port info 0
19/11/2021 23:59:07 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
19/11/2021 23:59:08 TestVxlan: chksums_ref{}
19/11/2021 23:59:08 TestVxlan: vxlan packet [outer_ip_invalid = 1][outer_udp_dst = 1234]
19/11/2021 23:59:08 dut.10.240.183.197: start
19/11/2021 23:59:08 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
19/11/2021 23:59:08 tester: ls -d /tmp/tester/
19/11/2021 23:59:09 tester: /tmp/tester/
19/11/2021 23:59:09 tester: rm -rf /tmp/tester/sniff_ens11.pcap
19/11/2021 23:59:09 tester:
19/11/2021 23:59:20 TestVxlan: chksums{}
19/11/2021 23:59:20 dut.10.240.183.197: stop
19/11/2021 23:59:20 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:59:21 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:21 TestVxlan: vxlan packet [inner_ip_invalid = 1]
19/11/2021 23:59:21 dut.10.240.183.197: start
19/11/2021 23:59:21 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
19/11/2021 23:59:21 tester: ls -d /tmp/tester/
19/11/2021 23:59:21 tester: /tmp/tester/
19/11/2021 23:59:21 tester: rm -rf /tmp/tester/sniff_ens11.pcap
19/11/2021 23:59:21 tester:
19/11/2021 23:59:33 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:33 dut.10.240.183.197: stop
19/11/2021 23:59:33 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:59:34 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:34 TestVxlan: vxlan packet [outer_ip_invalid = 1]
19/11/2021 23:59:34 dut.10.240.183.197: start
19/11/2021 23:59:34 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
19/11/2021 23:59:34 tester: ls -d /tmp/tester/
19/11/2021 23:59:34 tester: /tmp/tester/
19/11/2021 23:59:34 tester: rm -rf /tmp/tester/sniff_ens11.pcap
19/11/2021 23:59:34 tester:
19/11/2021 23:59:45 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:45 dut.10.240.183.197: stop
19/11/2021 23:59:45 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:59:46 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:46 TestVxlan: vxlan packet [outer_ip_invalid = 1][inner_ip_invalid = 1]
19/11/2021 23:59:46 dut.10.240.183.197: start
19/11/2021 23:59:47 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
19/11/2021 23:59:47 tester: ls -d /tmp/tester/
19/11/2021 23:59:47 tester: /tmp/tester/
19/11/2021 23:59:47 tester: rm -rf /tmp/tester/sniff_ens11.pcap
19/11/2021 23:59:47 tester:
19/11/2021 23:59:58 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:58 dut.10.240.183.197: stop
19/11/2021 23:59:58 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
19/11/2021 23:59:59 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
19/11/2021 23:59:59 TestVxlan: vxlan packet [inner_l4_invalid = 1]
19/11/2021 23:59:59 dut.10.240.183.197: start
19/11/2021 23:59:59 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
19/11/2021 23:59:59 tester: ls -d /tmp/tester/
19/11/2021 23:59:59 tester: /tmp/tester/
19/11/2021 23:59:59 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:00:00 tester:
20/11/2021 00:00:11 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:00:11 dut.10.240.183.197: stop
20/11/2021 00:00:11 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:00:12 TestVxlan: chksums_ref{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:00:12 TestVxlan: vxlan packet [inner_l4_invalid = 1][inner_l4_type = TCP]
20/11/2021 00:00:12 dut.10.240.183.197: start
20/11/2021 00:00:12 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:00:12 tester: ls -d /tmp/tester/
20/11/2021 00:00:12 tester: /tmp/tester/
20/11/2021 00:00:12 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:00:12 tester:
20/11/2021 00:00:24 TestVxlan: chksums{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:00:24 dut.10.240.183.197: stop
20/11/2021 00:00:24 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:00:25 TestVxlan: chksums_ref{'inner_ip': '0xf4e5', 'inner_sctp': '0x73f0cf41'}
20/11/2021 00:00:25 TestVxlan: vxlan packet [inner_l4_invalid = 1][inner_l4_type = SCTP]
20/11/2021 00:00:25 dut.10.240.183.197: start
20/11/2021 00:00:25 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:00:25 tester: ls -d /tmp/tester/
20/11/2021 00:00:25 tester: /tmp/tester/
20/11/2021 00:00:25 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:00:25 tester:
20/11/2021 00:00:36 TestVxlan: chksums{'inner_ip': '0xf4e5', 'inner_sctp': '0x73f0cf41'}
20/11/2021 00:00:36 dut.10.240.183.197: stop
20/11/2021 00:00:36 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:00:37 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:00:37 TestVxlan: vxlan packet [outer_vlan = 1][outer_ip_invalid = 1]
20/11/2021 00:00:37 dut.10.240.183.197: start
20/11/2021 00:00:37 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:00:37 tester: ls -d /tmp/tester/
20/11/2021 00:00:38 tester: /tmp/tester/
20/11/2021 00:00:38 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:00:38 tester:
20/11/2021 00:00:49 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:00:49 dut.10.240.183.197: stop
20/11/2021 00:00:49 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:00:50 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:00:50 TestVxlan: vxlan packet [outer_vlan = 1][inner_ip_invalid = 1]
20/11/2021 00:00:50 dut.10.240.183.197: start
20/11/2021 00:00:50 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:00:50 tester: ls -d /tmp/tester/
20/11/2021 00:00:50 tester: /tmp/tester/
20/11/2021 00:00:50 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:00:50 tester:
20/11/2021 00:01:02 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:02 dut.10.240.183.197: stop
20/11/2021 00:01:02 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:01:03 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:03 TestVxlan: vxlan packet [outer_vlan = 1][outer_ip_invalid = 1][inner_ip_invalid = 1]
20/11/2021 00:01:03 dut.10.240.183.197: start
20/11/2021 00:01:03 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:01:03 tester: ls -d /tmp/tester/
20/11/2021 00:01:03 tester: /tmp/tester/
20/11/2021 00:01:03 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:01:03 tester:
20/11/2021 00:01:14 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:14 dut.10.240.183.197: stop
20/11/2021 00:01:15 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:01:16 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:16 TestVxlan: vxlan packet [outer_vlan = 1][inner_vlan = 1][outer_ip_invalid = 1]
20/11/2021 00:01:16 dut.10.240.183.197: start
20/11/2021 00:01:16 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:01:16 tester: ls -d /tmp/tester/
20/11/2021 00:01:16 tester: /tmp/tester/
20/11/2021 00:01:16 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:01:16 tester:
20/11/2021 00:01:27 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:27 dut.10.240.183.197: stop
20/11/2021 00:01:27 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:01:28 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:28 TestVxlan: vxlan packet [outer_vlan = 1][inner_vlan = 1][inner_ip_invalid = 1]
20/11/2021 00:01:28 dut.10.240.183.197: start
20/11/2021 00:01:28 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:01:28 tester: ls -d /tmp/tester/
20/11/2021 00:01:29 tester: /tmp/tester/
20/11/2021 00:01:29 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:01:29 tester:
20/11/2021 00:01:40 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:40 dut.10.240.183.197: stop
20/11/2021 00:01:40 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:01:41 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:41 TestVxlan: vxlan packet [outer_vlan = 1][inner_vlan = 1][outer_ip_invalid = 1][inner_ip_invalid = 1]
20/11/2021 00:01:41 dut.10.240.183.197: start
20/11/2021 00:01:41 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:01:41 tester: ls -d /tmp/tester/
20/11/2021 00:01:41 tester: /tmp/tester/
20/11/2021 00:01:41 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:01:41 tester:
20/11/2021 00:01:53 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:53 dut.10.240.183.197: stop
20/11/2021 00:01:53 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 1
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:01:54 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:01:54 TestVxlan: vxlan packet [outer_vlan = 1][inner_l4_invalid = 1][inner_l4_type = UDP]
20/11/2021 00:01:54 dut.10.240.183.197: start
20/11/2021 00:01:54 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:01:54 tester: ls -d /tmp/tester/
20/11/2021 00:01:54 tester: /tmp/tester/
20/11/2021 00:01:54 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:01:54 tester:
20/11/2021 00:02:05 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:02:05 dut.10.240.183.197: stop
20/11/2021 00:02:05 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:02:06 TestVxlan: chksums_ref{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:02:06 TestVxlan: vxlan packet [outer_vlan = 1][inner_l4_invalid = 1][inner_l4_type = TCP]
20/11/2021 00:02:06 dut.10.240.183.197: start
20/11/2021 00:02:07 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:02:07 tester: ls -d /tmp/tester/
20/11/2021 00:02:07 tester: /tmp/tester/
20/11/2021 00:02:07 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:02:07 tester:
20/11/2021 00:02:18 TestVxlan: chksums{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:02:18 dut.10.240.183.197: stop
20/11/2021 00:02:18 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:02:19 TestVxlan: chksums_ref{'inner_ip': '0xf4e5', 'inner_sctp': '0x73f0cf41'}
20/11/2021 00:02:19 TestVxlan: vxlan packet [outer_vlan = 1][inner_l4_invalid = 1][inner_l4_type = SCTP]
20/11/2021 00:02:19 dut.10.240.183.197: start
20/11/2021 00:02:19 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x1009e
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x1009e - TX RS bit threshold=32
20/11/2021 00:02:19 tester: ls -d /tmp/tester/
20/11/2021 00:02:19 tester: /tmp/tester/
20/11/2021 00:02:19 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:02:19 tester:
20/11/2021 00:02:31 TestVxlan: chksums{'inner_ip': '0xf4e5', 'inner_sctp': '0x73f0cf41'}
20/11/2021 00:02:31 dut.10.240.183.197: stop
20/11/2021 00:02:31 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:02:31 dut.10.240.183.197: quit
20/11/2021 00:02:33 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
20/11/2021 00:02:33 TestVxlan: Test Case test_vxlan_ipv4_checksum_offload Result PASSED:
20/11/2021 00:02:33 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
20/11/2021 00:02:33 TestVxlan: Test Case test_vxlan_ipv4_detect Begin
20/11/2021 00:02:33 dut.10.240.183.197:
20/11/2021 00:02:33 tester:
20/11/2021 00:02:33 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
20/11/2021 00:02:35 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:35 dut.10.240.183.197: set fwd rxonly
20/11/2021 00:02:35 dut.10.240.183.197:
Set rxonly packet forwarding mode
20/11/2021 00:02:35 dut.10.240.183.197: set verbose 1
20/11/2021 00:02:35 dut.10.240.183.197:
Change verbose level from 0 to 1
20/11/2021 00:02:35 dut.10.240.183.197: rx_vxlan_port add 4789 0
20/11/2021 00:02:35 dut.10.240.183.197:
20/11/2021 00:02:35 dut.10.240.183.197: rx_vxlan_port add 4789 1
20/11/2021 00:02:35 dut.10.240.183.197:
20/11/2021 00:02:35 dut.10.240.183.197: show port info 0
20/11/2021 00:02:35 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:36 dut.10.240.183.197: show port info 0
20/11/2021 00:02:36 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:37 dut.10.240.183.197: show port info 0
20/11/2021 00:02:37 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:37 TestVxlan: send vxlan pkts [outer_udp_dst = 1234]
20/11/2021 00:02:37 dut.10.240.183.197: start
20/11/2021 00:02:37 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
20/11/2021 00:02:37 dut.10.240.183.197: show port info 0
20/11/2021 00:02:37 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:39 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:39 TestVxlan: send vxlan pkts [inner_l4_type = UDP]
20/11/2021 00:02:39 dut.10.240.183.197: start
20/11/2021 00:02:39 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:02:39 dut.10.240.183.197: show port info 0
20/11/2021 00:02:39 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:42 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:42 TestVxlan: send vxlan pkts [inner_l4_type = TCP]
20/11/2021 00:02:42 dut.10.240.183.197: start
20/11/2021 00:02:42 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:02:42 dut.10.240.183.197: show port info 0
20/11/2021 00:02:42 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:44 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=122 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:44 TestVxlan: send vxlan pkts [inner_l4_type = SCTP]
20/11/2021 00:02:44 dut.10.240.183.197: start
20/11/2021 00:02:44 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:02:44 dut.10.240.183.197: show port info 0
20/11/2021 00:02:44 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:46 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:46 TestVxlan: send vxlan pkts [outer_vlan = 1]
20/11/2021 00:02:46 dut.10.240.183.197: start
20/11/2021 00:02:46 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:02:46 dut.10.240.183.197: show port info 0
20/11/2021 00:02:46 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:48 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x8100 - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:48 TestVxlan: send vxlan pkts [outer_vlan = 1][inner_vlan = 1]
20/11/2021 00:02:48 dut.10.240.183.197: start
20/11/2021 00:02:48 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:02:48 dut.10.240.183.197: show port info 0
20/11/2021 00:02:48 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:02:50 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x8100 - length=118 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:02:50 dut.10.240.183.197: stop
20/11/2021 00:02:51 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 6 RX-dropped: 0 RX-total: 6
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 6 RX-dropped: 0 RX-total: 6
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:02:51 dut.10.240.183.197: quit
20/11/2021 00:02:53 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
20/11/2021 00:02:53 TestVxlan: Test Case test_vxlan_ipv4_detect Result PASSED:
20/11/2021 00:02:53 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
20/11/2021 00:02:53 TestVxlan: Test Case test_vxlan_ipv6_checksum_offload Begin
20/11/2021 00:02:54 dut.10.240.183.197:
20/11/2021 00:02:54 tester:
20/11/2021 00:02:54 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --portmask=0x3 --enable-rx-cksum
20/11/2021 00:02:55 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:55 dut.10.240.183.197: vlan set filter off 0
20/11/2021 00:02:55 dut.10.240.183.197:
20/11/2021 00:02:55 dut.10.240.183.197: set fwd csum
20/11/2021 00:02:55 dut.10.240.183.197:
Set csum packet forwarding mode
20/11/2021 00:02:55 dut.10.240.183.197: port stop all
20/11/2021 00:02:56 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:02:56 dut.10.240.183.197: csum set outer-ip hw 1
20/11/2021 00:02:56 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
20/11/2021 00:02:56 dut.10.240.183.197: port start all
20/11/2021 00:02:57 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:57 dut.10.240.183.197: port stop all
20/11/2021 00:02:57 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:02:57 dut.10.240.183.197: csum set udp hw 1
20/11/2021 00:02:57 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
20/11/2021 00:02:57 dut.10.240.183.197: port start all
20/11/2021 00:02:57 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:57 dut.10.240.183.197: port stop all
20/11/2021 00:02:58 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:02:58 dut.10.240.183.197: csum set outer-udp hw 1
20/11/2021 00:02:58 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is hw
20/11/2021 00:02:58 dut.10.240.183.197: port start all
20/11/2021 00:02:58 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:58 dut.10.240.183.197: port stop all
20/11/2021 00:02:58 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:02:58 dut.10.240.183.197: csum set tcp hw 1
20/11/2021 00:02:58 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is sw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is hw
20/11/2021 00:02:58 dut.10.240.183.197: port start all
20/11/2021 00:02:59 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:59 dut.10.240.183.197: port stop all
20/11/2021 00:02:59 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:02:59 dut.10.240.183.197: csum set sctp hw 1
20/11/2021 00:02:59 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is hw
20/11/2021 00:02:59 dut.10.240.183.197: port start all
20/11/2021 00:02:59 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:02:59 dut.10.240.183.197: csum parse-tunnel on 1
20/11/2021 00:03:00 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is hw
20/11/2021 00:03:00 dut.10.240.183.197: rx_vxlan_port add 4789 0
20/11/2021 00:03:00 dut.10.240.183.197:
20/11/2021 00:03:00 dut.10.240.183.197: rx_vxlan_port add 4789 1
20/11/2021 00:03:00 dut.10.240.183.197:
20/11/2021 00:03:00 dut.10.240.183.197: show port info 0
20/11/2021 00:03:00 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:03:01 dut.10.240.183.197: show port info 0
20/11/2021 00:03:01 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:03:02 dut.10.240.183.197: show port info 0
20/11/2021 00:03:02 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:03:02 dut.10.240.183.197: port stop all
20/11/2021 00:03:02 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:02 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:03:02 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:03:02 dut.10.240.183.197: port start all
20/11/2021 00:03:02 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:02 dut.10.240.183.197: port stop all
20/11/2021 00:03:03 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:03 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:03:03 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:03:03 dut.10.240.183.197: port start all
20/11/2021 00:03:03 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:04 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:04 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1]
20/11/2021 00:03:04 dut.10.240.183.197: start
20/11/2021 00:03:04 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:03:04 tester: ls -d /tmp/tester/
20/11/2021 00:03:04 tester: /tmp/tester/
20/11/2021 00:03:04 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:03:04 tester:
20/11/2021 00:03:16 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:16 dut.10.240.183.197: stop
20/11/2021 00:03:16 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:03:16 dut.10.240.183.197: port stop all
20/11/2021 00:03:16 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:16 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:03:16 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:03:16 dut.10.240.183.197: port start all
20/11/2021 00:03:17 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:17 dut.10.240.183.197: port stop all
20/11/2021 00:03:17 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:17 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:03:17 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:03:17 dut.10.240.183.197: port start all
20/11/2021 00:03:17 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:18 TestVxlan: chksums_ref{}
20/11/2021 00:03:18 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][outer_udp_dst = 1234]
20/11/2021 00:03:18 dut.10.240.183.197: start
20/11/2021 00:03:18 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:03:18 tester: ls -d /tmp/tester/
20/11/2021 00:03:18 tester: /tmp/tester/
20/11/2021 00:03:18 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:03:18 tester:
20/11/2021 00:03:30 TestVxlan: chksums{}
20/11/2021 00:03:30 dut.10.240.183.197: stop
20/11/2021 00:03:30 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:03:30 dut.10.240.183.197: port stop all
20/11/2021 00:03:30 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:30 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:03:30 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:03:30 dut.10.240.183.197: port start all
20/11/2021 00:03:31 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:31 dut.10.240.183.197: port stop all
20/11/2021 00:03:31 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:31 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:03:31 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:03:31 dut.10.240.183.197: port start all
20/11/2021 00:03:32 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:33 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:33 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_ip_invalid = 1]
20/11/2021 00:03:33 dut.10.240.183.197: start
20/11/2021 00:03:33 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:03:33 tester: ls -d /tmp/tester/
20/11/2021 00:03:33 tester: /tmp/tester/
20/11/2021 00:03:33 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:03:33 tester:
20/11/2021 00:03:44 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:44 dut.10.240.183.197: stop
20/11/2021 00:03:44 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 1 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:03:44 dut.10.240.183.197: port stop all
20/11/2021 00:03:44 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:44 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:03:45 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:03:45 dut.10.240.183.197: port start all
20/11/2021 00:03:45 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:45 dut.10.240.183.197: port stop all
20/11/2021 00:03:46 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:46 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:03:46 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:03:46 dut.10.240.183.197: port start all
20/11/2021 00:03:46 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:03:47 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:47 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = UDP]
20/11/2021 00:03:47 dut.10.240.183.197: start
20/11/2021 00:03:47 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:03:47 tester: ls -d /tmp/tester/
20/11/2021 00:03:47 tester: /tmp/tester/
20/11/2021 00:03:47 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:03:47 tester:
20/11/2021 00:03:59 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:03:59 dut.10.240.183.197: stop
20/11/2021 00:03:59 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:03:59 dut.10.240.183.197: port stop all
20/11/2021 00:03:59 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:03:59 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:03:59 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:03:59 dut.10.240.183.197: port start all
20/11/2021 00:04:00 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:00 dut.10.240.183.197: port stop all
20/11/2021 00:04:00 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:00 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:04:00 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:04:00 dut.10.240.183.197: port start all
20/11/2021 00:04:00 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:01 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:04:01 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = UDP]
20/11/2021 00:04:01 dut.10.240.183.197: start
20/11/2021 00:04:01 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:04:02 tester: ls -d /tmp/tester/
20/11/2021 00:04:02 tester: /tmp/tester/
20/11/2021 00:04:02 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:04:02 tester:
20/11/2021 00:04:13 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:04:13 dut.10.240.183.197: stop
20/11/2021 00:04:13 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:04:13 dut.10.240.183.197: port stop all
20/11/2021 00:04:13 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:13 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:04:13 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:04:13 dut.10.240.183.197: port start all
20/11/2021 00:04:14 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:14 dut.10.240.183.197: port stop all
20/11/2021 00:04:15 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:15 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:04:15 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:04:15 dut.10.240.183.197: port start all
20/11/2021 00:04:15 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:16 TestVxlan: chksums_ref{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:04:16 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = TCP]
20/11/2021 00:04:16 dut.10.240.183.197: start
20/11/2021 00:04:16 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:04:16 tester: ls -d /tmp/tester/
20/11/2021 00:04:16 tester: /tmp/tester/
20/11/2021 00:04:16 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:04:16 tester:
20/11/2021 00:04:27 TestVxlan: chksums{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:04:27 dut.10.240.183.197: stop
20/11/2021 00:04:28 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:04:28 dut.10.240.183.197: port stop all
20/11/2021 00:04:28 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:28 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:04:28 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:04:28 dut.10.240.183.197: port start all
20/11/2021 00:04:28 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:28 dut.10.240.183.197: port stop all
20/11/2021 00:04:29 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:29 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:04:29 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:04:29 dut.10.240.183.197: port start all
20/11/2021 00:04:29 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:30 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:04:30 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = UDP][outer_vlan = 1]
20/11/2021 00:04:30 dut.10.240.183.197: start
20/11/2021 00:04:30 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:04:30 tester: ls -d /tmp/tester/
20/11/2021 00:04:30 tester: /tmp/tester/
20/11/2021 00:04:30 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:04:31 tester:
20/11/2021 00:04:42 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:04:42 dut.10.240.183.197: stop
20/11/2021 00:04:42 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:04:42 dut.10.240.183.197: port stop all
20/11/2021 00:04:42 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:42 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:04:42 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:04:42 dut.10.240.183.197: port start all
20/11/2021 00:04:43 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:43 dut.10.240.183.197: port stop all
20/11/2021 00:04:43 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:43 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:04:43 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:04:43 dut.10.240.183.197: port start all
20/11/2021 00:04:44 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:45 TestVxlan: chksums_ref{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:04:45 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = TCP][outer_vlan = 1]
20/11/2021 00:04:45 dut.10.240.183.197: start
20/11/2021 00:04:45 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:04:45 tester: ls -d /tmp/tester/
20/11/2021 00:04:45 tester: /tmp/tester/
20/11/2021 00:04:45 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:04:45 tester:
20/11/2021 00:04:56 TestVxlan: chksums{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:04:56 dut.10.240.183.197: stop
20/11/2021 00:04:56 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:04:56 dut.10.240.183.197: port stop all
20/11/2021 00:04:57 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:57 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:04:57 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:04:57 dut.10.240.183.197: port start all
20/11/2021 00:04:57 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:57 dut.10.240.183.197: port stop all
20/11/2021 00:04:58 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:04:58 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:04:58 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:04:58 dut.10.240.183.197: port start all
20/11/2021 00:04:58 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:04:59 TestVxlan: chksums_ref{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:04:59 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = UDP][outer_vlan = 1][inner_vlan = 1]
20/11/2021 00:04:59 dut.10.240.183.197: start
20/11/2021 00:04:59 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:04:59 tester: ls -d /tmp/tester/
20/11/2021 00:04:59 tester: /tmp/tester/
20/11/2021 00:04:59 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:04:59 tester:
20/11/2021 00:05:11 TestVxlan: chksums{'inner_ip': '0xf56a', 'inner_udp': '0x5ee1'}
20/11/2021 00:05:11 dut.10.240.183.197: stop
20/11/2021 00:05:11 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:05:11 dut.10.240.183.197: port stop all
20/11/2021 00:05:11 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:05:11 dut.10.240.183.197: csum set outer-ip sw 0
20/11/2021 00:05:11 dut.10.240.183.197:
Parse tunnel is off
IP checksum offload is sw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
20/11/2021 00:05:11 dut.10.240.183.197: port start all
20/11/2021 00:05:12 dut.10.240.183.197:
Configuring Port 0 (socket 1)
Port 1: link state change event
Port 0: 3C:FD:FE:B8:97:64
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:05:12 dut.10.240.183.197: port stop all
20/11/2021 00:05:12 dut.10.240.183.197:
Stopping ports...
Checking link statuses...
Done
20/11/2021 00:05:12 dut.10.240.183.197: csum set outer-ip sw 1
20/11/2021 00:05:12 dut.10.240.183.197:
Parse tunnel is on
IP checksum offload is sw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is hw
20/11/2021 00:05:12 dut.10.240.183.197: port start all
20/11/2021 00:05:13 dut.10.240.183.197:
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:05:14 TestVxlan: chksums_ref{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:05:14 TestVxlan: vxlan packet [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_invalid = 1][inner_l4_type = TCP][outer_vlan = 1][inner_vlan = 1]
20/11/2021 00:05:14 dut.10.240.183.197: start
20/11/2021 00:05:14 dut.10.240.183.197:
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
csum packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0xe Tx offloads=0x11001c
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0xe
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x11001c - TX RS bit threshold=32
20/11/2021 00:05:14 tester: ls -d /tmp/tester/
20/11/2021 00:05:14 tester: /tmp/tester/
20/11/2021 00:05:14 tester: rm -rf /tmp/tester/sniff_ens11.pcap
20/11/2021 00:05:14 tester:
20/11/2021 00:05:25 TestVxlan: chksums{'inner_ip': '0xf569', 'inner_tcp': '0xeefd'}
20/11/2021 00:05:25 dut.10.240.183.197: stop
20/11/2021 00:05:25 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
Bad-ipcsum: 0 Bad-l4csum: 1 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0
Bad-outer-ipcsum: 0
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:05:25 dut.10.240.183.197: quit
20/11/2021 00:05:27 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
20/11/2021 00:05:27 TestVxlan: Test Case test_vxlan_ipv6_checksum_offload Result PASSED:
20/11/2021 00:05:27 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
20/11/2021 00:05:28 TestVxlan: Test Case test_vxlan_ipv6_detect Begin
20/11/2021 00:05:28 dut.10.240.183.197:
20/11/2021 00:05:28 tester:
20/11/2021 00:05:28 dut.10.240.183.197: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_4475_20211119235206 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
20/11/2021 00:05:29 dut.10.240.183.197: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_4475_20211119235206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.0 (socket 1)
EAL: Probe PCI driver: net_i40e (8086:158b) device: 0000:86:00.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:B8:97:64
Configuring Port 1 (socket 1)
Port 1: 3C:FD:FE:B8:97:65
Checking link statuses...
Done
20/11/2021 00:05:29 dut.10.240.183.197: set fwd rxonly
20/11/2021 00:05:29 dut.10.240.183.197:
Set rxonly packet forwarding mode
20/11/2021 00:05:29 dut.10.240.183.197: set verbose 1
20/11/2021 00:05:29 dut.10.240.183.197:
Change verbose level from 0 to 1
20/11/2021 00:05:29 dut.10.240.183.197: rx_vxlan_port add 4789 0
20/11/2021 00:05:29 dut.10.240.183.197:
20/11/2021 00:05:29 dut.10.240.183.197: rx_vxlan_port add 4789 1
20/11/2021 00:05:29 dut.10.240.183.197:
20/11/2021 00:05:29 dut.10.240.183.197: show port info 0
20/11/2021 00:05:29 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:30 dut.10.240.183.197: show port info 0
20/11/2021 00:05:31 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: down
Link speed: None
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:32 dut.10.240.183.197: show port info 0
20/11/2021 00:05:32 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:32 TestVxlan: send vxlan pkts [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][outer_udp_dst = 1234]
20/11/2021 00:05:32 dut.10.240.183.197: start
20/11/2021 00:05:32 dut.10.240.183.197:
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 2 streams:
RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 2 streams:
RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 2 streams:
RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=4 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=256 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=256 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
20/11/2021 00:05:32 dut.10.240.183.197: show port info 0
20/11/2021 00:05:32 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:34 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x86dd - length=80 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:05:34 TestVxlan: send vxlan pkts [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_type = UDP]
20/11/2021 00:05:34 dut.10.240.183.197: start
20/11/2021 00:05:34 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:05:34 dut.10.240.183.197: show port info 0
20/11/2021 00:05:34 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:36 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x86dd - length=130 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - VXLAN packet: packet type =24801, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:05:36 TestVxlan: send vxlan pkts [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_type = TCP]
20/11/2021 00:05:36 dut.10.240.183.197: start
20/11/2021 00:05:36 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:05:36 dut.10.240.183.197: show port info 0
20/11/2021 00:05:36 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:38 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x86dd - length=142 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - VXLAN packet: packet type =24801, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:05:38 TestVxlan: send vxlan pkts [outer_ip6_src = FE80:0:0:0:0:0:0:0][outer_ip6_dst = FE80:0:0:0:0:0:0:1][inner_l4_type = SCTP]
20/11/2021 00:05:38 dut.10.240.183.197: start
20/11/2021 00:05:38 dut.10.240.183.197:
Packet forwarding already ed
20/11/2021 00:05:38 dut.10.240.183.197: show port info 0
20/11/2021 00:05:38 dut.10.240.183.197:
********************* Infos for port 0 *********************
MAC address: 3C:FD:FE:B8:97:64
Device name: 0000:86:00.0
Driver name: net_i40e
Firmware-version: 8.30 0x8000a4d5 1.1691.0
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 25 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Maximum number of VMDq pools: 64
Current number of RX queues: 4
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 4
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 255
Max segment number per MTU/TSO: 8
Device capabilities: 0x3( RUNTIME_RX_QUEUE_SETUP RUNTIME_TX_QUEUE_SETUP )
20/11/2021 00:05:41 dut.10.240.183.197: port 0/queue 0: received 1 packets
src=00:00:10:00:00:00 - dst=3C:FD:FE:B8:97:64 - type=0x86dd - length=148 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - VXLAN packet: packet type =24801, Destination UDP port =4789, VNI = 1, last_rsvd = 0 - Receive queue=0x0
ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
20/11/2021 00:05:41 dut.10.240.183.197: stop
20/11/2021 00:05:41 dut.10.240.183.197:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
20/11/2021 00:05:41 dut.10.240.183.197: quit
20/11/2021 00:05:43 dut.10.240.183.197:
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
20/11/2021 00:05:43 TestVxlan: Test Case test_vxlan_ipv6_detect Result PASSED:
20/11/2021 00:05:43 dut.10.240.183.197: kill_all: called by dut and prefix list has value.
20/11/2021 00:05:43 dts:
TEST SUITE ENDED: TestVxlan
[-- Attachment #4: TestExternalMemory.log --]
[-- Type: application/octet-stream, Size: 62974 bytes --]
[-- Attachment #5: TestMtuUpdate.log --]
[-- Type: application/octet-stream, Size: 135988 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-11-30 3:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 7:50 [dts][PATCH V1] Optimize script: wait_link_status_up after start testpmd Yu Jiang
-- strict thread matches above, loose matches on Subject: below --
2021-11-24 8:33 Yu Jiang
2021-11-30 3:28 ` Tu, Lijuan
2021-11-22 6:24 Yu Jiang
2021-11-22 7:41 ` Jiang, YuX
2021-11-22 14:51 ` Tu, Lijuan
2021-11-19 7:33 Yu Jiang
2021-11-19 8:31 ` Jiang, YuX
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).