From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <konstantin.ananyev@intel.com>
Received: from mga12.intel.com (mga12.intel.com [192.55.52.136])
 by dpdk.org (Postfix) with ESMTP id A8DDD1B184
 for <dev@dpdk.org>; Wed, 20 Mar 2019 18:24:56 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 20 Mar 2019 10:24:48 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.60,249,1549958400"; d="scan'208";a="143689945"
Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain)
 ([10.237.217.47])
 by orsmga002.jf.intel.com with ESMTP; 20 Mar 2019 10:24:46 -0700
From: Konstantin Ananyev <konstantin.ananyev@intel.com>
To: dev@dpdk.org
Cc: akhil.goyal@nxp.com, olivier.matz@6wind.com,
 Konstantin Ananyev <konstantin.ananyev@intel.com>
Date: Wed, 20 Mar 2019 17:24:32 +0000
Message-Id: <1553102679-23576-1-git-send-email-konstantin.ananyev@intel.com>
X-Mailer: git-send-email 1.7.0.7
In-Reply-To: <1551381661-21078-1-git-send-email-konstantin.ananyev@intel.com>
References: <1551381661-21078-1-git-send-email-konstantin.ananyev@intel.com>
Subject: [dpdk-dev] [PATCH v2 0/7] 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2019 17:24:57 -0000

v1 -> v2
 Add patch to improve a bit esp inbound pkt_process code

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-6% depending on the test-case) for ipsec library.

Konstantin Ananyev (7):
  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
  ipsec: reorder packet process for esp inbound

 lib/librte_ipsec/Makefile    |    2 +
 lib/librte_ipsec/crypto.h    |   17 +
 lib/librte_ipsec/esp_inb.c   |  509 +++++++++++++++++
 lib/librte_ipsec/esp_outb.c  |  535 ++++++++++++++++++
 lib/librte_ipsec/ipsec_sqn.h |   34 --
 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, 1273 insertions(+), 999 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

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 0D326A00E6
	for <public@inbox.dpdk.org>; Wed, 20 Mar 2019 18:24:59 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 1CB9B1B1FE;
	Wed, 20 Mar 2019 18:24:58 +0100 (CET)
Received: from mga12.intel.com (mga12.intel.com [192.55.52.136])
 by dpdk.org (Postfix) with ESMTP id A8DDD1B184
 for <dev@dpdk.org>; Wed, 20 Mar 2019 18:24:56 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 20 Mar 2019 10:24:48 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.60,249,1549958400"; d="scan'208";a="143689945"
Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain)
 ([10.237.217.47])
 by orsmga002.jf.intel.com with ESMTP; 20 Mar 2019 10:24:46 -0700
From: Konstantin Ananyev <konstantin.ananyev@intel.com>
To: dev@dpdk.org
Cc: akhil.goyal@nxp.com, olivier.matz@6wind.com,
 Konstantin Ananyev <konstantin.ananyev@intel.com>
Date: Wed, 20 Mar 2019 17:24:32 +0000
Message-Id: <1553102679-23576-1-git-send-email-konstantin.ananyev@intel.com>
X-Mailer: git-send-email 1.7.0.7
In-Reply-To: <1551381661-21078-1-git-send-email-konstantin.ananyev@intel.com>
References: <1551381661-21078-1-git-send-email-konstantin.ananyev@intel.com>
Subject: [dpdk-dev] [PATCH v2 0/7] 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <20190320172432.nG4291neiZ_tDKkz4sKfVu_-qemgfCX3RB-Hy7bRKEU@z>

v1 -> v2
 Add patch to improve a bit esp inbound pkt_process code

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-6% depending on the test-case) for ipsec library.

Konstantin Ananyev (7):
  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
  ipsec: reorder packet process for esp inbound

 lib/librte_ipsec/Makefile    |    2 +
 lib/librte_ipsec/crypto.h    |   17 +
 lib/librte_ipsec/esp_inb.c   |  509 +++++++++++++++++
 lib/librte_ipsec/esp_outb.c  |  535 ++++++++++++++++++
 lib/librte_ipsec/ipsec_sqn.h |   34 --
 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, 1273 insertions(+), 999 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