if_mvneta rx/tx byte counts wrong

Kurt Jaeger pi at freebsd.org
Wed Nov 4 12:39:18 UTC 2020


Hi!

> If you view in hex,
> 
> $ printf '%x %x %x\n' 443193380410133 3813930959736 274877907008
> 1931500019315 37800000378 4000000040
> 
> you see a 32 bit value duplicated into both halves of a 64 bit value.

Ah. I think Juniper switches have the same problem -- I heard
that this is a timing/atomicity problem of writing 64bit values
on arm32.

-- 
pi at opsec.eu            +49 171 3101372                    Now what ?


More information about the freebsd-arm mailing list