qed_int_get_num_sbs(9)
π qed_int_get_num_sbs(9) β the Kernel API Manual glow-up π
Okay bestie, so this is the manual page for qed_int_get_num_sbs(9) from the Kernel API Manual, and it's basically the origin story of how you find out how many status blocks are configured for this funciton in the igu. Yes, "funciton" β that's the typo in the original, not me being cute. We keep it. Periodt.
β¨ NAME β¨
qed_int_get_num_sbs β Get the number of status blocks configured for this funciton in the igu.
Literally what it says on the tin, bestie. It's giving "one job and it does it."
π¦ SYNOPSIS π¦
void qed_int_get_num_sbs (struct qed_hwfn *p_hwfn , struct
qed_sb_cnt_info *p_sb_cnt_info );
That's the whole glow-up right there β a void function taking two pointers. No return value, it just does the thing and dips. Iconic.
πΈ ARGUMENTS πΈ
p_hwfnβ HW device data. That's your hardware device's whole personality right there β all the info about the device lives in this one.p_sb_cnt_infoβ Pointer to SB count info. This is where the answer gets stashed: a pointer to your status-block count info. Lowkey the whole point of calling the function, tbh.
π RETURN π
Void.
Nothing. Nada. Zero. It returns void, so don't go looking for a return value β it hands the goods off through p_sb_cnt_info instead. No cap.
π SEE ALSO π
The full squad, in the order the original gives them β don't come for me, I'm just the messenger:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_int.hβ the holy grail header, go read it qed_int_igu_enable_int(9)qed_int_igu_disable_int(9)qed_int_igu_read_sisr_reg(9)qed_int_sb_init(9)qed_int_sb_setup(9)qed_int_sb_release(9)qed_int_sp_dpc(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 friend group β every one of those (9) pages is a real one, go say hi π«Ά
Quick vibe check: this page lives in ./drivers/net/ethernet/qlogic/qed, dated October 2026, and you'll find it filed under the qlogic qed family. Don't lose the path, bestie β that's how you find your way back. π§
And that's the whole page, no crumbs left behind. This little gem is from the ./drivers/net/ethernet/qlogic/qed corner of the kernel tree, stamped October 2026 β so future-you knows exactly when this masterpiece dropped. Slay. ππΈβ¨
π¦ 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