[PATCH net-next 15/22] route: Extend flow representation with tunnel key

2015-07-21 Thread Thomas Graf
Add a new flowi_tunnel structure which is a subset of ip_tunnel_key to allow routes to match on tunnel metadata. For now, the tunnel id is added to flowi_tunnel which allows for routes to be bound to specific virtual tunnels. Signed-off-by: Thomas Graf --- include/net/flow.h | 8 n

Re: [PATCH net-next 15/22] route: Extend flow representation with tunnel key

2015-07-20 Thread Thomas Graf
On 07/17/15 at 11:25pm, Julian Anastasov wrote: > > Hello, > > On Fri, 17 Jul 2015, Thomas Graf wrote: > > > Add a new flowi_tunnel structure which is a subset of ip_tunnel_key to > > allow routes to match on tunnel metadata. For now, the tunnel id is > > added to flowi_tunnel which allows

Re: [PATCH net-next 15/22] route: Extend flow representation with tunnel key

2015-07-17 Thread Julian Anastasov
Hello, On Fri, 17 Jul 2015, Thomas Graf wrote: > Add a new flowi_tunnel structure which is a subset of ip_tunnel_key to > allow routes to match on tunnel metadata. For now, the tunnel id is > added to flowi_tunnel which allows for routes to be bound to specific > virtual tunnels. > > Si

[PATCH net-next 15/22] route: Extend flow representation with tunnel key

2015-07-17 Thread Thomas Graf
Add a new flowi_tunnel structure which is a subset of ip_tunnel_key to allow routes to match on tunnel metadata. For now, the tunnel id is added to flowi_tunnel which allows for routes to be bound to specific virtual tunnels. Signed-off-by: Thomas Graf --- include/net/flow.h | 7 +++ net/ipv