nsh: add GSO support

Add a new nsh/ directory. It currently holds only GSO functions but more
will come: in particular, code shared by openvswitch and tc to manipulate
NSH headers.

For now, assume there's no hardware support for NSH segmentation. We can
always introduce netdev->nsh_features later.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jiri Benc
2017-08-28 21:43:24 +02:00
committed by David S. Miller
parent 1f0b7744c5
commit c411ed8545
5 changed files with 103 additions and 0 deletions

1
net/nsh/Makefile Normal file
View File

@@ -0,0 +1 @@
obj-$(CONFIG_NET_NSH) += nsh.o