pvrdma_modify_srq(9)
π pvrdma_modify_srq(9) β from the Kernel API Manual, bestie π
okay so like. this is a page from the Kernel API Manual and it's about pvrdma_modify_srq, which is lowkey the glow-up function for a shared receive queue. it changes the SRQ's attributes. that's the whole vibe. let's get into it β¨
β¨ NAME β¨
pvrdma_modify_srq β modify shared receive queue attributes π¦
like literally, you're editing the attributes of a shared receive queue. main character function behavior only π
πΈ SYNOPSIS πΈ
int pvrdma_modify_srq (struct ib_srq *ibsrq , struct ib_srq_attr *attr ,
enum ib_srq_attr_mask attr_mask , struct ib_udata *udata );
okay so it takes in an ib_srq *, an ib_srq_attr *, an enum ib_srq_attr_mask, and an ib_udata *, and it hands you back an int. that's the whole cast of characters, and yes they're all iconic in their own way π
π«Ά ARGUMENTS π«Ά
ibsrqβ the shared receive queue to modify π« this is the one getting the makeover, the subject of the whole episodeattrβ the shared receive queue's new attributes β¨ this is the new fit. the new look. the new stats, for the SRQ in questionattr_maskβ attributes mask π it tells you which of the attributes are in play, iykykudataβ user data πΈ the user data that rides along with the call
π₯ DESCRIPTION π₯
ngl the description here is short and sweet and honestly it ate:
returns 0 on success, otherwise returns an errno. periodt. π
so like, 0 means slay, you did it, the SRQ attributes are modified. anything else is an errno telling you what went sideways π no cap, that's the entire documented behaviour.
fr fr:0= success, anything else = anerrno. that's the whole contract bestie, don't overthink it π
π SEE ALSO π
- the kernel file, right here:
./drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.cπ pvrdma_query_srq(9)β go look at your SRQ instead of changing it π¦pvrdma_create_srq(9)β where the SRQ gets born β¨pvrdma_destroy_srq(9)β where it says bye π
it's giving full SRQ lifecycle, honestly. create her, query her, modify her, destroy her. the whole character arc π
and that's the page!! π this little moment came to you from the kernel source at ./drivers/infiniband/hw/vmw_pv... with a date of October 2026 β love that for us, enjoy your modified SRQ bestie, go off ππ·
π¦ 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