qla_logio_set_vp_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qla_logio_set_vp_index β€” kernel API manual, bestie edition πŸŽ€

okay so real talk, we're in the Kernel API Manual today and the function we're stanning is qla_logio_set_vp_index. she's a lil one. she's an icon. she writes a vp_index into a login/logout IOCB and dips. periodt. ✨


✨ NAME ✨

qla_logio_set_vp_index β€” write vp_index into a login/logout IOCB.

like literally that's her whole job and she does it flawlessly, no notes 🫢


🌸 SYNOPSIS 🌸

void qla_logio_set_vp_index (struct qla_hw_data *ha , void *pkt , u16
vp_idx );

three args, void return, no drama. she takes what she takes and she gives nothing back (affectionately) πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ha β€” HBA pointer. the homegirl herself. 🏠
  • pkt β€” logio IOCB, and it's giving either logio_entry_24xx or logio_entry_24xx_ext, iykyk πŸ‘€
  • vp_idx β€” virtual port index. the star of the show, the main character energy of this whole function honestly πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe check that actually matters: vp_index widens from u8 on logio_entry_24xx all the way up to __le16 on logio_entry_24xx_ext on 29xx. so this function's whole flex is writing that field at the right width for whichever struct she got handed.

not me being obsessed with a width-correct field write 😭 but fr fr that's the assignment and she ate πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/scsi/qla2xxx/qla_inline.h and her whole friend group:

squad goals, no cap 🌈


and that's the page!! this came out of ./drivers/scsi/qla2xxx, dated October 2026, and it's filed under qla_logio_set_vp_index(9) if you ever need to find her again. mwah, go forth and write your fields at the correct width bestie πŸ“πŸ§šπŸ’–

πŸ“¦ where this page comes from