Description:
MTU can be configured via opaque.parameters.interface.mtu.
However, for SR-IOV VFs, it is currently possible to set an MTU larger than the parent PF’s MTU due to the lack of validation.
This can lead to inconsistent or invalid configurations.
It would be better to introduce validation to prevent this. Possible approaches include:
- Logging a warning and falling back to the PF’s MTU
- Logging an error and rejecting pod creation
- Logging only (no enforcement)
Environment:
- Kubernetes: v1.35.3
- containerd: v2.2.2
- runc: v1.4.2
- RDMA NIC: Mellanox ConnectX-6
Description:
MTU can be configured via
opaque.parameters.interface.mtu.However, for SR-IOV VFs, it is currently possible to set an MTU larger than the parent PF’s MTU due to the lack of validation.
This can lead to inconsistent or invalid configurations.
It would be better to introduce validation to prevent this. Possible approaches include:
Environment: