test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/2] framework: add -a option support in eal param
@ 2020-12-07  9:53 Haiyang Zhao
  2020-12-07  9:53 ` [dts] [PATCH V1 1/2] framework/dut: add -a support in create_eal_parameters Haiyang Zhao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Haiyang Zhao @ 2020-12-07  9:53 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Haiyang Zhao

eal parameter -w is deprecated since dpdk 20.11.0-rc3 and replaced by -a.
For dpdk LTS test and avoid modify the -w option in suites, support the 
-a/-w eal option both.

Haiyang Zhao (2):
  framework/dut: add -a support in create_eal_parameters eal parameter
    -w is deprecated since dpdk 20.11.0-rc3 and should use -a instead.
    for dpdk LTS test and avoid modify the -w option in suites, keep the
    -w support.
  framework/pmd_output: add -a support in split_eal_param

 framework/dut.py        | 12 +++++++-----
 framework/pmd_output.py | 21 ++++++++++++---------
 2 files changed, 19 insertions(+), 14 deletions(-)

-- 
2.17.1


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

* [dts] [PATCH V1 1/2] framework/dut: add -a support in create_eal_parameters
  2020-12-07  9:53 [dts] [PATCH V1 0/2] framework: add -a option support in eal param Haiyang Zhao
@ 2020-12-07  9:53 ` Haiyang Zhao
  2020-12-07  9:53 ` [dts] [PATCH V1 2/2] framework/pmd_output: add -a support in split_eal_param Haiyang Zhao
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Haiyang Zhao @ 2020-12-07  9:53 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Haiyang Zhao

 eal parameter -w is deprecated since dpdk 20.11.0-rc3 and should use -a
 instead. For dpdk LTS test and avoid modify the -w option in suites, keep the
 -w support.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 framework/dut.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/framework/dut.py b/framework/dut.py
index f3ef8c6..dcf833b 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -116,7 +116,8 @@ class Dut(Crb):
         """
         generate eal parameters character string
         :param config:
-        :return: eal_str eg:'-c 0xf -w 0000:88:00.0 -w 0000:88:00.1 --file-prefix=dpdk_1112_20190809143420'
+        :return: eal_str eg:'-c 0xf -a 0000:88:00.0 -a 0000:88:00.1 --file-prefix=dpdk_1112_20190809143420',
+        if dpdk version < 20.11-rc4, eal_str eg: '-c 0xf -w 0000:88:00.0 --file-prefix=dpdk_1112_20190809143420',
         """
         default_cores = '1S/2C/1T'
         blank = ' '
@@ -137,19 +138,20 @@ class Dut(Crb):
             # deal with ports
             w_pci_list = []
             if 'ports' in config and len(config['ports']) != 0:
+                allow_option = '-a' if self.dpdk_version > '20.11.0-rc3' or self.dpdk_version == '20.11.0' else '-w'
                 for port in config['ports']:
                     if type(port) == int:
                         if 'port_options' in config and port in list(config['port_options'].keys()):
                             port_option = config['port_options'][port]
-                            w_pci_list.append('-w %s,%s' % (self.ports_info[port]['pci'], port_option))
+                            w_pci_list.append('%s %s,%s' % (allow_option, self.ports_info[port]['pci'], port_option))
                         else:
-                            w_pci_list.append('-w %s' % self.ports_info[port]['pci'])
+                            w_pci_list.append('%s %s' % (allow_option, self.ports_info[port]['pci']))
                     else:
                         if 'port_options' in config and port in list(config['port_options'].keys()):
                             port_option = config['port_options'][port]
-                            w_pci_list.append('-w %s,%s' % (port, port_option))
+                            w_pci_list.append('%s %s,%s' % (allow_option, port, port_option))
                         else:
-                            w_pci_list.append('-w %s' % port)
+                            w_pci_list.append('%s %s' % (allow_option, port))
             w_pci_str = ' '.join(w_pci_list)
 
             # deal with black ports
-- 
2.17.1


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

* [dts] [PATCH V1 2/2] framework/pmd_output: add -a support in split_eal_param
  2020-12-07  9:53 [dts] [PATCH V1 0/2] framework: add -a option support in eal param Haiyang Zhao
  2020-12-07  9:53 ` [dts] [PATCH V1 1/2] framework/dut: add -a support in create_eal_parameters Haiyang Zhao
@ 2020-12-07  9:53 ` Haiyang Zhao
  2020-12-07 10:02 ` [dts] [PATCH V1 0/2] framework: add -a option support in eal param Zhao, HaiyangX
  2020-12-10  8:39 ` Tu, Lijuan
  3 siblings, 0 replies; 5+ messages in thread
From: Haiyang Zhao @ 2020-12-07  9:53 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Haiyang Zhao

add -a support and optmize the regular expression.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 framework/pmd_output.py | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/framework/pmd_output.py b/framework/pmd_output.py
index 6557f9c..9dc6d3b 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -109,11 +109,14 @@ class PmdOutput():
         :param eal_param:
         :return:
         """
-        re_w_pci_str = '\s?-w\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-w\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
+        re_w_pci_str = '\s?-[w,a]\s+\w*:?[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}.[A-Fa-f0-9]{1},.*=\d+' \
+                       '|\s?-[w,a]\s+\w*:?[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}.[A-Fa-f0-9]{1}'
         re_file_prefix_str = '--file-prefix[\s*=]\S+\s'
-        re_b_pci_str = '\s?-b\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-b\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
+        re_b_pci_str = '\s?-b\s+\w*:?[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}.[A-Fa-f0-9]{1},.*=\d+' \
+                       '|\s?-b\s+\w*:?[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}.[A-Fa-f0-9]{1}'
         eal_param = eal_param + ' '
-        # pci_str_list eg: ['-w   0000:1a:00.0 ', '-w 0000:1a:00.1,queue-num-per-vf=4 ', '-w 0000:aa:bb.1,queue-num-per-vf=4 ']
+        # pci_str_list eg: ['-w   0000:1a:00.0 ', '-w 0000:1a:00.1,queue-num-per-vf=4 ', '-w 0000:aa:bb.1,queue-num-per-vf=4 ',
+        #                   '-a   0000:1a:00.0 ', '-a 0000:1a:00.1,queue-num-per-vf=4 ', '-a 0000:aa:bb.1,queue-num-per-vf=4 ']
         w_pci_str_list = re.findall(re_w_pci_str, eal_param)
         # file_prefix_str eg: ['--file-prefix=dpdk ']
         file_prefix_str = re.findall(re_file_prefix_str, eal_param)
@@ -123,13 +126,13 @@ class PmdOutput():
         if w_pci_str_list:
             for pci_str in w_pci_str_list:
                 # has pci options
-                if ',' in pci_str:
-                    pci_option = pci_str.split(',')
-                    pci = pci_option[0].split(' ')[-1]
-                    has_pci_option[pci] = pci_option[1].strip()
-                    pci_list.append(pci)
+                pci_str_options = pci_str.split('-w ') if '-w ' in pci_str else pci_str.split('-a ')
+                if ',' in pci_str_options[-1]:
+                    pci_option = pci_str_options[-1].split(',')
+                    has_pci_option[pci_option[0]] = pci_option[1].strip()
+                    pci_list.append(pci_option[0])
                 else:
-                    pci_list.append(pci_str.split('-w')[-1].strip())
+                    pci_list.append(pci_str_options[-1])
 
         b_pci_list = []
         if b_pci_str_list:
-- 
2.17.1


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

* Re: [dts] [PATCH V1 0/2] framework: add -a option support in eal param
  2020-12-07  9:53 [dts] [PATCH V1 0/2] framework: add -a option support in eal param Haiyang Zhao
  2020-12-07  9:53 ` [dts] [PATCH V1 1/2] framework/dut: add -a support in create_eal_parameters Haiyang Zhao
  2020-12-07  9:53 ` [dts] [PATCH V1 2/2] framework/pmd_output: add -a support in split_eal_param Haiyang Zhao
@ 2020-12-07 10:02 ` Zhao, HaiyangX
  2020-12-10  8:39 ` Tu, Lijuan
  3 siblings, 0 replies; 5+ messages in thread
From: Zhao, HaiyangX @ 2020-12-07 10:02 UTC (permalink / raw)
  To: Zhao, HaiyangX, Tu, Lijuan, dts

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

Tested-by:  Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang

> -----Original Message-----
> From: Haiyang Zhao <haiyangx.zhao@intel.com>
> Sent: Monday, December 7, 2020 17:53
> To: Tu, Lijuan <lijuan.tu@intel.com>; dts@dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Subject: [dts][PATCH V1 0/2] framework: add -a option support in eal param


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

07/12/2020 17:42:50                            dts: 
TEST SUITE : TestChecksumOffload
07/12/2020 17:42:50                            dts: NIC :        columbiaville_25gx2
07/12/2020 17:42:50              dut.10.240.183.72: 
07/12/2020 17:42:50                         tester: 
07/12/2020 17:42:50            TestChecksumOffload: Test Case test_eal Begin
07/12/2020 17:42:50              dut.10.240.183.72: 
07/12/2020 17:42:50                         tester: 
07/12/2020 17:42:50            TestChecksumOffload: dpdk version: 20.11.0
07/12/2020 17:42:50              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -a 81:00.0 -a 0000:81:00.1 -a 9999:af:00.1,queue-num-perf-vf=4  --file-prefix=dpdk_32307_20201207174228      -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:42:51              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32307_20201207174228/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
07/12/2020 17:43:01              dut.10.240.183.72: quit
07/12/2020 17:43:01              dut.10.240.183.72: 

Bye...
07/12/2020 17:43:01              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -a 81:00.0 -a 0000:81:00.1 -a 1919:af:00.1,queue-num-perf-vf=4  --file-prefix=dpdk_32307_20201207174228     -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:43:02              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32307_20201207174228/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
07/12/2020 17:43:12              dut.10.240.183.72: quit
07/12/2020 17:43:13              dut.10.240.183.72: 

Bye...
07/12/2020 17:43:13              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4  -b 81:00.0 -b 0000:81:00.1 -b 1919:af:00.1,queue-num-perf-vf=4 --file-prefix=dpdk_32307_20201207174228     -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:43:14              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32307_20201207174228/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:05:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:05:00.1 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
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=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 20:20:07:22:14:31
Configuring Port 1 (socket 0)
Port 1: 20:20:07:22:14:32
Checking link statuses...
Done
07/12/2020 17:43:24              dut.10.240.183.72: quit
07/12/2020 17:43:25              dut.10.240.183.72: 

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...
07/12/2020 17:43:25              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -a 0000:05:00.0 -a 0000:05:00.1  --file-prefix=dpdk_32307_20201207174228   -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:43:26              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32307_20201207174228/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:05:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:05:00.1 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
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=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 20:20:07:22:14:31
Configuring Port 1 (socket 0)
Port 1: 20:20:07:22:14:32
Checking link statuses...
Done
07/12/2020 17:43:36              dut.10.240.183.72: quit
07/12/2020 17:43:37              dut.10.240.183.72: 

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...
07/12/2020 17:43:37              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -a af:00.0,queue-num-perf-vf=4  --file-prefix=dpdk_32307_20201207174228   --pci-whitelist 81:00.0  -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:43:37              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dpdk_32307_20201207174228/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
07/12/2020 17:43:47              dut.10.240.183.72: quit
07/12/2020 17:43:48              dut.10.240.183.72: 

Bye...
07/12/2020 17:43:48            TestChecksumOffload: Test Case test_eal Result PASSED:
07/12/2020 17:43:48              dut.10.240.183.72: quit
07/12/2020 17:43:48              dut.10.240.183.72: bash: : command not found...
Similar command is: 'quot'
07/12/2020 17:43:48                            dts: 
TEST SUITE ENDED: TestChecksumOffload
07/12/2020 17:48:02                            dts: 
TEST SUITE : TestChecksumOffload
07/12/2020 17:48:02                            dts: NIC :        columbiaville_25gx2
07/12/2020 17:48:02              dut.10.240.183.72: 
07/12/2020 17:48:02                         tester: 
07/12/2020 17:48:02            TestChecksumOffload: Test Case test_eal Begin
07/12/2020 17:48:02              dut.10.240.183.72: 
07/12/2020 17:48:02                         tester: 
07/12/2020 17:48:02            TestChecksumOffload: dpdk version: 19.11.6-rc1
07/12/2020 17:48:02              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -w 81:00.0 -w 0000:81:00.1 -w 9999:af:00.1,queue-num-perf-vf=4  --file-prefix=dpdk_956_20201207174739      -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:48:03              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_956_20201207174739/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL:   probe driver: 8086:158b net_i40e
EAL: PCI device 0000:81:00.1 on NUMA socket 1
EAL:   probe driver: 8086:158b net_i40e
testpmd: No probed ethernet devices
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
Done
07/12/2020 17:48:13              dut.10.240.183.72: quit
07/12/2020 17:48:13              dut.10.240.183.72: 

Bye...
07/12/2020 17:48:13              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -w 81:00.0 -w 0000:81:00.1 -w 1919:af:00.1,queue-num-perf-vf=4  --file-prefix=dpdk_956_20201207174739     -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:48:14              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_956_20201207174739/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL:   probe driver: 8086:158b net_i40e
EAL: PCI device 0000:81:00.1 on NUMA socket 1
EAL:   probe driver: 8086:158b net_i40e
testpmd: No probed ethernet devices
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
Done
07/12/2020 17:48:24              dut.10.240.183.72: quit
07/12/2020 17:48:24              dut.10.240.183.72: 

Bye...
07/12/2020 17:48:24              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4  -b 81:00.0 -b 0000:81:00.1 -b 1919:af:00.1,queue-num-perf-vf=4 --file-prefix=dpdk_956_20201207174739     -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:48:26              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_956_20201207174739/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:6f20 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:6f21 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:6f22 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:6f23 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:6f24 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:6f25 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:6f26 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:6f27 rawdev_ioat
EAL: PCI device 0000:03:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:03:00.3 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL:   probe driver: 8086:159b net_ice
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: PCI device 0000:05:00.1 on NUMA socket 0
EAL:   probe driver: 8086:159b net_ice
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:6f20 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:6f21 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:6f22 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:6f23 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:6f24 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:6f25 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:6f26 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:6f27 rawdev_ioat
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL:   Device is blacklisted, not initializing
EAL: PCI device 0000:81:00.1 on NUMA socket 1
EAL:   Device is blacklisted, not initializing
EAL: PCI device 0000:84:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:84:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 20:20:07:22:14:31
Configuring Port 1 (socket 0)
Port 1: 20:20:07:22:14:32
Checking link statuses...
Done
07/12/2020 17:48:36              dut.10.240.183.72: quit
07/12/2020 17:48:37              dut.10.240.183.72: 

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

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Shutting down port 1...
Closing ports...
Done

Bye...
07/12/2020 17:48:37              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -w 0000:05:00.0 -w 0000:05:00.1  --file-prefix=dpdk_956_20201207174739   -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:48:38              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_956_20201207174739/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL:   probe driver: 8086:159b net_ice
EAL:   using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: PCI device 0000:05:00.1 on NUMA socket 0
EAL:   probe driver: 8086:159b net_ice
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 20:20:07:22:14:31
Configuring Port 1 (socket 0)
Port 1: 20:20:07:22:14:32
Checking link statuses...
Done
07/12/2020 17:48:48              dut.10.240.183.72: quit
07/12/2020 17:48:49              dut.10.240.183.72: 

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

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Shutting down port 1...
Closing ports...
Done

Bye...
07/12/2020 17:48:49              dut.10.240.183.72: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -w af:00.0,queue-num-perf-vf=4  --file-prefix=dpdk_956_20201207174739   --pci-whitelist 81:00.0  -- -i --portmask=0x1 --enable-rx-cksum --port-topology=loop
07/12/2020 17:48:49              dut.10.240.183.72: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_956_20201207174739/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL:   probe driver: 8086:158b net_i40e
testpmd: No probed ethernet devices
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
Done
07/12/2020 17:48:59              dut.10.240.183.72: quit
07/12/2020 17:49:00              dut.10.240.183.72: 

Bye...
07/12/2020 17:49:00            TestChecksumOffload: Test Case test_eal Result PASSED:
07/12/2020 17:49:00              dut.10.240.183.72: quit
07/12/2020 17:49:00              dut.10.240.183.72: bash: : command not found...
Similar command is: 'quot'
07/12/2020 17:49:00                            dts: 
TEST SUITE ENDED: TestChecksumOffload

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

* Re: [dts] [PATCH V1 0/2] framework: add -a option support in eal param
  2020-12-07  9:53 [dts] [PATCH V1 0/2] framework: add -a option support in eal param Haiyang Zhao
                   ` (2 preceding siblings ...)
  2020-12-07 10:02 ` [dts] [PATCH V1 0/2] framework: add -a option support in eal param Zhao, HaiyangX
@ 2020-12-10  8:39 ` Tu, Lijuan
  3 siblings, 0 replies; 5+ messages in thread
From: Tu, Lijuan @ 2020-12-10  8:39 UTC (permalink / raw)
  To: Zhao, HaiyangX, dts; +Cc: Zhao, HaiyangX

> eal parameter -w is deprecated since dpdk 20.11.0-rc3 and replaced by -a.
> For dpdk LTS test and avoid modify the -w option in suites, support the -a/-w
> eal option both.
> 
> Haiyang Zhao (2):
>   framework/dut: add -a support in create_eal_parameters eal parameter
>     -w is deprecated since dpdk 20.11.0-rc3 and should use -a instead.
>     for dpdk LTS test and avoid modify the -w option in suites, keep the
>     -w support.
>   framework/pmd_output: add -a support in split_eal_param

Applied

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

end of thread, other threads:[~2020-12-10  8:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07  9:53 [dts] [PATCH V1 0/2] framework: add -a option support in eal param Haiyang Zhao
2020-12-07  9:53 ` [dts] [PATCH V1 1/2] framework/dut: add -a support in create_eal_parameters Haiyang Zhao
2020-12-07  9:53 ` [dts] [PATCH V1 2/2] framework/pmd_output: add -a support in split_eal_param Haiyang Zhao
2020-12-07 10:02 ` [dts] [PATCH V1 0/2] framework: add -a option support in eal param Zhao, HaiyangX
2020-12-10  8:39 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).