STRUCT EF4_LOOPBACK_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ef4_loopback_state(9) ✨

okay so bestie, welcome to the manual page for struct ef4_loopback_state β€” it lives in section 9 of the Kernel API Manual, and it's literally the ✨persistent state during a loopback selftest✨. that's the whole vibe. it's the little diary the driver keeps while it's doing its loopback self-test πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, copied exactly so you can trust me fr fr:

struct ef4_loopback_state {
    bool flush;
    int packet_count;
    struct sk_buff **skbs;
    bool offload_csum;
    atomic_t rx_good;
    atomic_t rx_bad;
    struct ef4_loopback_payload payload;
 };

she's got seven members and every single one is doing her job πŸ’…


πŸ’– Members πŸ’–

  • flush β€” drop all the packets in ef4_loopback_rx_packet. all of them. not a single one survives 🫢
  • packet_count β€” the number of packets being used in this test. literally the headcount for the packet party πŸ”₯
  • skbs β€” an array of skbs that got transmitted. yes, an array, yes of sk_buff pointers, yes I said what I said ✨
  • offload_csum β€” checksums are being offloaded. that's it, that's the member 😌
  • rx_good β€” RX good packet count. the good ones. the iconics πŸ‘‘
  • rx_bad β€” RX bad packet count. the flops πŸ’€ they still get counted, fair's fair
  • payload β€” the payload used in tests. it's a struct ef4_loopback_payload, no notes 🌸

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/net/ethernet/sfc/falcon/selftest.c β€” go read it, iykyk πŸ“–

okay that's the whole page, no cap πŸ™ˆ this came out of ./drivers/net/ethernet/sfc/falcon and it's dated October 2026, so consider yourself fully briefed. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from