Re: [PATCH bpf-next] xsk: Simplify xp_aligned_validate_desc implementation
From: Kal Cutter Conley
Date: Wed Apr 12 2023 - 08:30:22 EST
> > 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.
>
> Thanks for this simplification Kal. Just to check, does your change
> pass the xsk selftests, especially the INV_DESC test? If so, then you
> have my ack below.
>
> Acked-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
Yes, I ran the XSK selftests and they all PASSED.