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. We extend the transmit
return codes by NETDEV_TX_AGAIN to separate a
standard NETDEV_TX_BUSY from the case when we need
to backlog after an asynchronous crypto operation.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
8 files changed