MTU: Software interface / Per-protocol MTU support 30/12930/6
authorOle Troan <ot@cisco.com>
Thu, 7 Jun 2018 08:17:57 +0000 (10:17 +0200)
committerDamjan Marion <dmarion@me.com>
Mon, 11 Jun 2018 10:25:59 +0000 (10:25 +0000)
commitd723161e038d00e59766aa67a6a0dcc350227e4b
tree24f5a1d87ebdc0012f28d42aa80a9f5d760073bf
parentf4fd0d4217ab6c41fe6b093871bd40ac130e6486
MTU: Software interface / Per-protocol MTU support

This patch separates setting of hardware interfaec and software
interface MTU. Software MTU is L2 payload MTU (i.e. not including L2
header). Per-protocol MTU for IPv4, IPv6 and MPLS can also be set.
Currently only IP4, IP6 are enabled in adjacency / rewrite code.

Documentation in src/vnet/MTU.md

Change-Id: Iee2fd6f0bbc8210748dd8e073ab9fab87d323690
Signed-off-by: Ole Troan <ot@cisco.com>
33 files changed:
src/plugins/dpdk/device/init.c
src/vat/api_format.c
src/vnet/MTU.md [new file with mode: 0644]
src/vnet/adj/adj.c
src/vnet/adj/adj.h
src/vnet/adj/adj_glean.c
src/vnet/adj/adj_mcast.c
src/vnet/adj/adj_nbr.c
src/vnet/adj/rewrite.c
src/vnet/adj/rewrite.h
src/vnet/devices/virtio/vhost-user.c
src/vnet/ethernet/interface.c
src/vnet/gre/interface.c
src/vnet/interface.api
src/vnet/interface.c
src/vnet/interface.h
src/vnet/interface_api.c
src/vnet/interface_cli.c
src/vnet/interface_format.c
src/vnet/interface_funcs.h
src/vnet/ip/ip6_neighbor.c
src/vnet/ipip/ipip.c
src/vnet/ipip/sixrd.c
src/vnet/ipsec-gre/interface.c
src/vnet/mpls/mpls_tunnel.c
src/vnet/sctp/sctp.c
src/vnet/srp/interface.c
src/vnet/unix/tapcli.c
src/vnet/vnet.h
src/vpp/api/custom_dump.c
test/test_ip4.py
test/test_mtu.py
test/vpp_papi_provider.py