From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 13D4A201 for ; Thu, 28 Feb 2019 20:21:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2019 11:21:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,424,1544515200"; d="scan'208";a="322983933" Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by fmsmga006.fm.intel.com with ESMTP; 28 Feb 2019 11:21:10 -0800 From: Konstantin Ananyev To: dev@dpdk.org Cc: akhil.goyal@nxp.com, olivier.matz@6wind.com, Konstantin Ananyev Date: Thu, 28 Feb 2019 19:20:55 +0000 Message-Id: <1551381661-21078-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 0/6] Few small improvements for ipsec library 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, 28 Feb 2019 19:21:14 -0000 The first patch in this series introduce new function to set raw value for rte_mbuf tx_offload. Remaining ones are cleanups and small performance improvements (on IA ~3-5% depending on the test-case) for ipsec library. Konstantin Ananyev (6): mbuf: new function to generate raw Tx offload value ipsec: add Tx offload template into SA ipsec: change the order in filling crypto op ipsec: change the way unprocessed mbufs are accounted ipsec: move inbound and outbound code into different files ipsec: reorder packet check for esp inbound lib/librte_ipsec/Makefile | 2 + lib/librte_ipsec/crypto.h | 17 + lib/librte_ipsec/esp_inb.c | 406 ++++++++++++++ lib/librte_ipsec/esp_outb.c | 535 ++++++++++++++++++ lib/librte_ipsec/ipsec_sqn.h | 30 - lib/librte_ipsec/meson.build | 2 +- lib/librte_ipsec/misc.h | 41 ++ lib/librte_ipsec/sa.c | 1016 ++-------------------------------- lib/librte_ipsec/sa.h | 45 ++ lib/librte_mbuf/rte_mbuf.h | 71 ++- 10 files changed, 1170 insertions(+), 995 deletions(-) create mode 100644 lib/librte_ipsec/esp_inb.c create mode 100644 lib/librte_ipsec/esp_outb.c create mode 100644 lib/librte_ipsec/misc.h -- 2.17.1