qed_ll2_get_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« qed_ll2_get_stats πŸ’«

okay bestie, welcome to the Kernel API Manual page for qed_ll2_get_stats β€” yes that's the 9th section of the manual, no cap. This is a function and it does exactly one thing: it pulls the statistics for an LL2 queue. that's it. that's the whole vibe. πŸŽ€


✨ NAME ✨

qed_ll2_get_stats β€” get LL2 queue's statistics 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int qed_ll2_get_stats (void *cxt , u8 connection_handle , struct
qed_ll2_stats *p_stats );

like literally that's the whole signature, copy it exactly if you're typing it, i'm begging you πŸ™ˆ


πŸ’… ARGUMENTS πŸ’…

  • cxt β€” pointer to the hw-function [opaque to some]. yes the brackets are part of it, that's just how it is, iykyk 🫢
  • connection_handle β€” the LL2 connection's handle, and you get it from qed_ll2_require_connection. so go get it from there first, bestie, don't just invent one πŸ’€
  • p_stats β€” pointer Status. that's the spot where the stats land. πŸ‘‘

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success πŸ’–
  • failure otherwise 😭

that's the whole deal. zero means slay, anything else means vibe check failed.


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/net/ethernet/qlogic/qed/qed_ll2.h β€” go say hi to it 🧚

and here's the whole friend group, all the LL2 siblings:

the way that's a whole squad 😭🫢


ngl this page came from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's page qed_ll2_get_stats(9) of the kernel API manual. mwah, periodt πŸ’…β­
πŸ“¦ where this page comes from