Re: if_mvneta rx/tx byte counts wrong
Ian Lepore <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2020-11-04 at 13:39 +0100, Kurt Jaeger wrote: > 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. > I don't think that's likely to be true. We'd see the problem in a lot more places, and the problem would be intermittent, which doesn't appear to be the case here. I would more tend to suspect the arm 32-bit implementation of bus_space_read/write_8(). -- Ian _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"