diff options
author | 2023-04-15 11:35:37 +0900 | |
---|---|---|
committer | 2023-06-23 15:03:02 -0500 | |
commit | 2566cbea69ab8dad4996ab4b4840fd952e62e5b4 (patch) | |
tree | eeaa576aa9a3e5752ade33760bbeb5cb299a1336 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: epf-test: Cleanup request result handling (diff) | |
download | wireguard-linux-2566cbea69ab8dad4996ab4b4840fd952e62e5b4.tar.xz wireguard-linux-2566cbea69ab8dad4996ab4b4840fd952e62e5b4.zip |
PCI: epf-test: Simplify DMA support checks
There is no need to have each read, write and copy test functions check
for the FLAG_USE_DMA flag against the DMA support status indicated by
epf_test->dma_supported. Move this test to the command handler function
pci_epf_test_cmd_handler() to check once for all cases.
Link: https://lore.kernel.org/r/20230415023542.77601-13-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions