From: "Zhu, WenhuiX" <wenhuix.zhu@intel.com>
To: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zeng, XiaoxiaoX" <xiaoxiaox.zeng@intel.com>
Subject: Re: [dts] [PATCH V2] tests/port_control:add if else to suit cvl
Date: Thu, 9 Jan 2020 03:05:41 +0000 [thread overview]
Message-ID: <E08767FB2CE10642B6780736EAC070F604A3476B@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1578538118-234221-1-git-send-email-xiaoxiaox.zeng@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]
Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao
Sent: Thursday, January 9, 2020 10:49 AM
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V2] tests/port_control:add if else to suit cvl
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
tests/TestSuite_port_control.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py index a458add..f006ddb 100644
--- a/tests/TestSuite_port_control.py
+++ b/tests/TestSuite_port_control.py
@@ -166,12 +166,18 @@ class TestPortControl(TestCase):
terminal.execute_cmd("stop")
terminal.execute_cmd("port stop all")
ret = terminal.get_port_link_status(self.port_id_0)
- self.verify(ret == "down", "port not down!")
+ if self.nic.startswith('columbiaville'):
+ self.verify(ret != "", "port status error!")
+ else:
+ self.verify(ret == "down", "port not down!")
def reset_pmd_port(self, terminal):
terminal.execute_cmd("port reset all")
ret = terminal.get_port_link_status(self.port_id_0)
- self.verify(ret == "down", "port reset fail!")
+ if self.nic.startswith('columbiaville'):
+ self.verify(ret != "", "port status error!")
+ else:
+ self.verify(ret == "down", "port not down!")
def close_pmd_port(self, terminal):
terminal.execute_cmd("port close all")
--
1.8.3.1
[-- Attachment #2: TestPortControl.log --]
[-- Type: application/octet-stream, Size: 33698 bytes --]
10/01/2020 05:40:11 dts:
TEST SUITE : TestPortControl
10/01/2020 05:40:11 dts: NIC : columbiaville_25g
10/01/2020 05:40:11 dut.10.238.54.221:
10/01/2020 05:40:11 tester:
10/01/2020 05:40:11 dut.10.238.54.221: modprobe vfio-pci
10/01/2020 05:40:11 dut.10.238.54.221:
10/01/2020 05:40:11 TestPortControl: Test Case test_pf_start_stop_reset_close Begin
10/01/2020 05:40:11 dut.10.238.54.221:
10/01/2020 05:40:11 tester:
10/01/2020 05:40:11 dut.10.238.54.221: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:3b:00.0 --file-prefix=dpdk_20504_20200110053846 -- -i
10/01/2020 05:40:12 dut.10.238.54.221: EAL: Detected 96 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_20504_20200110053846/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:3b:00.0 on NUMA socket 0
EAL: probe driver: 8086:1593 net_ice
ice_load_pkg_type(): Active package is: 1.3.10.0, ICE COMMS Package
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 00:00:00:00:01:00
Checking link statuses...
Done
10/01/2020 05:40:22 dut.10.238.54.221: show port info all
10/01/2020 05:40:22 dut.10.238.54.221: show port info all
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:22 dut.10.238.54.221: set fwd mac
10/01/2020 05:40:22 dut.10.238.54.221: set fwd mac
Set mac packet forwarding mode
10/01/2020 05:40:22 dut.10.238.54.221: set promisc all off
10/01/2020 05:40:22 dut.10.238.54.221: set promisc all off
10/01/2020 05:40:22 dut.10.238.54.221: port start all
10/01/2020 05:40:22 dut.10.238.54.221: port start all
Port 0 is now not stopped
Please stop the ports first
Done
10/01/2020 05:40:22 dut.10.238.54.221: start
10/01/2020 05:40:22 dut.10.238.54.221: start
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 0) -> TX P=0/Q=0 (socket 0) 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=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
10/01/2020 05:40:22 dut.10.238.54.221: show port info all
10/01/2020 05:40:23 dut.10.238.54.221: show port info all
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:23 dut.10.238.54.221: show port info 0
10/01/2020 05:40:23 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:23 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:23 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
10/01/2020 05:40:23 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.pcap1578634823.16 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:25 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.cmd1578634823.16 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:28 tester: python /tmp/tester/scapy_ens9.cmd1578634823.16
10/01/2020 05:40:29 tester: packet ready for sending...
Ether(src='00:00:00:00:00:00', dst='00:00:00:00:01:00', type=2048)/IP(frag=0, src='127.0.0.1', proto=0, tos=0, dst='127.0.0.1', chksum=31935, len=60, id=1, version=4, flags=0, ihl=5, ttl=64)/Raw(load='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Sent 1000 packets.
10/01/2020 05:40:29 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:29 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1000 RX-missed: 0 RX-bytes: 74000
RX-errors: 0
RX-nombuf: 0
TX-packets: 1000 TX-errors: 0 TX-bytes: 74000
Throughput (since last show)
Rx-pps: 161 Rx-bps: 95736
Tx-pps: 161 Tx-bps: 95736
############################################################################
10/01/2020 05:40:29 dut.10.238.54.221: stop
10/01/2020 05:40:29 dut.10.238.54.221: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
10/01/2020 05:40:29 dut.10.238.54.221: port stop all
10/01/2020 05:40:29 dut.10.238.54.221: port stop all
Stopping ports...
Checking link statuses...
Done
10/01/2020 05:40:29 dut.10.238.54.221: show port info 0
10/01/2020 05:40:29 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:29 dut.10.238.54.221: port start all
10/01/2020 05:40:29 dut.10.238.54.221: port start all
Port 0: 00:00:00:00:01:00
Checking link statuses...
Done
10/01/2020 05:40:29 dut.10.238.54.221: start
10/01/2020 05:40:29 dut.10.238.54.221: start
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 0) -> TX P=0/Q=0 (socket 0) 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=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
10/01/2020 05:40:29 dut.10.238.54.221: show port info all
10/01/2020 05:40:29 dut.10.238.54.221: show port info all
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:29 dut.10.238.54.221: show port info 0
10/01/2020 05:40:29 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:29 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:29 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1000 RX-missed: 0 RX-bytes: 74000
RX-errors: 0
RX-nombuf: 0
TX-packets: 1000 TX-errors: 0 TX-bytes: 74000
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
10/01/2020 05:40:29 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.pcap1578634829.88 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:32 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.cmd1578634829.88 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:34 tester: python /tmp/tester/scapy_ens9.cmd1578634829.88
10/01/2020 05:40:36 tester: packet ready for sending...
Ether(src='00:00:00:00:00:00', dst='00:00:00:00:01:00', type=2048)/IP(frag=0, src='127.0.0.1', proto=0, tos=0, dst='127.0.0.1', chksum=31935, len=60, id=1, version=4, flags=0, ihl=5, ttl=64)/Raw(load='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Sent 1000 packets.
10/01/2020 05:40:36 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:36 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 2000 RX-missed: 0 RX-bytes: 148000
RX-errors: 0
RX-nombuf: 0
TX-packets: 2000 TX-errors: 0 TX-bytes: 148000
Throughput (since last show)
Rx-pps: 161 Rx-bps: 95712
Tx-pps: 161 Tx-bps: 95712
############################################################################
10/01/2020 05:40:36 dut.10.238.54.221: stop
10/01/2020 05:40:36 dut.10.238.54.221: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
10/01/2020 05:40:36 dut.10.238.54.221: port stop all
10/01/2020 05:40:36 dut.10.238.54.221: port stop all
Stopping ports...
Checking link statuses...
Done
10/01/2020 05:40:36 dut.10.238.54.221: show port info 0
10/01/2020 05:40:36 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:36 dut.10.238.54.221: port reset all
10/01/2020 05:40:36 dut.10.238.54.221: port reset all
Resetting ports...
Device with port_id=0 already stopped
ice_load_pkg_type(): Active package is: 1.3.10.0, ICE COMMS Package
Done
10/01/2020 05:40:36 dut.10.238.54.221: show port info 0
10/01/2020 05:40:36 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 0
Max possible RX queues: 64
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: 0
Max possible TX queues: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:36 dut.10.238.54.221: port start all
10/01/2020 05:40:36 dut.10.238.54.221: port start all
Configuring Port 0 (socket 0)
Port 0: 00:00:00:00:01:00
Checking link statuses...
Done
10/01/2020 05:40:36 dut.10.238.54.221: start
10/01/2020 05:40:36 dut.10.238.54.221: start
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 0) -> TX P=0/Q=0 (socket 0) 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=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
10/01/2020 05:40:36 dut.10.238.54.221: show port info all
10/01/2020 05:40:36 dut.10.238.54.221: show port info all
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:36 dut.10.238.54.221: show port info 0
10/01/2020 05:40:37 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:37 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:37 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
10/01/2020 05:40:37 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.pcap1578634837.12 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:39 tester: scp -v /home/autoregression/azhu/output/tmp/pcap/scapy_ens9.cmd1578634837.12 root@10.238.54.182:/tmp/tester/
10/01/2020 05:40:41 tester: python /tmp/tester/scapy_ens9.cmd1578634837.12
10/01/2020 05:40:43 tester: packet ready for sending...
Ether(src='00:00:00:00:00:00', dst='00:00:00:00:01:00', type=2048)/IP(frag=0, src='127.0.0.1', proto=0, tos=0, dst='127.0.0.1', chksum=31935, len=60, id=1, version=4, flags=0, ihl=5, ttl=64)/Raw(load='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Sent 1000 packets.
10/01/2020 05:40:43 dut.10.238.54.221: show port stats 0
10/01/2020 05:40:43 dut.10.238.54.221: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1000 RX-missed: 0 RX-bytes: 74000
RX-errors: 0
RX-nombuf: 0
TX-packets: 1000 TX-errors: 0 TX-bytes: 74000
Throughput (since last show)
Rx-pps: 164 Rx-bps: 97208
Tx-pps: 164 Tx-bps: 97208
############################################################################
10/01/2020 05:40:43 dut.10.238.54.221: stop
10/01/2020 05:40:43 dut.10.238.54.221: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1000 RX-dropped: 0 RX-total: 1000
TX-packets: 1000 TX-dropped: 0 TX-total: 1000
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
10/01/2020 05:40:43 dut.10.238.54.221: port stop all
10/01/2020 05:40:43 dut.10.238.54.221: port stop all
Stopping ports...
Checking link statuses...
Done
10/01/2020 05:40:43 dut.10.238.54.221: show port info 0
10/01/2020 05:40:43 dut.10.238.54.221: show port info 0
********************* Infos for port 0 *********************
MAC address: 00:00:00:00:01:00
Device name: 0000:3b:00.0
Driver name: net_ice
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
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
Current number of RX queues: 1
Max possible RX queues: 64
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: 64
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: 0
Max segment number per MTU/TSO: 0
10/01/2020 05:40:43 dut.10.238.54.221: port close all
10/01/2020 05:40:43 dut.10.238.54.221: port close all
Closing ports...
Done
10/01/2020 05:40:43 dut.10.238.54.221: show port info all
10/01/2020 05:40:43 dut.10.238.54.221: show port info all
10/01/2020 05:40:43 TestPortControl: Test Case test_pf_start_stop_reset_close Result PASSED:
10/01/2020 05:40:43 dut.10.238.54.221: quit
10/01/2020 05:40:45 dut.10.238.54.221: quit
Bye...
10/01/2020 05:40:45 dts:
TEST SUITE ENDED: TestPortControl
next prev parent reply other threads:[~2020-01-09 3:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 2:48 Zeng Xiaoxiao
2020-01-09 3:05 ` Zhu, WenhuiX [this message]
2020-01-09 8:34 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E08767FB2CE10642B6780736EAC070F604A3476B@shsmsx102.ccr.corp.intel.com \
--to=wenhuix.zhu@intel.com \
--cc=dts@dpdk.org \
--cc=xiaoxiaox.zeng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).