Improve MTU handling 83/10483/2
authorNeale Ranns <neale.ranns@cisco.com>
Fri, 9 Feb 2018 14:05:16 +0000 (06:05 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 12 Feb 2018 11:23:33 +0000 (11:23 +0000)
commitffd78d1ef8fe80d1b756a71d42d5eadda60ae996
tree99770e8773a7c3dd27c8b9b116edb6a39ace09ea
parent2d6f66e1748be190664cbd72c826db32616d759a
Improve MTU handling

- setting MTU on an interface updates the L3 max bytes too
- value cached in the adjacency is also updated
- MTU exceeded generates ICMP to sender

Change-Id: I343ec71d8e903b529594c4bd0543f04bc7f370b3
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
src/vnet/adj/adj.c
src/vnet/adj/adj.h
src/vnet/adj/rewrite.c
src/vnet/adj/rewrite.h
src/vnet/interface.c
src/vnet/interface_api.c
src/vnet/interface_cli.c
src/vnet/interface_funcs.h
src/vnet/ip/ip4_forward.c
test/test_ip4.py
test/vpp_papi_provider.py