aboutsummaryrefslogtreecommitdiff
path: root/packages/yp/(public-mirror)
diff options
context:
space:
mode:
authorSumit Saxena <ssaxena@FreeBSD.org>2026-09-02 19:36:43 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-03 00:49:30 +0000
commit3c928ccadbb5d7baa3ce18d33d09d9a1d2770397 (patch)
tree8d137092e6c6fb909705c71d12e98539250c22cc /packages/yp/(public-mirror)
parentd8b6461f8c56237a00ddc32678b3928bf76f5440 (diff)
iflib: Plumb per-packet RX hardware timestamps to mbufsHEADmain
Add iri_rcv_tstmp to if_rxd_info so an isc_rxd_pkt_get() driver can report a hardware RX timestamp. Copy it into m_pkthdr.rcv_tstmp, reusing the generic mbuf timestamp path. Widen iri_flags from uint8_t to uint32_t and define the flags drivers may supply. Mask the flags before copying them into the mbuf so no other mbuf state can leak through the driver callback. Place the timestamp next to iri_frags to avoid an alignment hole, and document its nanoseconds-since-boot representation and validity flags. Bump __FreeBSD_version because changing if_rxd_info breaks KBI. Reviewed by: gallatin Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Differential Revision: https://reviews.freebsd.org/D58638
Diffstat (limited to 'packages/yp/(public-mirror)')
0 files changed, 0 insertions, 0 deletions