STRUCT EF4_LINK_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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