diff options
author | 2020-12-04 18:21:16 +0800 | |
---|---|---|
committer | 2020-12-04 16:48:31 +0100 | |
commit | 12c8a8ca117f3d734babc3fba131fdaa329d2163 (patch) | |
tree | 5db836caee97a915dd8b242c149b59f7b0d2ef40 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xsk: Change the tx writeable condition (diff) | |
download | linux-dev-12c8a8ca117f3d734babc3fba131fdaa329d2163.tar.xz linux-dev-12c8a8ca117f3d734babc3fba131fdaa329d2163.zip |
xsk: Return error code if force_zc is set
If force_zc is set, we should exit out with an error, not fall back to
copy mode.
Fixes: 921b68692abb ("xsk: Enable sharing of dma mappings")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/1607077277-41995-1-git-send-email-zhangchangzhong@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions