bfa_nw_flash_update_part(9)
π bfa_nw_flash_update_part β Kernel API Manual
okay so bestie, welcome to the glow-up era of bfa_nw_flash_update_part, straight out of the Kernel API Manual β¨ this one's a little function with one big job: Update flash partition. that's the whole vibe. she's giving maintenance-mode main character energy π
β¨ SYNOPSIS β¨
enum bfa_status bfa_nw_flash_update_part (struct bfa_flash *flash , u32
type , u8 instance , void *buf , u32 len , u32 offset , bfa_cb_flash
cbfn , void *cbarg );
like, yes, that's a lot of parameters. she's highkey an everything-bagel π₯― but don't panic, we're gonna go through every single one π
πΈ ARGUMENTS πΈ
flashβ the flash structure. this is the whole situation, the icon herself πtypeβ flash partition type. which flavor of partition are we dealing with πinstanceβ flash partition instance. like, which exact one, because apparently one wasn't enough πbufβ the update data buffer. this is where your actual bytes live π«Άlenβ data buffer length. gotta know how much data you're bringing to the party β¨offsetβ offset relative to the partition starting address. yes bestie, relative to the partition starting address, not absolute, i don't make the rules πcbfnβ callback function. she'll call you back, don't worry πcbargβ callback argument. the little something extra you pass along to said callback π
π¦ DESCRIPTION π¦
Return status. and that's it. that's the description. lowkey iconic of the manpage to just say that and dip π but fr fr, that's what it does: it returns a status. enum bfa_status, to be exact. no cap.
π SEE ALSO π
the kernel file in question lives at:
./drivers/net/ethernet/brocade/bna/bfa_ioc.c
and here's the whole friend group, all linked up π«Ά:
bfa_nw_ioc_smem_read(9)bfa_nw_ioc_attach(9)bfa_nw_ioc_pci_init(9)bfa_nw_ioc_mem_claim(9)bfa_nw_ioc_mbox_queue(9)bfa_flash_read_send(9)bfa_flash_intr(9)bfa_nw_flash_attach(9)bfa_nw_flash_memclaim(9)bfa_nw_flash_get_attr(9)bfa_nw_flash_read_part(9)
notice how she has a read_part bestie but this one is update_part β they're sisters, not twins, iykyk π―ββοΈ
lowkey? the page is short, the parameter list is long, and balance is everything. go touch some flash (safely) π
and that's the whole page, bestie! π§ this lil gem comes to you from ./drivers/net/ethernet/brocade... and the date on the tin is October 2026 β so yeah, she's got a timestamp and she's not afraid to use it β bye babes, go update those partitions 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