User Details
- User Since
- May 14 2014, 7:57 AM (616 w, 3 d)
Thu, Mar 5
Wed, Mar 4
Tue, Mar 3
First up - the alignment should be what the hardware supports, not what the ethernet type supports. Eg, if the virtio API supports 1 byte alignment and it's not hugely inefficient to do so then that's what you should create the DMA tag with.
There's a bunch of un-fun stuff around RX alignment of buffers versus the network stack requirements - notably the IP stack will do unaligned accesses and will trip an exception if you don't enable unaligned access or handle it in said exception handler.
This typically comes up when you have hardware with 4 byte alignment requirements but you need to start the mbuf at a 2 byte offset so a non-VLAN ethernet header will result in the IP header starting at a 4 byte alignment.
(Honestly though it's 2026 and we should just finally fix the IP/TCP stack..) So just keep that in mind if you're trialing 1 byte hardware alignment and you see weird shenanigans with RX path mbufs.
Thu, Feb 26
Wed, Feb 25
Mon, Feb 23
Sun, Feb 22
Sat, Feb 21
ok, this one boots fine in p8 pseries and p9 pseries, but p8 powernv it .. just hangs during boot and eventually ends up at OPAL.
Wed, Feb 18
oh interesting. is this different from straight -head? If it is then i need to fix it. If it isn't then it's expected behaviour!
refactor
refactor
refactor
refactor
Tue, Feb 17
Mon, Feb 16
migrate this to /just/ do rwlock migration, not the iteration stuff.
Hm, this is an interesting problem/question.
Sun, Feb 15
oh this is a good catch!
looks good plz land
compile tested
rw_init_flags() -> rw_init()
Sat, Feb 14
nope, still no dice
ok, lemme try this latest one in qemu real quick, hold.
Just tried the latest diff on power9/pseries qemu, it panics differently now
Fri, Feb 13
ok i thought this was OK on power9 but it seems not:
ok, tried with 8g in the VM instead of 2g, same issue.
and from justin on irc
This boots fine in qemu-system-ppc64 pseries9 + power9, but in qemu-system-ppc64 pseries-8.0 + power8, it immediately panics on boot with
Wed, Feb 11
Tue, Feb 10
Mon, Feb 9
I think it's fine to land as-is. Yes, the vlog vs vprintf discussion should happen soon. :-)
Sun, Feb 8
oh crap i missed testing this; lemme test this on -HEAD today on the G5 and POWER8.
As mentioned on IRC, I think we should create _PATH_DEBUG_PREFIX or something similar to hide the /usr/lib/debug path.
