Re: [dpdk-dev] [dpdk-stable] [PATCH] test/bpf: fix auto-test with clang fails

2021-10-20 Thread Stephen Hemminger
On Wed, 20 Oct 2021 20:46:31 +0200 David Marchand wrote: > On Mon, Oct 18, 2021 at 5:59 PM Stephen Hemminger > wrote: > > Konstantin Ananyev wrote: > > > test_shift1_check() function fails with clang build. > > > The reason for that is that clang uses 64-bit shift instruction for > > > what e

Re: [dpdk-dev] [dpdk-stable] [PATCH] test/bpf: fix auto-test with clang fails

2021-10-20 Thread David Marchand
On Mon, Oct 18, 2021 at 5:59 PM Stephen Hemminger wrote: > Konstantin Ananyev wrote: > > test_shift1_check() function fails with clang build. > > The reason for that is that clang uses 64-bit shift instruction for > > what expected to be 32-bit operation. > > To be more specific, this C code: > >