Kal Conley 0c5f48599b 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
2023-04-13 14:51:02 +02:00
..
2023-01-12 17:02:20 -06:00
2023-02-21 18:24:12 -08:00
2023-02-13 09:30:14 +00:00
2023-02-21 18:24:12 -08:00
2023-02-22 14:47:20 -08:00
2023-02-21 18:24:12 -08:00
2023-02-21 18:24:12 -08:00
2023-03-08 13:21:47 +00:00
2023-02-21 18:24:12 -08:00
2023-02-10 17:51:27 -08:00
2022-08-22 14:26:30 +01:00
2023-02-21 18:24:12 -08:00