hisi_qm_set_vft(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hisi_qm_set_vft(9) β€” Kernel API Manual, bestie edition πŸ’–

okay so welcome to hisi_qm_set_vft(9), straight out of the Kernel API Manual. She is here to set vft to a qm, and honestly? slay. No cap, this is the page for assigning queues among PF and VFs, and we’re gonna get into it. 🫢

🌸 NAME 🌸

hisi_qm_set_vft β€” Set vft to a qm. periodt.

✨ SYNOPSIS ✨

int hisi_qm_set_vft (struct hisi_qm *qm , u32 fun_num , u32 base , u32
       number );

πŸŽ€ ARGUMENTS πŸŽ€

  • qm β€” the qm we want to set its vft. iconic.
  • fun_num β€” the function number.
  • base β€” the base number of queue in vft.
  • number β€” the number of queues in vft.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here’s the tea: this function is always called in the PF driver. She’s used to assign queues among PF and VFs. That’s her whole main character job. πŸ’…

Assign queues A~B to PF with:

hisi_qm_set_vft(qm, 0, A, B - A + 1)

Assign queues A~B to VF with:

hisi_qm_set_vft(qm, 2, A, B - A + 1)

(VF function number 0x2.) πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

Bestie, the friend group is long and every single one is invited:


mwah πŸ’‹ β€” source/version ./drivers/crypto/hisilicon, date October 2026, page hisi_qm_set_vft(9). bye bestie, go assign those queues 🫢✨

πŸ“¦ where this page comes from