[dpdk-dev] [PATCH v6 0/6] distributor library performance enhancements

Liu, Yong yong.liu at intel.com
Tue Jan 24 09:56:22 CET 2017


Tested-by: Yong Liu <yong.liu at intel.com>

- Tested Branch: master
- Tested Commit: 61207d014fc906302a184ae2f779b54ccfd0cd4c
- OS: Fedora20 4.9.0
- GCC: gcc version 4.8.3 20140911
- CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
- NIC: Intel Corporation Device Fortville [8086:1584]
- Default x86_64-native-linuxapp-gcc configuration
- Prerequisites:
- Total 6 cases, 6 passed, 0 failed

- Prerequisites command / instruction:
  Intel(r) X710 (Fortville) NIC plugged in

- Case: Distributor unit test
  Description: check burst packet distributor API work fine
  Command / instruction:
    Start test application and run distributor unit test
       test -c f -n 4 -- -i
       RTE>>distributor_autotest
    Verify burst distributor API unit test passed

- Case: Distributor performance unit test
  Description: check burst packet distributor API performance
  Command / instruction:
    Start test application and run distributor unit test
       test -c f -n 4 -- -i
       RTE>>distributor_perf_autotest
    Compared CPU cycles for normal distributor and burst API
    Verify burst distributor API cost much less cycles then legacy library

- Case: Distributor library function check
  Description: check burst packet distributor API performance
  Command / instruction:
    Start distributor sample with one worker::
      distributor_app -c 0x7c  -n 4 -- -p 0x1
    Send few packets (less then burst 8) with sequence index
    Check forwarded packets are all in sequence and content not changed
    Send packets equal to burst size with sequence index
    Check forwarded packets are all in sequence and content not changed
    Send packets over burst size with sequence index
    Check forwarded packets are all in sequence and content not changed

- Case: Distributor between multiple workers
  Description: check burst packet distributor sample performance
  Command / instruction:
    Start distributor sample with multiple workers::
      distributor_app -c 0xfc  -n 4 -- -p 0x1
    Send several packets with IP address increasing
    Check packets distributed to all workers
    Repeat these steps for 4/8/16/32 workers

- Case: Distributor between maximum workers
  Description: check burst packet distributor can work with 63 workers
  Command / instruction:
    Start distributor sample with multiple workers::
      distributor_app -c 0xeffffffffffffffff0  -n 4 -- -p 0x1
    Send several packets with IP address increasing
    Check packets distributed to all workers
    
- Case: Distributor packets from multiple input ports
  Description: check burst packet distributor work with multiple inputs
  Command / instruction:
    Start distributor sample with multiple workers::
      distributor_app -c 0x7c -n 4 -- -p 0x3
    Send several packets from two tester ports with different IP
    Check packets forwarded back

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Hunt
> Sent: Monday, January 23, 2017 5:25 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>
> Subject: [dpdk-dev] [PATCH v6 0/6] distributor library performance
> enhancements


More information about the dev mailing list