From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 80D4C1B929 for ; Sun, 16 Dec 2018 01:57:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Dec 2018 16:57:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,359,1539673200"; d="scan'208";a="118840932" Received: from dpdk51.sh.intel.com ([10.67.110.190]) by FMSMGA003.fm.intel.com with ESMTP; 15 Dec 2018 16:57:14 -0800 From: Qi Zhang 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 Date: Sun, 16 Dec 2018 08:58:32 +0800 Message-Id: <20181216005835.23679-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20181122172632.6229-1-qi.z.zhang@intel.com> References: <20181122172632.6229-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v3 0/3] improve MAC swap performance X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2018 00:57:18 -0000 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