db_recovery_add(9)
π db_recovery_add(9) π
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual we're in, we're doing kernel API hours β¨ this one's all about the doorbell recovery mechanism and how to feed it your doorbell deets. doorbell here is not the thing on your front door btw, it's the little hardware nudge a NIC gives the driver. slay.
β¨ NAME β¨
db_recovery_add β literally just adds doorbell info to the doorbell recovery mechanism. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
int db_recovery_add (struct qed_dev *cdev , void __iomem *db_addr , void
*db_data , enum qed_db_rec_width db_width , enum qed_db_rec_space
db_space );
it's giving five arguments, returns an int, no cap π«Ά
πΈ ARGUMENTS πΈ
cdevβ the qed dev pointer π your main character struct, the whole device basically.db_addrβ the doorbell address. where the doorbell lives, address-wise.db_dataβ the address of whereverdb_datais stored π (yes the parameter is nameddb_dataand it points at the placedb_datais kept, we love a self-referential moment, iykyk).db_widthβ doorbell is 32b or 64b. pick one, bestie, those are the options.db_spaceβ the doorbell recovery addresses are user or kernel space. so you gotta know which side you're on.
β RETURN β
Int π that's it, that's the whole return section. one Int. iconic minimalism.
π₯ SEE ALSO π₯
first off, the kernel file: ./include/linux/qed/qed_if.h β go read it, it's right there π
and then the whole friend group, fr fr:
selftest_interrupt(9)selftest_memory(9)selftest_register(9)selftest_clock(9)selftest_nvram(9)can_link_change(9)set_link(9)get_link(9)drain(9)update_msglvl(9)nvm_flash(9)nvm_get_image(9)set_coalesce(9)set_led(9)attn_clr_enable(9)db_recovery_del(9)recovery_process(9)recovery_prolog(9)update_drv_state(9)update_mac(9)update_mtu(9)update_wol(9)read_module_eeprom(9)get_affin_hwfn_idx(9)read_nvm_cfg(9)read_nvm_cfg_len(9)set_grc_config(9)qed_sb_ack(9)
ngl db_recovery_del(9) being right there in the list is the funniest thing β add, then delete, the circle of life π¦π
so yeah, that's the page π it comes to you from ./include/linux/qed and the date stamp says October 2026, so mark your calendar bestie, and go add those doorbells πβ¨π
π¦ 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