aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Ido Schimmel <idosch@nvidia.com> 2023-07-17 11:12:26 +0300
committerGravatar David S. Miller <davem@davemloft.net> 2023-07-19 10:53:48 +0100
commit8bb5e82589f0141a990d3fd21d5b79a73a8c6c7b (patch)
tree23113873821c013f9dde302dca527fef469280e3 /include
parentMerge branch 'remove-unnecessary-void-conversions' (diff)
downloadlinux-8bb5e82589f0141a990d3fd21d5b79a73a8c6c7b.tar.gz
linux-8bb5e82589f0141a990d3fd21d5b79a73a8c6c7b.tar.bz2
linux-8bb5e82589f0141a990d3fd21d5b79a73a8c6c7b.zip
ip_tunnels: Add nexthop ID field to ip_tunnel_key
Extend the ip_tunnel_key structure with a field indicating the ID of the nexthop object via which the skb should be routed. The field is going to be populated in subsequent patches by the bridge driver in order to indicate to the VXLAN driver which FDB nexthop object to use in order to reach the target host. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/ip_tunnels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index ed4b6ad3fcac..e8750b4ef7e1 100644
--- a/include/net/ip_tunnels.h
+++ b/include/net/ip_tunnels.h
@@ -52,6 +52,7 @@ struct ip_tunnel_key {
u8 tos; /* TOS for IPv4, TC for IPv6 */
u8 ttl; /* TTL for IPv4, HL for IPv6 */
__be32 label; /* Flow Label for IPv6 */
+ u32 nhid;
__be16 tp_src;
__be16 tp_dst;
__u8 flow_flags;