Lines Matching refs:vport
35 static int vxlan_get_options(const struct vport *vport, struct sk_buff *skb) in vxlan_get_options() argument
37 struct vxlan_dev *vxlan = netdev_priv(vport->dev); in vxlan_get_options()
64 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts() argument
83 static struct vport *vxlan_tnl_create(const struct vport_parms *parms) in vxlan_tnl_create()
88 struct vport *vport; in vxlan_tnl_create() local
112 vport = ovs_vport_alloc(0, &ovs_vxlan_netdev_vport_ops, parms); in vxlan_tnl_create()
113 if (IS_ERR(vport)) in vxlan_tnl_create()
114 return vport; in vxlan_tnl_create()
118 err = vxlan_configure_exts(vport, a, &conf); in vxlan_tnl_create()
120 ovs_vport_free(vport); in vxlan_tnl_create()
129 ovs_vport_free(vport); in vxlan_tnl_create()
135 return vport; in vxlan_tnl_create()
140 static struct vport *vxlan_create(const struct vport_parms *parms) in vxlan_create()
142 struct vport *vport; in vxlan_create() local
144 vport = vxlan_tnl_create(parms); in vxlan_create()
145 if (IS_ERR(vport)) in vxlan_create()
146 return vport; in vxlan_create()
148 return ovs_netdev_link(vport, parms->name); in vxlan_create()