[ovs-dev] [PATCH V2 1/1] netdev-vport: Make ip6gre netdev type to use TC rules

Ben Pfaff blp at ovn.org
Fri Jul 12 15:54:01 UTC 2019


On Thu, Jul 11, 2019 at 01:11:22PM +0000, Roi Dayan wrote:
> 
> 
> On 2019-07-04 10:36 AM, Eli Britstein wrote:
> > The offload api functions already assigned to every tunnel class.
> > For ip6gre tunnel class only need to also assign the get_ifindex
> > function, similarly as done in commit 5e63eaa969a3 ("netdev-vport: Make
> > gre netdev type to use TC rules").
> > 
> > Signed-off-by: Eli Britstein <elibr at mellanox.com>
> > Reviewed-by: Roi Dayan <roid at mellanox.com>
> > ---
> >  lib/netdev-vport.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
> > index 92a256af1..b57d21ff8 100644
> > --- a/lib/netdev-vport.c
> > +++ b/lib/netdev-vport.c
> > @@ -1218,7 +1218,8 @@ netdev_vport_tunnel_register(void)
> >                .type = "ip6gre",
> >                .build_header = netdev_gre_build_header,
> >                .push_header = netdev_gre_push_header,
> > -              .pop_header = netdev_gre_pop_header
> > +              .pop_header = netdev_gre_pop_header,
> > +              .get_ifindex = NETDEV_VPORT_GET_IFINDEX,
> >            },
> >            {{NULL, NULL, 0, 0}}
> >          },
> > 
> 
> ping. can we merge this? 

Done.


More information about the dev mailing list