Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
MTU: Software interface / Per-protocol MTU support
[vpp.git]
/
src
/
vnet
/
ipip
/
sixrd.c
diff --git
a/src/vnet/ipip/sixrd.c
b/src/vnet/ipip/sixrd.c
index
cfdd0f8
..
38ca899
100644
(file)
--- a/
src/vnet/ipip/sixrd.c
+++ b/
src/vnet/ipip/sixrd.c
@@
-337,7
+337,7
@@
sixrd_add_tunnel (ip6_address_t * ip6_prefix, u8 ip6_prefix_len,
t->dev_instance = t_idx;
t->user_instance = t_idx;
-
hi->max_l3_packet_bytes[VLIB_RX] = hi->max_l3_packet_bytes[VLIB_TX] = 1480
;
+
vnet_sw_interface_set_mtu (vnet_get_main (), t->sw_if_index, 1480)
;
ipip_tunnel_db_add (t, &key);