Searched refs:dp_ifindex (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Ddatapath.c147 static struct datapath *get_dp_rcu(struct net *net, int dp_ifindex) get_dp_rcu() argument
149 struct net_device *dev = dev_get_by_index_rcu(net, dp_ifindex); get_dp_rcu()
163 static inline struct datapath *get_dp(struct net *net, int dp_ifindex) get_dp() argument
169 dp = get_dp_rcu(net, dp_ifindex); get_dp()
414 int err, dp_ifindex; queue_userspace_packet() local
416 dp_ifindex = get_dpifindex(dp); queue_userspace_packet()
417 if (!dp_ifindex) queue_userspace_packet()
460 upcall->dp_ifindex = dp_ifindex; queue_userspace_packet()
572 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_packet_cmd_execute()
773 static int ovs_flow_cmd_fill_info(const struct sw_flow *flow, int dp_ifindex, ovs_flow_cmd_fill_info() argument
786 ovs_header->dp_ifindex = dp_ifindex; ovs_flow_cmd_fill_info()
845 int dp_ifindex, ovs_flow_cmd_build_info()
857 retval = ovs_flow_cmd_fill_info(flow, dp_ifindex, skb, ovs_flow_cmd_build_info()
930 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_new()
953 ovs_header->dp_ifindex, ovs_flow_cmd_new()
995 ovs_header->dp_ifindex, ovs_flow_cmd_new()
1094 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_set()
1116 ovs_header->dp_ifindex, ovs_flow_cmd_set()
1125 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, ovs_flow_cmd_set()
1185 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_get()
1200 reply = ovs_flow_cmd_build_info(flow, ovs_header->dp_ifindex, info, ovs_flow_cmd_get()
1239 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_del()
1267 err = ovs_flow_cmd_fill_info(flow, ovs_header->dp_ifindex, ovs_flow_cmd_del()
1304 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_flow_cmd_dump()
1321 if (ovs_flow_cmd_fill_info(flow, ovs_header->dp_ifindex, skb, ovs_flow_cmd_dump()
1408 ovs_header->dp_ifindex = get_dpifindex(dp); ovs_dp_cmd_fill_info()
1449 dp = get_dp(net, ovs_header->dp_ifindex); lookup_datapath()
1781 ovs_header->dp_ifindex = get_dpifindex(vport->dp); ovs_vport_cmd_fill_info()
1845 if (ovs_header->dp_ifindex && lookup_vport()
1846 ovs_header->dp_ifindex != get_dpifindex(vport->dp)) lookup_vport()
1855 dp = get_dp(net, ovs_header->dp_ifindex); lookup_vport()
1893 dp = get_dp(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_vport_cmd_new()
2071 dp = get_dp_rcu(sock_net(skb->sk), ovs_header->dp_ifindex); ovs_vport_cmd_dump()
844 ovs_flow_cmd_build_info(const struct sw_flow *flow, int dp_ifindex, struct genl_info *info, u8 cmd, bool always, u32 ufid_flags) ovs_flow_cmd_build_info() argument
/linux-4.1.27/include/uapi/linux/
H A Dopenvswitch.h28 * @dp_ifindex: ifindex of local port for datapath (0 to make a request not
36 int dp_ifindex; member in struct:ovs_header
64 * port". This is the name of the network device whose dp_ifindex is given in
67 * dp_ifindex in other requests (with a dp_ifindex of 0).
82 OVS_DP_ATTR_NAME, /* name of dp_ifindex netdev */

Completed in 75 milliseconds