Re: [PATCH v8 2/2] lib: checksum: Use aligned accesses for ip_fast_csum and csum_ipv6_magic tests

From: Guenter Roeck
Date: Fri Feb 16 2024 - 01:58:56 EST


Hi Helge,

On 2/15/24 23:31, Helge Deller wrote:
On 2/16/24 06:25, Guenter Roeck wrote:
On Fri, Feb 16, 2024 at 06:54:55AM +0100, Helge Deller wrote:

Can you please give a pointer to this test code?
I'm happy to try it on real hardware.

See below.

Testcase runs OK on physical machine:

#### carry64 aligned, expect 1 -> 1
#### carry64 unaligned 4, expect 1 -> 1
#### carry64 unaligned 2, expect 1 -> 1
#### carry32 aligned, expect 1 -> 1
#### carry64 unaligned, expect 1 -> 1
#### carry64 aligned, expect 0 -> 0
#### carry64 unaligned 4, expect 0 -> 0
#### carry64 unaligned 2, expect 0 -> 0
#### carry32 aligned, expect 0 -> 0
#### carry32 unaligned, expect 0 -> 0
    ok 6 test_bad_carry


thanks a lot for the confirmation.

Guenter