map_rxpool_buf_to_ltb(9)
π map_rxpool_buf_to_ltb(9) β like, the Kernel API Manual page, bestie π
okay so picture this: it's the map_rxpool_buf_to_ltb(9) page from the Kernel API Manual, and it's literally about taking one lil rxpool buffer and figuring out where it lives in an LTB. that's the whole vibe. no cap. β¨
πΈ NAME πΈ
map_rxpool_buf_to_ltb β Map given rxpool buffer to offset in an LTB. that's it, that's the function, iconic behaviour honestly π
β SYNOPSIS β
void map_rxpool_buf_to_ltb (struct ibmvnic_rx_pool *rxpool , unsigned
int bufidx , struct ibmvnic_long_term_buff **ltbp , unsigned int *offset
);
like yes she returns void, she's not here to give you a result, she's here to fill in your pointers. main character energy fr fr π«Ά
π¦ ARGUMENTS π¦
rxpoolβ the receive buffer pool that's holding your buffer. it's giving home base, it's giving "your fave is in here somewhere" πbufidxβ the index of the buffer insiderxpool. iykyk, it's the little coordinate that finds your fave πltbpβ an (Output) pointer to the long term buffer that contains the buffer. so like, this is where the answer gets dropped off πoffsetβ an (Output) offset of the buffer in the LTB fromltbp. the exact spot, the exact seat number, slay ποΈ
π DESCRIPTION π
so what she does is: you hand her a buffer, you identify it by [rxpool, bufidx], and she maps it to an LTB in the pool plus the corresponding offset. cute, clean, done. β¨
lowkey important note: the code assumes for now that each LTB is of a different size β but it could possibly be optimized based on the allocation strategy in alloc_ltb_set. so like, bestie, that's a known "we could maybe do better later" situation, not a bug, just honest documentation π
π SEE ALSO π
omg the friend group. the whole squad. obsessed with this list ngl π
- Kernel file
./drivers/net/ethernet/ibm/ibmvnic.cβ the source file herself π ibmvnic_wait_for_completion(9)reuse_ltb(9)alloc_long_term_buff(9)free_ltb_set(9)alloc_ltb_set(9)map_txpool_buf_to_ltb(9)release_rx_pools(9)reuse_rx_pools(9)init_rx_pools(9)release_tx_pools(9)reuse_tx_pools(9)init_tx_pools(9)get_hdr_lens(9)create_hdr_descs(9)build_hdr_descs_arr(9)do_passive_init(9)
like, go read them, they're all part of the same little universe π§
okay that's the page!! mwah π before you go β this whole thing came from ./drivers/net/ethernet/ibm, dated October 2026, and it's the map_rxpool_buf_to_ltb(9) manual page. slay, bye, drink water, read your kernel docs ππΈ
π¦ 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