tso_dma_map_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to the Kernel API Manual page for tso_dma_map_complete(9). this one is literally about cleanup at completion time, and it’s giving β€œbye, mapping” energy ✨


πŸŽ€ NAME πŸŽ€

tso_dma_map_complete β€” tear down mapping at completion time πŸ’…βœ¨

like, the function comes through when it’s time to tear down the mapping at completion time, no cap 🫢

✨ SYNOPSIS ✨

bool tso_dma_map_complete (struct device *dev , struct
       tso_dma_map_completion_state *cstate );

okay so that’s the exact signature, spacing and all πŸ‘€ bool is the return vibe, and the two arguments are right there πŸŽ€

🫢 ARGUMENTS 🫢

  • dev β€” the device that owns the mapping πŸ‘‘ main-character device energy, fr fr
  • cstate β€” state saved by tso_dma_map_completion_save πŸŽ€ it’s the saved-state bestie from that other function, iykyk

πŸ’– RETURN πŸ’–

  • true β€” the IOVA path was used and the mapping has been destroyed βœ… slay, cleanup is done
  • false β€” the fallback per-region path was used, and the driver must unmap via its normal completion path πŸ‘€ so not the IOVA path, and the driver still has to do its normal unmapping thing

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/net/tso.h πŸ“
  • struct tso_dma_map(9) 🌈
  • struct tso_dma_map_completion_state(9) 🧚
  • tso_dma_map_completion_save(9) πŸ’œ

go read those too, bestie β€” iykyk πŸ”₯


mwah πŸ’‹ that’s the page, and here’s the cute little sign-off: source ./include/net, dated October 2026, for tso_dma_map_complete(9). byeee 🫢✨

πŸ“¦ where this page comes from