bnx2x_bz_fp(9)
π NAME π
bnx2x_bz_fp β zero content of the fastpath structure, bestie. That's the whole gig. β¨
π SYNOPSIS π
void bnx2x_bz_fp (struct bnx2x *bp , int index );
okay so it returns void, which means it's not gonna hand you back a little treat β it just does the thing and dips. π
π¦ ARGUMENTS π¦
bpβ the driver handle. your main character struct, the one you're passing around everywhere π«Άindexβ the fastpath index that's getting zeroed. yes, specifically that one, pick it carefully π
πΈ DESCRIPTION πΈ
So here's the vibe: this function zeroes out the fastpath structure, but it's being so careful about it β it makes sure the contents of bp->fp[index].napi is kept intact. π§
That's literally the whole personality. zero the fastpath, but do NOT come for napi, she stays. not me being protective over one struct member ππ
π SEE ALSO π
the whole friend group, no cap β go say hi to all of them:
- Kernel file
./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_move_fp(9),bnx2x_fill_fw_str(9),bnx2x_shrink_eth_fp(9),bnx2x_set_gro_params(9),bnx2x_fill_report_data(9),bnx2x_link_report(9),__bnx2x_link_report(9),bnx2x_free_msix_irqs(9),bnx2x_set_real_num_queues(9),bnx2x_set_pbd_gso(9),bnx2x_set_pbd_csum_enc(9),bnx2x_set_pbd_csum_e2(9),bnx2x_set_pbd_csum(9),bnx2x_setup_tc(9)
lowkey love that for you: every single one of those is an honest-to-god (9) manpage, so no excuses, go read them ππ
and that's the page, periodt. π this little love letter lives in the Kernel API Manual, dated October 2026, sourced from ./drivers/net/ethernet/broadco... (yes that's the truncated path, they really put it in there like that, iconic honestly πβ¨). slay, go zero your fastpath 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