Re: [PATCH 2/2] bpf: test_bpf: add tests for upper bits of 32-bit operations

2019-05-30 Thread Jiong Wang
Luke Nelson writes: > This commit introduces tests that validate the upper 32 bits > of the result of 32-bit BPF ALU operations. > > The existing tests for 32-bit operations do not check the upper 32 > bits of results because the exit instruction truncates the result. > These tests perform a 32-

[PATCH 2/2] bpf: test_bpf: add tests for upper bits of 32-bit operations

2019-05-30 Thread Luke Nelson
This commit introduces tests that validate the upper 32 bits of the result of 32-bit BPF ALU operations. The existing tests for 32-bit operations do not check the upper 32 bits of results because the exit instruction truncates the result. These tests perform a 32-bit ALU operation followed by a ri