__bnx2x_link_report(9)
π __bnx2x_link_report (9) π
okay so bestie, welcome to the kernel API manual for __bnx2x_link_report β she's a bnx2x girlie and she's here to spill the tea about your link status πΈ
β¨ NAME β¨
__bnx2x_link_report β literally the function whose whole job is report link status to OS. that's it, that's the vibe π
π SYNOPSIS π
void __bnx2x_link_report (struct bnx2x *bp );
no cap, that's the whole signature. she takes one (1) pointer and returns absolutely nothing back to you π
π¦ ARGUMENTS π¦
bpβ the driver handle π«Ά like, your whole bnx2x situation lives in here.
π DESCRIPTION π
so here's the thing, bestie β this is a None atomic implementation. meaning: not atomic, do not be calling her from some atomic context thinking it's fine, because it is not fine π
π she should be called under the phy_lock. that's not optional, that's the assignment. hold the lock, then report, iykyk π
she reports the link status to the OS, and she does it exactly the way the driver needs her to. iconic behaviour, honestly π
β SEE ALSO β
this is the part where we shout out her whole friend group π they all live in the kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c and honestly? the roster ate:
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_free_msix_irqs(9)bnx2x_set_real_num_queues(9)bnx2x_bz_fp(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)
fr fr, go read all of them, they're all giving main character energy π
π before you go β this page came from source/version <code>./drivers/net/ethernet/broadco...</code> (yes bestie, it's truncated in the original, that's just how it is π) and it's dated October 2026. mwah, stay hydrated, hold your locks, and don't call non-atomic functions from atomic context πβ¨
π¦ 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