Re: [PATCH net-next] tcp: md5: add tcp_md5_needed jump label

2018-11-30 Thread David Miller
From: Eric Dumazet Date: Tue, 27 Nov 2018 15:03:21 -0800 > Most linux hosts never setup TCP MD5 keys. We can avoid a > cache line miss (accessing tp->md5ig_info) on RX and TX > using a jump label. > > Signed-off-by: Eric Dumazet Also applied, thanks.

[PATCH net-next] tcp: md5: add tcp_md5_needed jump label

2018-11-27 Thread Eric Dumazet
Most linux hosts never setup TCP MD5 keys. We can avoid a cache line miss (accessing tp->md5ig_info) on RX and TX using a jump label. Signed-off-by: Eric Dumazet --- include/net/tcp.h | 18 +++--- net/ipv4/tcp.c| 5 - net/ipv4/tcp_ipv4.c | 11 +++ net/ipv4/