diff options
author | Jijie Shao <shaojijie@huawei.com> | 2025-07-22 20:54:23 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-07-24 11:27:22 +0200 |
commit | 49ade8630f36e9dca2395592cfb0b7deeb07e746 (patch) | |
tree | 7becd17f22064fabe91cb458bf91d54fd0873855 /scripts/lib/kdoc/kdoc_files.py | |
parent | b3e75c0bcc53f647311960bc1b0970b9b480ca5a (diff) |
net: hns3: default enable tx bounce buffer when smmu enabled
The SMMU engine on HIP09 chip has a hardware issue.
SMMU pagetable prefetch features may prefetch and use a invalid PTE
even the PTE is valid at that time. This will cause the device trigger
fake pagefaults. The solution is to avoid prefetching by adding a
SYNC command when smmu mapping a iova. But the performance of nic has a
sharp drop. Then we do this workaround, always enable tx bounce buffer,
avoid mapping/unmapping on TX path.
This issue only affects HNS3, so we always enable
tx bounce buffer when smmu enabled to improve performance.
Fixes: 295ba232a8c3 ("net: hns3: add device version to replace pci revision")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250722125423.1270673-5-shaojijie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions