From ffd78d1ef8fe80d1b756a71d42d5eadda60ae996 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 9 Feb 2018 06:05:16 -0800 Subject: 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 --- src/vnet/adj/adj.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vnet/adj/adj.h') diff --git a/src/vnet/adj/adj.h b/src/vnet/adj/adj.h index fe77d1634e0..bcf6c041209 100644 --- a/src/vnet/adj/adj.h +++ b/src/vnet/adj/adj.h @@ -344,6 +344,12 @@ extern const u8* adj_get_rewrite (adj_index_t ai); */ extern void adj_feature_update (u32 sw_if_index, u8 arc_index, u8 is_enable); +/** + * @brief Notify the adjacency subsystem that the MTU settings for + * an HW interface have changed + */ +extern void adj_mtu_update (u32 hw_if_index); + /** * @brief * The global adjacnecy pool. Exposed for fast/inline data-plane access -- cgit 1.2.3-korg