net: Add Software fallback infrastructure for socket dependent offloads
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 30 Apr 2018 07:16:12 +0000 (10:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 13:42:46 +0000 (09:42 -0400)
commitebf4e808fa0b22e551baf862e17c26c325c068f4
treeb2e673a3847e61d60a6ce2e50860bdba771202e5
parent08303c189581c985e60f588ad92a041e46b6e307
net: Add Software fallback infrastructure for socket dependent offloads

With socket dependent offloads we rely on the netdev to transform
the transmitted packets before sending them to the wire.
When a packet from an offloaded socket is rerouted to a different
device we need to detect it and do the transformation in software.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/Kconfig
net/core/dev.c