summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2022-12-18 09:42:34 +0200
committerOded Gabbay <ogabbay@kernel.org>2023-01-26 11:52:10 +0200
commit20faaeec3794661c1d73578316691174a5a0e5a9 (patch)
treea390f01c243d2fcabe40cd0d625c2627eb4ee073 /certs
parente65e175b07bef5974045cc42238de99057669ca7 (diff)
habanalabs: add uapi to flush inbound HBM transactions
When doing p2p with a NIC device, the NIC needs to make sure all the writes to the HBM (through the PCI bar of the Gaudi device) were flushed. It can be done by either the NIC or the host reading through the PCI bar. To support the host side, we supply a simple uapi to perform this flush through the driver, because the user can't create such a transaction by itself (the PCI bar isn't exposed to normal users). Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions