From: Qi Zhang <qi.z.zhang@intel.com>
To: ferruh.yigit@intel.com, bruce.richardson@intel.com,
keith.wiles@intel.com, konstantin.ananyev@intel.com
Cc: dev@dpdk.org, wenzhuo.lu@intel.com, bernard.iremonger@intel.com,
Qi Zhang <qi.z.zhang@intel.com>
Subject: [PATCH v2 0/3] improve MAC swap performance
Date: Tue, 11 Dec 2018 13:55:08 +0800 [thread overview]
Message-ID: <20181211055511.32284-1-qi.z.zhang@intel.com> (raw)
In-Reply-To: <20181122172632.6229-1-qi.z.zhang@intel.com>
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.
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
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 | 83 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 175 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
next prev parent reply other threads:[~2018-12-11 5:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 17:26 [PATCH 0/3] improve MAC swap performance Qi Zhang
2018-11-22 17:26 ` [PATCH 1/3] app/testpmd: code refactory for macswap Qi Zhang
2018-11-22 17:26 ` [PATCH 2/3] app/testpmd: improve MAC swap performance for x86 Qi Zhang
2018-11-22 17:26 ` [PATCH 3/3] app/testpmd: further " Qi Zhang
2018-11-22 17:38 ` [PATCH v2 0/3] improve MAC swap performance Qi Zhang
2018-11-22 17:38 ` [PATCH v2 1/3] app/testpmd: code refactory for macswap Qi Zhang
2018-12-10 17:44 ` Ferruh Yigit
2018-12-11 4:02 ` Zhang, Qi Z
2018-11-22 17:38 ` [PATCH v2 2/3] app/testpmd: improve MAC swap performance for x86 Qi Zhang
2018-12-10 17:44 ` Ferruh Yigit
2018-11-22 17:38 ` [PATCH v2 3/3] app/testpmd: further " Qi Zhang
2018-12-11 5:55 ` Qi Zhang [this message]
2018-12-11 5:55 ` [PATCH v2 1/3] app/testpmd: code refactory for macswap Qi Zhang
2018-12-11 15:48 ` Ferruh Yigit
2018-12-14 11:14 ` Iremonger, Bernard
2018-12-14 11:21 ` Zhang, Qi Z
2018-12-11 5:55 ` [PATCH v2 2/3] app/testpmd: improve MAC swap performance for x86 Qi Zhang
2018-12-13 19:50 ` [EXT] " Jerin Jacob Kollanukkaran
2018-12-14 11:21 ` Iremonger, Bernard
2018-12-14 11:36 ` Zhang, Qi Z
2018-12-11 5:55 ` [PATCH v2 3/3] app/testpmd: further " Qi Zhang
2018-12-16 0:58 ` [PATCH v3 0/3] improve MAC swap performance Qi Zhang
2018-12-16 0:58 ` [PATCH v3 1/3] app/testpmd: code refactory for macswap Qi Zhang
2018-12-18 11:06 ` Iremonger, Bernard
2018-12-16 0:58 ` [PATCH v3 2/3] app/testpmd: improve MAC swap performance for x86 Qi Zhang
2018-12-18 11:07 ` Iremonger, Bernard
2018-12-16 0:58 ` [PATCH v3 3/3] app/testpmd: further " Qi Zhang
2018-12-18 11:09 ` Iremonger, Bernard
2018-12-18 0:15 ` [PATCH v3 0/3] improve MAC swap performance Ferruh Yigit
2018-12-18 16:29 ` Ferruh Yigit
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=20181211055511.32284-1-qi.z.zhang@intel.com \
--to=qi.z.zhang@intel.com \
--cc=bernard.iremonger@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=keith.wiles@intel.com \
--cc=konstantin.ananyev@intel.com \
--cc=wenzhuo.lu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.