bnx2x_vlan_...rdata_hdr_e2(9)
π bnx2x_vlan_mac_set_rdata_hdr_e2 β from the Kernel API Manual β¨
okay so bestie, buckle up, because today we're looking at bnx2x_vlan_mac_set_rdata_hdr_e2, and she is a whole vibe. this is a kernel API manual page, which means it's documentation for people writing kernel code, not for people who just want their wifi to work. still with me? good. π«Ά
β¨ NAME β¨
bnx2x_vlan_mac_set_rdata_hdr_e2 β set the classify ramrod data header π
like, literally that's her whole job. setting the classify ramrod data header. no cap.
πΈ SYNOPSIS πΈ
void bnx2x_vlan_mac_set_rdata_hdr_e2 (u32 cid , int type , struct
eth_classify_header *hdr , int rule_cnt );
it's a void function, so she gives you nothing back β she's not about that return-value life, she's about the side effects. main character energy fr fr. β
π ARGUMENTS π
four of them. let's meet the cast:
cidβ the connection id π¦typeβBNX2X_FILTER_XXX_PENDING(yes, that's the literal thing the manpage says,XXXand all β iconic honestly)hdrβ pointer to the header you're setting up πrule_cntβ bestie. the manpage does not elaborate. it's just vibes and a blank line. so we are NOT inventing a description, because that would be lying, and lying is not slay. π
π DESCRIPTION π
so here's the tea: currently we always configure one rule and echo field to contain a CID and an opcode type. that's it. that's the whole description. she's short, she's sweet, she knows what she is. π₯
π SEE ALSO π
okay this is the part where the page absolutely pops off, because the SEE ALSO section is enormous and honestly ate. if you need more bnx2x in your life, the kernel file lives at ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c, and here's the whole friend group:
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_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_init(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)
and that's all fifty-nine of them, not one skipped, because we do not do half-finished reading lists in this household. π
ngl, the (9) after every single name is the section number β they're all in the same manual section. consistency queen. π
β¨ cute sign-off β¨
this page comes to you from the kernel source tree, at ./drivers/net/ethernet/broadco... (the footer got cut off mid-path and honestly, relatable β sometimes you just run out of room π), and she's dated October 2026. the manual name she's filed under is bnx2x_vlan_...rdata_hdr_e2(9), ellipsis and all, because even the title needed a little trim. slay. π
π§π
π¦ 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