set_dma_attr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌟 set_dma_attr(9) 🌟

from the Kernel API Manual β€” okay bestie, this is the page for setting the dma attributes in the HW. it's giving low-level kernel API realness, and we are keeping every fact exactly where it belongs, fr fr πŸ’…

πŸ’– NAME πŸ’–

set_dma_attr β€” set the dma attributes in the HW. that's the whole name, and honestly? iconic.

✨ SYNOPSIS ✨

the signature, copied exactly with zero edits:

void set_dma_attr (struct hinic_hwif *hwif , u32 entry_idx , u8 st , u8
at , u8 ph , enum hinic_pcie_nosnoop no_snooping , enum hinic_pcie_tph
tph_en );

πŸ’… ARGUMENTS πŸ’…

  • hwif β€” the HW interface of a pci function device. main-character device energy 🫢
  • entry_idx β€” the entry index in the dma table. yes bestie, you are indexing into the dma table.
  • st β€” PCIE TLP steering tag. short name, big PCIe TLP energy.
  • at β€” PCIE TLP AT field. it's the PCIE TLP AT field, no cap.
  • ph β€” PCIE TLP Processing Hint field. processing hint moment ✨
  • no_snooping β€” PCIE TLP No snooping. literally the no-snooping vibe.
  • tph_en β€” PCIE TLP Processing Hint Enable. the enable part is right there in the name πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/net/ethernet/huawei/hinic/hinic_hw_if.c

also go peek at these besties:


πŸ’Œ that's the whole page, bestie β€” source/version: ./drivers/net/ethernet/huawei/..., date: October 2026. slay, mwah πŸ’‹

πŸ“¦ where this page comes from