set_dma_attr(9)
π 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:
hinic_msix_attr_set(9)hinic_msix_attr_cnt_clear(9)hinic_set_pf_action(9)hwif_ready(9)set_hwif_attr(9)read_hwif_attr(9)set_ppf(9)dma_attr_init(9)hinic_init_hwif(9)hinic_free_hwif(9)
π that's the whole page, bestie β source/version: ./drivers/net/ethernet/huawei/..., date: October 2026. slay, mwah π
π¦ 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