[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1574071944.git.pabeni@redhat.com>
Date: Mon, 18 Nov 2019 12:01:28 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Edward Cree <ecree@...arflare.com>
Subject: [PATCH net-next v2 0/2] net: introduce and use route hint
This series leverages the listification infrastructure to avoid
unnecessary route lookup on ingress packets. In absence of policy routing,
packets with equal daddr will usually land on the same dst.
When processing packet bursts (lists) we can easily reference the previous
dst entry. When we hit the 'same destination' condition we can avoid the
route lookup, coping the already available dst.
Detailed performance numbers are available in the individual commit
messages.
v1 -> v2
- fix build issue with !CONFIG_IP*_MULTIPLE_TABLES
- fix potential race in ip6_list_rcv_finish()
Paolo Abeni (2):
ipv6: introduce and uses route look hints for list input
ipv4: use dst hint for ipv4 list receive
include/net/route.h | 11 +++++++++++
net/ipv4/ip_input.c | 38 +++++++++++++++++++++++++++++++++-----
net/ipv4/route.c | 38 ++++++++++++++++++++++++++++++++++++++
net/ipv6/ip6_input.c | 40 ++++++++++++++++++++++++++++++++++++----
4 files changed, 118 insertions(+), 9 deletions(-)
--
2.21.0
Powered by blists - more mailing lists