diff options
author | Kal Conley <kal.conley@dectris.com> | 2023-04-10 15:18:41 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-04-13 15:51:02 +0300 |
commit | 0c5f48599bed55c13d6f979ea824554bdebdf2ad (patch) | |
tree | f0b8893de4e74e6439147e67bd9072aa75fe4a20 /LICENSES/deprecated/ISC | |
parent | ee5059a64dbad4806a3c11babd0dbed5a5d04ead (diff) | |
download | linux-0c5f48599bed55c13d6f979ea824554bdebdf2ad.tar.xz |
xsk: Simplify xp_aligned_validate_desc implementation
Perform the chunk boundary check like the page boundary check in
xp_desc_crosses_non_contig_pg(). This simplifies the implementation and
reduces the number of branches.
Signed-off-by: Kal Conley <kal.conley@dectris.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20230410121841.643254-1-kal.conley@dectris.com
Diffstat (limited to 'LICENSES/deprecated/ISC')
0 files changed, 0 insertions, 0 deletions