qed_int_sb_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_int_sb_init(9) β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the glow-up of qed_int_sb_init, straight out of the Kernel API Manual. this one's a little init function with big main character energy, and we're gonna get into it ✨


🌸 NAME 🌸

qed_int_sb_init β€” literally just initializes the sb_info structure. that's the whole personality. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int qed_int_sb_init (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
struct qed_sb_info *sb_info , void *sb_virt_addr , dma_addr_t
sb_phy_addr , u16 sb_id );

she takes six args and returns an int, no cap 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” the HW device data. the hardware's whole vibe lives in here πŸ’œ
  • p_ptt β€” P_ptt. yeah that's the entire description bestie, she's mysterious like that πŸ™ˆ
  • sb_info β€” points to an uninitialized (but already allocated!) sb_info structure. so like, the shell is there, the personality gets installed by this function ✨
  • sb_virt_addr β€” the SB virtual address πŸ”₯
  • sb_phy_addr β€” the SB "Physial" address (that typo is not mine, I'm just the messenger 😭)
  • sb_id β€” the sb_id to be used (zero based in driver). > should use QED_SP_SB_ID for SP Status block πŸ‘‘

⭐ RETURN ⭐

int. that's it. that's the return section. short queen behavior 🌈


🧚 DESCRIPTION 🧚

so the way that this works: once the structure is initialized, it can be passed to sb related functions. like she gets her little makeover and then she's ready to mingle with the rest of the sb crew πŸŽ€πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_int.h β€” go read the header, iykyk πŸ’…

and then the whole friend group, fr fr:


πŸ’€ that's the whole page, bestie πŸ’€

shoutout to ./drivers/net/ethernet/qlogic/qed for being the source, dated October 2026 β€” slay, see you in the next release πŸ«Άβœ¨πŸŽ€

πŸ“¦ where this page comes from