STRUCT EF4_LOOPBACK_STATE(9)
β¨ 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 inef4_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 ofsk_buffpointers, 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 fairpayloadβ the payload used in tests. it's astruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms