[dpdk-dev] [PATCH 0/6] Few small improvements for ipsec library

Konstantin Ananyev konstantin.ananyev at intel.com
Thu Feb 28 20:20:55 CET 2019


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



More information about the dev mailing list