From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Nelson Subject: [PATCH v3 ipsec-next 0/3] xfrm: offload api fixes Date: Tue, 19 Dec 2017 15:35:46 -0800 Message-ID: <1513726549-7065-1-git-send-email-shannon.nelson@oracle.com> Cc: netdev@vger.kernel.org To: steffen.klassert@secunet.com Return-path: Received: from aserp2130.oracle.com ([141.146.126.79]:53239 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753628AbdLSXgG (ORCPT ); Tue, 19 Dec 2017 18:36:06 -0500 Sender: netdev-owner@vger.kernel.org List-ID: These are a couple of little fixes to the xfrm_offload API to make life just a little easier for the poor driver developer. Changes from v2: - fix up another kbuild robot complaint when CONFIG_XFRM_OFFLOAD is off - split out checks into a common function for register and feature check Changes from v1: - removed netdev_err() notes (Steffen) - fixed build when CONFIG_XFRM_OFFLOAD is off (kbuild robot) - split into multiple patches (me) Shannon Nelson (3): xfrm: check for xdo_dev_state_free xfrm: check for xdo_dev_ops add and delete xfrm: wrap xfrmdev_ops with offload config include/linux/netdevice.h | 2 +- include/net/xfrm.h | 3 ++- net/xfrm/xfrm_device.c | 32 ++++++++++++++++++-------------- 3 files changed, 21 insertions(+), 16 deletions(-) -- 2.7.4