datapath: Replace "struct odp_action" by Netlink attributes.
[openvswitch] / datapath / vport-gre.c
index fcf1edea76c388193e7b73d381c883d824fe83ce..f6996ed4004e4e2b32eb4669989a7ab9a018cb35 100644 (file)
@@ -332,7 +332,7 @@ error:
        return 0;
 }
 
-const struct tnl_ops gre_tnl_ops = {
+static const struct tnl_ops gre_tnl_ops = {
        .tunnel_type    = TNL_T_PROTO_GRE,
        .ipproto        = IPPROTO_GRE,
        .hdr_len        = gre_hdr_len,
@@ -340,9 +340,9 @@ const struct tnl_ops gre_tnl_ops = {
        .update_header  = gre_update_header,
 };
 
-static struct vport *gre_create(const char *name, const void __user *config)
+static struct vport *gre_create(const struct vport_parms *parms)
 {
-       return tnl_create(name, config, &gre_vport_ops, &gre_tnl_ops);
+       return tnl_create(parms, &gre_vport_ops, &gre_tnl_ops);
 }
 
 static const struct net_protocol gre_protocol_handlers = {