[dpdk-dev] [PATCH v3 5/8] ipsec: move inbound and outbound code into different files

Akhil Goyal akhil.goyal at nxp.com
Thu Mar 28 12:20:18 CET 2019



On 3/26/2019 9:13 PM, Konstantin Ananyev wrote:
> sa.c becomes too big, so decided to split it into 3 chunks:
>   - sa.c - control path related functions (init/fini, etc.)
>   - esp_inb.c - ESP inbound packet processing
>   - esp_outb.c - ESP outbound packet processing
>
> Plus few changes in internal function names to follow the same
> code convention.
> No functional changes introduced.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
>   lib/librte_ipsec/Makefile    |    2 +
>   lib/librte_ipsec/crypto.h    |   17 +
>   lib/librte_ipsec/esp_inb.c   |  439 ++++++++++++++
>   lib/librte_ipsec/esp_outb.c  |  559 ++++++++++++++++++
>   lib/librte_ipsec/ipsec_sqn.h |   30 -
>   lib/librte_ipsec/meson.build |    2 +-
>   lib/librte_ipsec/misc.h      |   41 ++
>   lib/librte_ipsec/sa.c        | 1067 ++--------------------------------
>   lib/librte_ipsec/sa.h        |   40 ++
>   9 files changed, 1141 insertions(+), 1056 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
>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>


More information about the dev mailing list