bnx2x_set_is...eth_mac_addr(9)
π bnx2x_set_iscsi_eth_mac_addr(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes we're gonna read it together like it's the most iconic group chat in the whole kernel tree π
β¨ NAME β¨
bnx2x_set_iscsi_eth_mac_addr β it sets the iSCSI MAC(s). that's the whole vibe. setting MACs. iSCSI ones. slay π
πΈ SYNOPSIS πΈ
int bnx2x_set_iscsi_eth_mac_addr (struct bnx2x *bp );
literally that's it. one function, one argument, zero drama π₯
π¦ ARGUMENTS π¦
bpβ the driver handle π that's it, that's the description, no cap. it's the handle. for the driver. iconic brevity honestly.
β DESCRIPTION β
okay so here's what actually happens, listen up π«Ά
this function will wait until the ramrod completion returns. like it's just gonna sit there, patiently, waiting for that ramrod to come back. main character patience energy honestly β¨
then it returns 0 if it's a success π and -ENODEV if the ramrod doesn't return π like, it just never shows up. ghosted. no text back. and you get -ENODEV for your troubles π
bestie please note: success means0, and a ramrod that never returns means-ENODEV. those are your two outcomes. don't get it twisted π
π SEE ALSO π
catch these siblings in the kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c π§ and also all these other functions living their best lives:
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_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)
like that's a whole friend group right there, they all showed up to the function party ππ
alright bestie that's the page!! source is ./drivers/net/ethernet/broadco..., dated October 2026, and the manual name is bnx2x_set_is...eth_mac_addr(9) β go forth and set those iSCSI MACs, ily, 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