]> git.dujemihanovic.xyz Git - linux.git/commit
net: create tcp_gro_lookup helper function
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 08:44:45 +0000 (10:44 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 6 May 2024 09:54:04 +0000 (11:54 +0200)
commit80e85fbdf19ecc4dfa31ecf639adb55555db02fe
treee8162b00722ada31dad7718210f0860f09f671e6
parent8d95dc474f85481652a0e422d2f1f079de81f63c
net: create tcp_gro_lookup helper function

This pulls the flow port matching out of tcp_gro_receive, so that it can be
reused for the next change, which adds the TCP fraglist GRO heuristic.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/tcp.h
net/ipv4/tcp_offload.c