ib_dma_unmap_bvec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie πŸ’– welcome to ib_dma_unmap_bvec(9), straight from the Kernel API Manual. We're unmapping a bio_vec DMA mapping today, and it's literally gonna be so chill. πŸ¦‹

🌸 NAME 🌸

ib_dma_unmap_bvec β€” Unmap a bio_vec DMA mapping. That's the whole name, no cap. πŸŽ€

✨ SYNOPSIS ✨

Okay so the signature is giving:

void ib_dma_unmap_bvec (struct ib_device *dev , u64 addr , size_t size ,
       enum dma_data_direction direction );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device for which the DMA address was created. Like, which RDMA device are we talking about? πŸ‘‘
  • addr β€” the DMA address returned by ib_dma_map_bvec. You know, the one you got from the map call. πŸ’…
  • size β€” the size of the region in bytes. Fr, bytes. πŸ“
  • direction β€” the direction of the DMA. It's an enum dma_data_direction, and yes, direction matters. 🌈

πŸ’… DESCRIPTION πŸ’…

Okay so this function releases a DMA mapping created by ib_dma_map_bvec. It's the cleanup bestie β€” the unmapping counterpart to the map call. ✨

For software RDMA devices this is a no-op since no actual mapping occurred. Literally no-op. Not me forgetting to do something; there's just nothing to unmap on those. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/rdma/ib_verbs.h β€” and the whole squad is here:

πŸŽ€ Source/version: ./include/rdma Β· Date: October 2026 Β· Page: ib_dma_unmap_bvec(9) β€” that's the cute little footer, bestie. Periodt. πŸ’…
πŸ“¦ where this page comes from