bnx2x_q_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bnx2x_q_init(9) β€” a Kernel API Manual moment

okay so bestie, we're in the Kernel API Manual today and the main character is bnx2x_q_init. no cap, this is the glow-up doc for your queue.


✨ NAME ✨

bnx2x_q_init β€” init HW/FW queue 🌸

like, literally: it inits the hardware/firmware queue. that's the vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int bnx2x_q_init (struct bnx2x *bp , struct bnx2x_queue_state_params
*params );

she takes two things and returns an int, periodt. πŸ’…


🫢 ARGUMENTS 🫢

  • bp β€” the device handle πŸ’– like, the whole device, in your hand.
  • params β€” so the original page just... doesn't say anything else here πŸ™ˆ nothing. no blurb. not one crumb. it's giving mysterious. just know that it's the struct bnx2x_queue_state_params * from the synopsis, mwah.

πŸ”₯ DESCRIPTION πŸ”₯

she does the HW/FW initial Queue configuration, which is a fancy way of saying: the queue gets set up properly. iconic behaviour, honestly. πŸ‘‘

here's the full list of what that covers β€” and yes, both bullets, i'm not skipping anything:

  • HC: Rx and Tx ⭐ β€” receive and transmit, both of them, no favourites.
  • CDU context validation 🧚 β€” the context gets validated. slay.

that's the entire description bestie, it's a short one. not every baddie needs a whole essay. πŸ’€


🌈 SEE ALSO 🌈

okay this is the part where the manpage absolutely ate and left no crumbs β€” look at this entire list of friends, cousins, and distant relatives. i'm putting every single one down because they all deserve their moment 🫢✨

Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

bnx2x_exe_queue_init(9), bnx2x_exe_queue_add(9), bnx2x_exe_queue_step(9), bnx2x_state_wait(9), __bnx2x_vlan_mac_h_write_trylock(9), __bnx2x_vlan_mac_h_exec_pending(9), __bnx2x_vlan_mac_h_pend(9), __bnx2x_vlan_mac_h_write_unlock(9), __bnx2x_vlan_mac_h_read_lock(9), bnx2x_vlan_mac_h_read_lock(9), __bnx2x_vlan_mac_h_read_unlock(9), bnx2x_vlan_mac_h_read_unlock(9), bnx2x_vlan_mac_set_cmd_hdr_e2(9), bnx2x_vlan_mac_set_rdata_hdr_e2(9), bnx2x_vlan_mac_set_rdata_hdr_e1x(9), bnx2x_set_one_mac_e1x(9), bnx2x_set_one_vlan_mac_e1h(9), bnx2x_vlan_mac_restore(9), bnx2x_validate_vlan_mac_add(9), bnx2x_validate_vlan_mac_del(9), bnx2x_validate_vlan_mac_move(9), bnx2x_wait_vlan_mac(9), bnx2x_complete_vlan_mac(9), bnx2x_optimize_vlan_mac(9), bnx2x_vlan_mac_get_registry_elem(9), bnx2x_execute_vlan_mac(9), bnx2x_config_vlan_mac(9), bnx2x_vlan_mac_del_all(9), bnx2x_mcast_get_next_bin(9), bnx2x_mcast_clear_first_bin(9), bnx2x_mcast_handle_restore_cmd_e2(9), bnx2x_mcast_handle_current_cmd(9), bnx2x_mcast_set_rdata_hdr_e2(9), bnx2x_mcast_refresh_registry_e2(9), bnx2x_mcast_set_rdata_hdr_e1(9), bnx2x_mcast_handle_restore_cmd_e1(9), bnx2x_get_fw_mac_addr(9), bnx2x_mcast_refresh_registry_e1(9), __atomic_add_ifless(9), __atomic_dec_ifmoe(9), bnx2x_init_credit_pool(9), bnx2x_debug_print_ind_table(9), bnx2x_setup_rss(9), bnx2x_queue_state_change(9), bnx2x_queue_comp_cmd(9), bnx2x_q_send_deactivate(9), bnx2x_q_send_activate(9), bnx2x_queue_chk_transition(9), bnx2x_func_state_change_comp(9), bnx2x_func_comp_cmd(9), bnx2x_func_chk_transition(9), bnx2x_func_init_func(9), bnx2x_func_init_port(9), bnx2x_func_init_cmn_chip(9), bnx2x_func_init_cmn(9), bnx2x_func_reset_func(9), bnx2x_func_reset_port(9), bnx2x_func_reset_cmn(9), bnx2x_func_state_change(9)

look at them. a whole squad. πŸ”₯ (also quick heads up: __atomic_dec_ifmoe(9) really is spelled that way in here β€” i'm not fixing it, i'm not touching it, i'm just saying it and moving on πŸ’€)


real talk though bestie: this page is literally just a name, a signature, a couple of bullets and a very long guest list. so if you came for the deep lore, the actual code lives in ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c and every one of those homies above has their own page. go read the squad. πŸ’œ

okay that's the whole page, babes πŸŽ€ mwah. source and version come straight off the footer β€” ./drivers/net/ethernet/broadco... β€” dated October 2026, and the title's still bnx2x_q_init(9) because some things never change. πŸ¦‹βœ¨ bye bestie, go init a queue πŸ’…

πŸ“¦ where this page comes from