bnx2i_get_stats(9)
π bnx2i_get_stats(9) β the kernel API manual, but make it make sense π
okay so bestie, welcome to bnx2i_get_stats(9) from the Kernel API Manual β¨ we're in the bnx2i corner of the kernel today and honestly? it's giving "small function, big responsibilities." let's get into it π¦
πΈ NAME πΈ
bnx2i_get_stats β grab a whole bunch of statistics from the iSCSI offload π like literally, various statistics, that's the whole job π
β¨ SYNOPSIS β¨
int bnx2i_get_stats (void *handle );
that's it. one handle in, an int out. clean, minimal, iconic π
π«Ά ARGUMENTS π«Ά
handleβ this one's abnx2i_hba, no cap π that's the adapter handle you're passing in, and yes it's typed asvoid *in the signature, we don't make the rules
π DESCRIPTION π
so here's the tea β this is a function callback exported via the bnx2i β cnic driver interface π₯ and its whole purpose in life is to retrieve various iSCSI offload related statistics π
the way that it's a callback is honestly so main character of it β the cnic side calls in, bnx2i hands over the stats, everyone's happy π
π¦ SEE ALSO π¦
kernel file ./drivers/scsi/bnx2i/bnx2i_init.c β and while you're in the neighborhood, go say hi to the whole friend group π―ββοΈ:
bnx2i_identify_device(9)get_adapter_list_head(9)bnx2i_find_hba_for_cnic(9)bnx2i_start(9)bnx2i_chip_cleanup(9)bnx2i_stop(9)bnx2i_init_one(9)bnx2i_ulp_init(9)bnx2i_ulp_exit(9)bnx2i_cpu_online(9)bnx2i_mod_init(9)bnx2i_mod_exit(9)
ngl bestie, if you're deep in bnx2i driver land, you're built different and I respect it π«‘
mwah π this page lives in ./drivers/scsi/bnx2i, dated October 2026, and it's part of the Kernel API Manual β go read the whole bnx2i saga, it slays π
π¦ 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