Lines Matching refs:vport
22 static int vxlan_get_options(const struct vport *vport, struct sk_buff *skb) in vxlan_get_options() argument
24 struct vxlan_dev *vxlan = netdev_priv(vport->dev); in vxlan_get_options()
51 static int vxlan_configure_exts(struct vport *vport, struct nlattr *attr, in vxlan_configure_exts() argument
71 static struct vport *vxlan_tnl_create(const struct vport_parms *parms) in vxlan_tnl_create()
76 struct vport *vport; in vxlan_tnl_create() local
100 vport = ovs_vport_alloc(0, &ovs_vxlan_netdev_vport_ops, parms); in vxlan_tnl_create()
101 if (IS_ERR(vport)) in vxlan_tnl_create()
102 return vport; in vxlan_tnl_create()
106 err = vxlan_configure_exts(vport, a, &conf); in vxlan_tnl_create()
108 ovs_vport_free(vport); in vxlan_tnl_create()
117 ovs_vport_free(vport); in vxlan_tnl_create()
125 ovs_vport_free(vport); in vxlan_tnl_create()
130 return vport; in vxlan_tnl_create()
135 static struct vport *vxlan_create(const struct vport_parms *parms) in vxlan_create()
137 struct vport *vport; in vxlan_create() local
139 vport = vxlan_tnl_create(parms); in vxlan_create()
140 if (IS_ERR(vport)) in vxlan_create()
141 return vport; in vxlan_create()
143 return ovs_netdev_link(vport, parms->name); in vxlan_create()