-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP checksums not making it all the way through to the TCP stack? #11
Comments
I don't think (And you'll definitely want to ensure they follow the packet from rx to tx in your application as well, especially if you're using VALE to connect multiple applications together.) This is a |
Yeah, I dug into it a bit more and I agree. I think it'd be useful to get TCP checksums propagated down/up the stack but yes, we'd have to start by extending netmap to include all that metadata. |
Do you think you'd find value in a mode whereby |
I think we should keep this open for the time being. I would like to see |
There is (unreleased) code in netmap-fwd to do this. I'll get a copy to Patrick. |
Hi!
I have an odd problem in local testing - it seems hardware TCP checksums aren't making it up to the TCP stack in libuinet and it's doing software checksumming. Is this known?
[root@foo] ~# dtrace -n 'profile-1997 /arg1/ { @[execname, ustack()] = count(); } END { trunc(@, 3); }'
dtrace: description 'profile-1997 ' matched 2 probes
^C
CPU ID FUNCTION:NAME
15 2 :END
blockd
libc.so.7
memcpy+0x20 blockd
netisr_dispatch_src+0x6cblockd
if_netmap_receive+0x332 blockd
pthread_start_routine+0xdblibthr.so.3
0x8022954a5 166 blockd blockd
ether_nh_input+0x85blockd
netisr_dispatch_src+0x6c blockd
if_netmap_receive+0x332blockd
pthread_start_routine+0xdb libthr.so.3
0x8022954a5349
blockd
blockd
in_cksumdata+0xdf blockd
in_cksum_skip+0x69blockd
tcp_input+0xc1 blockd
ip_input+0x8eblockd
netisr_dispatch_src+0x6c blockd
ether_nh_input+0x61cblockd
netisr_dispatch_src+0x6c blockd
if_netmap_receive+0x332blockd
pthread_start_routine+0xdb libthr.so.3
0x8022954a5835
The text was updated successfully, but these errors were encountered: