dpdmai_destroy(9)
β¨ dpdmai_destroy β it's a (9) kernel API manual bestie, section 9, we're in the kernel pages now π
okay so welcome to the glow-up of dpdmai_destroy(9) β this is the Kernel API Manual entry, and honestly it's a little short but it does exactly what it says on the tin π
π NAME π
dpdmai_destroy β destroy the DPDMAI object and release, like, all of its resources. no cap, every last one. it's giving "clean up your room before your mom gets home" energy π§Ήβ¨
πΈ SYNOPSIS πΈ
int dpdmai_destroy (struct fsl_mc_io *mc_io , u32 cmd_flags , u32
dpdmai_id , u16 token );
like yes that's the whole vibe β one function, four args, returns an int. iconic honestly π
π¦ ARGUMENTS π¦
okay bestie let's go through the receipts one by one:
mc_ioβ pointer to the MC portal's I/O object. like, the whole portal situation πcmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'β yes it's written with that trailing underscore in the original, we don't question the kernel elders πdpdmai_idβ the object id; it must be a valid id within the container that created this object. fr fr, valid ids only, no funny business π¨tokenβ token of the DPDMAI object π« (the token isu16, in case you were wondering, and yes it's right there in the synopsis, i got you)
π RETURN π
okay so real talk: the original page has this heading and then... nothing. zero. silence. an empty section. π so there is literally no return value documented here β i'm not gonna invent one for you, that would be lying and we don't do that in this group chat. the function signature says int, that's all we know, periodt. π
π₯ SEE ALSO π₯
where to next?? the kernel file is ./drivers/dma/fsl-dpaa2-qdma/dpdmai.c if you wanna go read the source like the main character you are, and also pls check out the whole friend group:
dpdmai_open(9)dpdmai_close(9)dpdmai_enable(9)dpdmai_disable(9)dpdmai_reset(9)dpdmai_get_attributes(9)dpdmai_set_rx_queue(9)dpdmai_get_rx_queue(9)dpdmai_get_tx_queue(9)
that's the whole squad, go say hi π«Ά
π little reminder babe: this page lives under./drivers/dma/fsl-dpaa2-qdmaand the dated footer on the original says October 2026, page namedpdmai_destroy(9). so yeah β./drivers/dma/fsl-dpaa2-qdma, October 2026,dpdmai_destroy(9). mwah, go destroy some objects 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