diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-09-04 16:32:01 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-10-08 14:36:32 +0300 |
| commit | d054b7c82f239ff09a905b506943c03094d2d26b (patch) | |
| tree | 8b59d7b9930bc69a06344667e101f295d904d9d9 /src/validators/numeric-exclude | |
| parent | 1ac0219e62c7b0efee9e81e7266558dffc7b14e6 (diff) | |
| download | vyos-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/validators/numeric-exclude')
0 files changed, 0 insertions, 0 deletions
