[strongSwan-dev] [hw-offload-auto-mode v2 1/3] ipsec-types: Create new enum hw_offload_t

2018-03-12 Thread adin
From: Adi Nissim Add the new enum in order to add HW offload auto mode. Signed-off-by: Adi Nissim Reviewed-by: Aviv Heller --- src/libstrongswan/ipsec/ipsec_types.c | 6 ++ src/libstrongswan/ipsec/ipsec_types.h | 15

[strongSwan-dev] [hw-offload-auto-mode v2 3/3] child-cfg: Make HW offload auto mode configurable

2018-03-12 Thread adin
From: Adi Nissim Until now the configuration avaliable to user for HW offload were: hw_offload = no hw_offload = yes With this commit users will be able to configure auto mode using: hw_offload = auto. Signed-off-by: Adi Nissim Reviewed-by: Aviv Heller

[strongSwan-dev] [hw-offload-auto-mode 2/3] kernel-netlink: Add new hw_offload mode - auto

2018-03-05 Thread adin
From: Adi Nissim Until now there were 2 hw_offload modes: no/yes * hw_offload = no : Configure the SA without HW offload. * hw_offload = yes : Configure the SA with HW offload. In this case, if the device does not support offloading,

[strongSwan-dev] [hw-offload-auto-mode 3/3] child-cfg: Make HW offload auto mode configurable

2018-03-05 Thread adin
From: Adi Nissim Until now the configuration avaliable to user for HW offload were: hw_offload = no hw_offload = yes With this commit users will be able to configure auto mode using: hw_offload = auto. Signed-off-by: Adi Nissim Reviewed-by: Aviv Heller

[strongSwan-dev] [hw-offload-auto-mode 1/3] ipsec-types: Create new enum hw_offload_t

2018-03-05 Thread adin
From: Adi Nissim Add the new enum in order to add HW offload auto mode. Signed-off-by: Adi Nissim Reviewed-by: Aviv Heller --- src/libstrongswan/ipsec/ipsec_types.c | 6 ++ src/libstrongswan/ipsec/ipsec_types.h | 15