bnx2x_get_le...ock_resource(9)
π bnx2x_get_leader_lock_resource β a Kernel API Manual moment π
okay bestie, welcome to the Kernel API Manual, we're doing driver internals today and honestly? it's giving main character energy.
β¨ NAME β¨
bnx2x_get_leader_lock_resource β literally just gets you the recovery leader resource id π«Ά
πΈ SYNOPSIS πΈ
int bnx2x_get_leader_lock_resource (struct bnx2x *bp );
π¦ ARGUMENTS π¦
bpβ the driver handle. that's it, that's the whole vibe. it's yourstruct bnx2x *and you gotta hand it over π
β DESCRIPTION β
so the way this works is: it returns the recovery leader resource id, and which one you get depends on the engine this function belongs to. periodt. π₯
currently only 2 engines is supported β that's the whole rule, no cap, don't come asking for engine number three π
π SEE ALSO π
bestie the friend group is huge, buckle up π:
- Kernel file
./drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_trylock_leader_lock(9)bnx2x_get_common_flags(9)bnx2x_is_contextless_ramrod(9)bnx2x_sp_post(9)bnx2x_clear_pf_load(9)bnx2x_chk_parity_attn(9)bnx2x_init_hw_common(9)bnx2x_init_hw_common_chip(9)bnx2x_set_int_mode(9)bnx2x_pf_q_prep_init(9)bnx2x_setup_queue(9)bnx2x_send_unload_req(9)bnx2x_send_unload_done(9)bnx2x_clp_reset_done(9)bnx2x_reset_mcp_prep(9)bnx2x_mcp_wait_one(9)bnx2x_er_poll_igu_vq(9)bnx2x_set_uc_list(9)bnx2x_get_num_non_def_sbs(9)bnx2x_io_error_detected(9)bnx2x_io_slot_reset(9)bnx2x_io_resume(9)bnx2x_set_iscsi_eth_mac_addr(9)
like, that's the whole squad π β¨
ngl every single one of those is a real page, go read them, iykyk π
okay that's the page!! tysm for reading π₯Ή and just so we're keeping receipts: this one came from ./drivers/net/ethernet/broadco... and it's dated October 2026, so yeah β future vibes only ππ¦ slay, bye!! π
π¦ 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