STRUCT EFX_PTP_EVENT_RX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct efx_ptp_event_rx(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, and it's about one little struct β€” but bestie, it's kind of a big deal. buckle up πŸŽ€


✨ NAME ✨

struct efx_ptp_event_rx β€” a PTP receive event (from MC) πŸ‘‘

like, it's literally the lil container that holds a PTP event that came in on the receive side, handed over from the MC. no cap.


✨ SYNOPSIS ✨

struct efx_ptp_event_rx {
    struct list_head link;
    u32 seq0;
    u32 seq1;
    ktime_t hwtimestamp;
    unsigned long expiry;
};

look at her. five fields. flawless. πŸ’…


✨ Members ✨

  • link β€” the list of events. it's how she chains up with all the other events πŸ¦‹
  • seq0 β€” first part of the (PTP) UUID 🌸
  • seq1 β€” second part of the (PTP) UUID and the sequence number. two-for-one, she's efficient πŸ’€
  • hwtimestamp β€” the event timestamp ⏰ (hardware said what it said)
  • expiry β€” the time which the packet arrived πŸ•
ngl, seq1 doing double duty is giving main character energy β€” UUID chunk and sequence number in one field. iconic.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/ethernet/sfc/siena/ptp.c
  • struct efx_ptp_match(9)
  • struct efx_ptp_timeset(9)
  • struct efx_ptp_data(9)

go read those next, bestie, iykyk 🫢


and that's the whole page, fr fr πŸ’– this lil beauty lives over in ./drivers/net/ethernet/sfc/siena and the docs are dated October 2026 β€” so like, future vibes only βœ¨πŸŒΈπŸ¦‹ periodt πŸ’…

πŸ“¦ where this page comes from