]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add asynchronous callbacks for xfrm on layer 2.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:36 +0000 (10:41 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:36 +0000 (10:41 +0100)
commit2f19ef9d8c4ddfb1c651018e3ec9b3ca9a4a4706
tree50841e9a0ff29530ee84e262857333925e09f2ff
parent684ef0293f160b0aa0a723244be13b0e32e8de38
net: Add asynchronous callbacks for xfrm on layer 2.

This patch implements asynchronous crypto callbacks
and a backlog handler that can be used when IPsec
is done at layer 2 in the TX path. It also extends
the skb validate functions so that we can update
the driver transmit return codes based on async
crypto operation or to indicate that we queued the
packet in a backlog queue.

Joint work with: Aviv Heller <avivh@mellanox.com>

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/linux/netdevice.h
include/net/xfrm.h
net/core/dev.c
net/ipv4/esp4.c
net/ipv6/esp6.c
net/packet/af_packet.c
net/sched/sch_generic.c
net/xfrm/xfrm_device.c