[ovs-dev,1/1] netdev-vport: Make ip6gretap netdev type to use TC rules
diff mbox series

Message ID 20190626090642.23983-2-elibr@mellanox.com
State Superseded
Headers show
Series
  • netdev-vport: Make ip6gretap netdev type to use TC rules
Related show

Commit Message

Eli Britstein June 26, 2019, 9:06 a.m. UTC
The offload api functions already assigned to every tunnel class.
For ip6gretap 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@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
---
 lib/netdev-vport.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

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}}
         },