[dpdk-dev] [PATCH v3 0/3] improve MAC swap performance

Qi Zhang qi.z.zhang at intel.com
Sun Dec 16 01:58:32 CET 2018


Improved testpmd macswap performance for x86 by take advantage of SSE
instructions.
On a broadwell 1.6GHz sever with a i40e 25G NIC.
We abserve 17.7% performance improvement for testpmd's macswap test.

v3:
- fix wrong comment after #endif.
- fix EOF space line.
- add comment to explain shuffle mask.

v2:
- replace PKT_TX_VLAN_PKT/PKT_TX_QINQ_PKT with PKT_TX_VLAN/PKT_TX_QINQ
- only set vlan / outer_vlan when related ol_flags is set.
- fix coding style

*** BLURB HERE ***

Qi Zhang (3):
  app/testpmd: code refactory for macswap
  app/testpmd: improve MAC swap performance for x86
  app/testpmd: further improve MAC swap performance for x86

 app/test-pmd/macswap.c        | 36 +++---------------
 app/test-pmd/macswap.h        | 40 ++++++++++++++++++++
 app/test-pmd/macswap_common.h | 46 +++++++++++++++++++++++
 app/test-pmd/macswap_sse.h    | 87 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 179 insertions(+), 30 deletions(-)
 create mode 100644 app/test-pmd/macswap.h
 create mode 100644 app/test-pmd/macswap_common.h
 create mode 100644 app/test-pmd/macswap_sse.h

-- 
2.13.6



More information about the dev mailing list