STRUCT EF4_LINK_STATE(9)
π¦ NAME π¦
struct ef4_link_state β the current state of the link, literally that's it, that's the whole thing π
β¨ SYNOPSIS β¨
okay so welcome to the Kernel API Manual, bestie β here's the whole struct, no cap, exactly as it is:
struct ef4_link_state {
bool up;
bool fd;
u8 fc;
unsigned int speed;
};
πΈ Members πΈ
the little squad living inside this struct, one by one π«Ά
upβ the link is up. that's it. that's the field. it's a whole bool about whether the link is up πfdβ the link is full-duplex. both directions at the same time, we love a two-way situation β¨fcβ the actual flow control flags. actual. not the pretend ones. the real ones π₯speedβ the link speed, in Mbps. Mbps, not MB/s, don't come for me π
π SEE ALSO π
so the kernel file lives at ./drivers/net/ethernet/sfc/falcon/net_driver.h, and here's the entire friend group, iykyk π
struct ef4_buffer(9)struct ef4_special_buffer(9)struct ef4_tx_buffer(9)struct ef4_tx_queue(9)struct ef4_rx_buffer(9)struct ef4_rx_page_state(9)struct ef4_rx_queue(9)struct ef4_channel(9)struct ef4_msi_context(9)struct ef4_channel_type(9)struct ef4_phy_operations(9)enum ef4_phy_mode(9)struct ef4_hw_stat_desc(9)struct ef4_nic(9)struct ef4_nic_type(9)
ok that's the whole page, mwah π β this lil masterpiece came from ./drivers/net/ethernet/sfc/falcon, and we're stamped October 2026, periodt ππβ
π¦ 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