[ovs-dev] [PATCH 00/10] PMD Testsuite.

Ilya Maximets i.maximets at samsung.com
Mon Mar 14 15:18:10 UTC 2016


New 'dummy_pmd' class created in purposes of testing of PMD interfaces.
Added new target 'make check-pmd' and a bunch of PMD specific tests.

Ilya Maximets (10):
  netdev: New field 'is_pmd' in netdev_class.
  dummy: Add dummy_pmd class.
  dpctl: Implement dpctl/flow-get for dpif-netdev.
  ofproto-dpif.at: Ignore port type while checking result of
    dpctl/dump-flows.
  ofproto-dpif.at: Allow output from all threads in 'patch ports -
    stack'.
  automake.mk: New target 'check-pmd'.
  netdev-dummy: Queue packets only to one rx queue.
  testsuite: Filter out unnecessary info about queues for dummy ports.
  netdev-dummy: Add fake multiqueue support to dummy_pmd.
  testsuite-pmd: Add PMD specific tests.

 NEWS                      |   1 +
 lib/dpctl.c               |   3 +-
 lib/dpif-netdev.c         |  49 ++++++++---
 lib/dummy.c               |  34 ++++---
 lib/dummy.h               |   8 +-
 lib/netdev-bsd.c          |   1 +
 lib/netdev-dpdk.c         |   1 +
 lib/netdev-dummy.c        | 220 ++++++++++++++++++++++++++++------------------
 lib/netdev-linux.c        |   1 +
 lib/netdev-provider.h     |   3 +
 lib/netdev-vport.c        |  20 +++--
 lib/netdev-windows.c      |   1 +
 lib/netdev.c              |   5 +-
 tests/automake.mk         |  18 +++-
 tests/bridge.at           |   6 +-
 tests/completion.at       |   3 +-
 tests/dpctl.at            |   8 +-
 tests/dummy-macros.at     |   8 ++
 tests/dummy-pmd-macros.at |   8 ++
 tests/mpls-xlate.at       |   2 +-
 tests/ofproto-dpif.at     |  42 ++++-----
 tests/ofproto-macros.at   |  12 +--
 tests/ovs-ofctl.at        |   2 +-
 tests/ovs-vswitchd.at     |   2 +-
 tests/pmd.at              | 199 +++++++++++++++++++++++++++++++++++++++++
 tests/testsuite-pmd.at    |  47 ++++++++++
 tests/testsuite.at        |   1 +
 tests/tunnel-push-pop.at  |   2 +-
 tests/tunnel.at           |  28 +++---
 29 files changed, 552 insertions(+), 183 deletions(-)
 create mode 100644 tests/dummy-macros.at
 create mode 100644 tests/dummy-pmd-macros.at
 create mode 100644 tests/pmd.at
 create mode 100644 tests/testsuite-pmd.at

-- 
2.5.0




More information about the dev mailing list