bnx2x_send_unload_req(9)
π bnx2x_send_unload_req(9)
okay bestie, welcome to the Kernel API Manual β¨ β yes, that's the manual name, and yes it's giving "official business" energy, but we're gonna get through this together. This one's a little baby function in the bnx2x driver family, and honestly? She's short, she's sweet, and she's the designated messenger between the driver and the MCP. π
πΈ NAME πΈ
bnx2x_send_unload_req β literally just requesting the unload mode from the MCP. that's her whole job. no cap. π
β¨ SYNOPSIS β¨
u32 bnx2x_send_unload_req (struct bnx2x *bp , int unload_mode );
π¦ ARGUMENTS π¦
bpβ the driver handle. your main character pointer. π«Άunload_modeβ the requested function's unload mode. you're telling her what vibe you're going for. π
π₯ DESCRIPTION π₯
So what does she actually do? She returns the unload mode that the MCP hands back to you, and that answer is gonna be one of exactly three things: COMMON, PORT, or FUNC. that's it. that's the whole function. short queen behavior, we love to see it. π
like, the way she just asks and reports back? iconic. no extra drama, no side quests, just a straight answer from the MCP. β
π SEE ALSO π
okay this is the part where the friend group shows up, and it's a big friend group, so buckle in π β but first, a very important one: the kernel file herself,
./drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
and now, the besties, in the exact order they were introduced:
bnx2x_get_leader_lock_resource(9)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_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, she knows everybody. it's giving connected. ππ
ngl, that SEE ALSO list is a whole group chat and you will be added to it. mwah. π
and that's the page!! before you go β cute little sign-off: this one came from the source/version line ./drivers/net/ethernet/broadco... (yes, it's truncated with the little ellipsis, that's just how the footer rolls π) and it's dated October 2026. so, vintage. πβ¨ bye bestie, go unload something responsibly! ππ§
π¦ 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