Re: [PATCH net-next] xfrm: Indicate xfrm_state offload errors

2017-05-01 Thread David Miller
From: Date: Sun, 30 Apr 2017 16:51:19 +0300 > From: Ilan Tayari > > Current code silently ignores driver errors when configuring > IPSec offload xfrm_state, and falls back to host-based crypto. > > Fail the xfrm_state creation if the driver has an error, because > the NIC offloading was explic

[PATCH net-next] xfrm: Indicate xfrm_state offload errors

2017-04-30 Thread ilant
From: Ilan Tayari Current code silently ignores driver errors when configuring IPSec offload xfrm_state, and falls back to host-based crypto. Fail the xfrm_state creation if the driver has an error, because the NIC offloading was explicitly requested by the user program. This will communicate b