qed_int_sb_init(9)
π 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_infostructure. 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β thesb_idto be used (zero based in driver). > should useQED_SP_SB_IDfor 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:
qed_int_igu_enable_int(9)qed_int_igu_disable_int(9)qed_int_igu_read_sisr_reg(9)qed_int_sb_setup(9)qed_int_sb_release(9)qed_int_sp_dpc(9)qed_int_get_num_sbs(9)qed_int_disable_post_isr_release(9)qed_int_attn_clr_enable(9)qed_int_get_sb_dbg(9)qed_db_rec_handler(9)qed_int_igu_reset_cam(9)qed_get_igu_sb_id(9)qed_get_igu_free_sb(9)qed_int_igu_read_cam(9)qed_int_register_cb(9)qed_int_unregister_cb(9)qed_int_get_sp_sb_id(9)qed_int_igu_init_pure_rt_single(9)qed_int_cau_conf_sb(9)qed_int_alloc(9)qed_int_free(9)qed_int_setup(9)qed_int_igu_enable(9)qed_init_cau_sb_entry(9)
π 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
- 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