[PATCH net-next 0/5] net: consolidate IPv6 route lookup for UDP tunnels

Beniamino Galvani posted 5 patches 2 years, 1 month ago
drivers/net/bareudp.c          |  13 ++--
drivers/net/geneve.c           |  96 ++++++++---------------
drivers/net/vxlan/vxlan_core.c | 136 ++++++++-------------------------
include/net/ipv6.h             |   6 --
include/net/udp_tunnel.h       |   8 ++
net/ipv6/ip6_output.c          |  68 -----------------
net/ipv6/ip6_udp_tunnel.c      |  70 +++++++++++++++++
7 files changed, 147 insertions(+), 250 deletions(-)
[PATCH net-next 0/5] net: consolidate IPv6 route lookup for UDP tunnels
Posted by Beniamino Galvani 2 years, 1 month ago
At the moment different UDP tunnels rely on different functions for
IPv6 route lookup, and those functions all implement the same
logic.

Extend the generic lookup function so that it is suitable for all UDP
tunnel implementations, and then adapt bareudp, geneve and vxlan to
use it.

This is similar to what already done for IPv4.

Beniamino Galvani (5):
  ipv6: rename and move ip6_dst_lookup_tunnel()
  ipv6: remove "proto" argument from udp_tunnel6_dst_lookup()
  ipv6: add new arguments to udp_tunnel6_dst_lookup()
  geneve: use generic function for tunnel IPv6 route lookup
  vxlan: use generic function for tunnel IPv6 route lookup

 drivers/net/bareudp.c          |  13 ++--
 drivers/net/geneve.c           |  96 ++++++++---------------
 drivers/net/vxlan/vxlan_core.c | 136 ++++++++-------------------------
 include/net/ipv6.h             |   6 --
 include/net/udp_tunnel.h       |   8 ++
 net/ipv6/ip6_output.c          |  68 -----------------
 net/ipv6/ip6_udp_tunnel.c      |  70 +++++++++++++++++
 7 files changed, 147 insertions(+), 250 deletions(-)

-- 
2.40.1
Re: [PATCH net-next 0/5] net: consolidate IPv6 route lookup for UDP tunnels
Posted by patchwork-bot+netdevbpf@kernel.org 2 years, 1 month ago
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri, 20 Oct 2023 13:55:24 +0200 you wrote:
> At the moment different UDP tunnels rely on different functions for
> IPv6 route lookup, and those functions all implement the same
> logic.
> 
> Extend the generic lookup function so that it is suitable for all UDP
> tunnel implementations, and then adapt bareudp, geneve and vxlan to
> use it.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] ipv6: rename and move ip6_dst_lookup_tunnel()
    https://git.kernel.org/netdev/net-next/c/fc47e86dbfb7
  - [net-next,2/5] ipv6: remove "proto" argument from udp_tunnel6_dst_lookup()
    https://git.kernel.org/netdev/net-next/c/7e937dcf96d0
  - [net-next,3/5] ipv6: add new arguments to udp_tunnel6_dst_lookup()
    https://git.kernel.org/netdev/net-next/c/946fcfdbc5b9
  - [net-next,4/5] geneve: use generic function for tunnel IPv6 route lookup
    https://git.kernel.org/netdev/net-next/c/69d72587c17b
  - [net-next,5/5] vxlan: use generic function for tunnel IPv6 route lookup
    https://git.kernel.org/netdev/net-next/c/2aceb896ee18

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html