STRUCT LIBIE_CTLQ_CLEAN_PARAMS(9)
β¨ struct libie_ctlq_clean_params β cleaning parameters for Tx messages β¨
Okay so bestie, let me introduce you to this little struct, it's literally the glow-up checklist for Tx messages π§Ήπ
. This is from the libie...clean_params(9) Kernel API Manual, and it's giving "responsible queue owner" energy, fr fr.
π SYNOPSIS π
struct libie_ctlq_clean_params {
void (*rel_dma_mem)(const void *ctx, struct libie_cp_dma_mem
* dma_mem);
const void *rel_ctx;
struct libie_ctlq_info *ctlq;
u16 num_msgs;
bool force;
};
πΈ Members β the cast of this struct πΈ
rel_dma_memβ a non-sleeping callback that puts the DMA buffer back after send. It's literally the "you dropped this π" moment for memory. No sleeping on the job, bestie π΄π«rel_ctxβ the extra context you pass along to that release callback. Like a little note attached to the callback so it knows what's up π«Άctlqβ the control queue information. That's the queue's whole vibe check right there π«num_msgsβ how many messages are getting cleaned. Count 'em, don't play π―forceβ clean even if DD is not yet set. Use only for final cleanup, and I mean ONLY. This is not a casual thing, this is the "we're doing the last pass, periodt" energy π¨π
π SEE ALSO π
All the sibling structs and enums that live in the same universe, from the kernel file ./include/linux/net/intel/libie/controlq.h. Go check 'em out, they're all linked and lowkey iconic:
enum libie_ctlq_type(9)struct libie_ctlq_ctx(9)struct libie_ctlq_reg(9)struct libie_cp_dma_mem(9)struct libie_ctlq_msg(9)struct libie_ctlq_create_info(9)struct libie_ctlq_info(9)struct libie_ctlq_desc(9)libie_ctlq_release_rx_buf(9)enum libie_ctlq_xn_state(9)struct libie_ctlq_xn(9)struct libie_ctlq_xn_manager(9)struct libie_ctlq_xn_send_params(9)libie_cp_can_send_onstack(9)struct libie_ctlq_xn_recv_params(9)struct libie_ctlq_xn_init_params(9)
π‘ Friendly reminder bestie: that force flag is not for everyday use. It's giving "final cleanup only" β respect the DD bit, or things get real messy real fast π
Brought to you from ./include/linux/net/intel/libie β October 2026, struct libie...clean_params(9). Slay, stay clean out there πβ¨π
π¦ 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