Directly quoting Kevin Lo <kevlo@openbsd.org>
"The RTL8125/RTL8125B parses short udp frames for ptp messages.
If a frame shorter than 175 bytes reads port 319 or 320 where the chip
expects the udp destination port and fewer than 47 bytes of udp data follow,
the transmitter stops for good."
Separately, the hw doesn't checksum frames shorter than 60 bytes
properly.
We get around both by padding and computing the checksums for these frames.
Both OpenBSD and Linux have implemented a similar workaround [1][2].
[1] https://marc.info/?l=openbsd-tech&m=179358733449818&w=2
[2] https://github.com/torvalds/linux/commit/8d520b4de3edca4f4fb242b5ddc659b6a9b9e65e
Signed-off-by: Aaron Espinoza <acesp25@freebsd.org>