Re: [PATCH bpf v2 9/9] selftests/bpf: Add more test cases for LPM trie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 11/27/2024 1:39 PM, Alexei Starovoitov wrote:
> On Tue, Nov 26, 2024 at 4:34 PM Hou Tao <houtao@xxxxxxxxxxxxxxx> wrote:
>> +
>> +/* Use the fixed prefixlen (32) and save integers in LPM trie. The iteration of
>> + * LPM trie will return these integers in big-endian order, therefore, convert
>> + * these integers to big-endian before update. After each iteration, delete the
>> + * found key (the smallest integer) and expect the next iteration will return
>> + * the second smallest number.
>> + */
> bpf ci doesn't run test_maps on s390. So I hope you're correct.

I verified the test cases in big endian environment in a dumb way.
Firstly converted LPM trie and these newly-added test cases into an
userspace application and run the application through qemu-armeb-static,
so I am sure it is correct.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux