t4_get_lb_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t4_get_lb_stats πŸ’…

okay so bestie, this is the t4_get_lb_stats(9) page from the Kernel API Manual, and we’re gonna get you comfy with it. no cap. ✨

🌸 NAME 🌸

t4_get_lb_stats β€” collect loopback port statistics. that’s the whole title, and it’s giving β€œshort but iconic.” πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

void t4_get_lb_stats (struct adapter *adap , int idx , struct
       lb_port_stats *p );

lowkey a void function, so it’s not returning a value to you. it just does the thing. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • adap β€” the adapter. yes, that adapter.
  • idx β€” the loopback port index. the little number that says which loopback port we’re talking about.
  • p β€” the stats structure to fill. bestie, this is where the stats go. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

Return HW statistics for the given loopback port. that’s it. that’s the function. HW stats, loopback port, no extra plot twists. slay. ✨

🌈 SEE ALSO 🌈

the extended cxgb4 friend group is huge, so here’s everyone β€” no one left behind, fr fr:


cute sign-off 🫢: source/version is ./drivers/net/ethernet/chelsio..., dated October 2026, and it’s the t4_get_lb_stats(9) page β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from