summaryrefslogtreecommitdiff
path: root/src/services/vyos-commitd
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-09-04 16:32:01 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2026-10-08 14:36:32 +0300
commitd054b7c82f239ff09a905b506943c03094d2d26b (patch)
tree8b59d7b9930bc69a06344667e101f295d904d9d9 /src/services/vyos-commitd
parent1ac0219e62c7b0efee9e81e7266558dffc7b14e6 (diff)
downloadvyos-1x-d054b7c82f239ff09a905b506943c03094d2d26b.tar.gz
vyos-1x-d054b7c82f239ff09a905b506943c03094d2d26b.zip
vpp: T9161: Enforce NIC MTU limit and apply MTU to VLAN sub-interfaces
On a VPP-bound interface the MTU limit is the NIC's, which only VPP knows (the kernel side is an LCP tap reporting a meaningless larger max). Reject at commit an MTU larger than that limit, read from VPP's 'show hardware-interfaces' (max mtu + driver frame overhead), so the kernel and dataplane cannot silently end up with different MTUs. Also apply a VLAN sub-interface's MTU to its VPP dataplane sub-interface and its linux-cp tap (created with MTU 0), not just the parent; a sub-interface without its own MTU inherits the parent's. Covers ethernet (vif/vif-s) and VPP bond/loopback (vif).
Diffstat (limited to 'src/services/vyos-commitd')
0 files changed, 0 insertions, 0 deletions