Thread (8 messages) flat view 8 messages, 5 authors, 2017-04-18

Re: [PATCH net-next] net: ipv6: Add early demux handler for UDP unicast

From: Subash Abhinov Kasiviswanathan <hidden>
Date: 2017-03-08 19:14:18

On 2017-03-08 11:40, Eric Dumazet wrote:
Well, this 'optimization' actually hurts when UDP sockets are not
connected, since this adds an extra cache line miss per incoming 
packet.

(DNS servers for example)
Hi Eric

Thanks for your comments. Would it be preferable to disable early demux 
for the
servers with large unconnected workloads in that case?
quoted
Signed-off-by: Subash Abhinov Kasiviswanathan 
[off-list ref]
---
quoted
+
+	if (dst)
+		dst = dst_check(dst, 0);

IPv6 uses a cookie to validate dst, not 0.
I'll update this and send v2.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help