From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E4DA51B494 for ; Thu, 22 Nov 2018 18:25:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Nov 2018 09:25:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,266,1539673200"; d="scan'208";a="91376872" Received: from dpdk51.sh.intel.com ([10.67.110.190]) by orsmga007.jf.intel.com with ESMTP; 22 Nov 2018 09:25:18 -0800 From: Qi Zhang To: 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: Fri, 23 Nov 2018 01:26:29 +0800 Message-Id: <20181122172632.6229-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH 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: Thu, 22 Nov 2018 17:25:21 -0000 **The pathset is target for 19.02** 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. 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/l2fwd.h | 40 +++++++++++++++++++ app/test-pmd/l2fwd_common.h | 36 +++++++++++++++++ app/test-pmd/macswap.c | 36 +++-------------- app/test-pmd/macswap.h | 40 +++++++++++++++++++ app/test-pmd/macswap_common.h | 36 +++++++++++++++++ app/test-pmd/macswap_sse.h | 90 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 248 insertions(+), 30 deletions(-) create mode 100644 app/test-pmd/l2fwd.h create mode 100644 app/test-pmd/l2fwd_common.h 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