Lines Matching full:datapath

42 #include "datapath.h"
90 * All writes e.g. Writes to device state (add/remove datapath, port, set
92 * modifications, set miscellaneous datapath parameters, etc.) are protected
127 static int queue_gso_packets(struct datapath *dp, struct sk_buff *,
131 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *,
138 static int ovs_dp_set_upcall_portids(struct datapath *, const struct nlattr *);
141 const char *ovs_dp_name(const struct datapath *dp) in ovs_dp_name()
147 static int get_dpifindex(const struct datapath *dp) in get_dpifindex()
167 struct datapath *dp = container_of(rcu, struct datapath, rcu); in destroy_dp_rcu()
177 static struct hlist_head *vport_hash_bucket(const struct datapath *dp, in vport_hash_bucket()
184 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no) in ovs_lookup_vport()
205 struct datapath *dp = parms->dp; in new_vport()
249 struct datapath *dp = p->dp; in ovs_dp_process_packet()
311 net_dbg_ratelimited("ovs: action execution error on datapath %s: %d\n", in ovs_dp_process_packet()
321 /* Update datapath statistics. */ in ovs_dp_process_packet()
329 int ovs_dp_upcall(struct datapath *dp, struct sk_buff *skb, in ovs_dp_upcall()
366 static int queue_gso_packets(struct datapath *dp, struct sk_buff *skb, in queue_gso_packets()
441 static void pad_packet(struct datapath *dp, struct sk_buff *skb) in pad_packet()
451 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *skb, in queue_userspace_packet()
619 struct datapath *dp; in ovs_packet_cmd_execute()
752 static void get_dp_stats(const struct datapath *dp, struct ovs_dp_stats *stats, in get_dp_stats()
1003 struct datapath *dp; in ovs_flow_cmd_new()
1250 struct datapath *dp; in ovs_flow_cmd_set()
1352 struct datapath *dp; in ovs_flow_cmd_get()
1411 struct datapath *dp; in ovs_flow_cmd_del()
1488 struct datapath *dp; in ovs_flow_cmd_dump()
1594 static int ovs_dp_cmd_fill_info(struct datapath *dp, struct sk_buff *skb, in ovs_dp_cmd_fill_info()
1652 static struct datapath *lookup_datapath(struct net *net, in lookup_datapath()
1656 struct datapath *dp; in lookup_datapath()
1672 struct datapath *dp; in ovs_dp_reset_user_features()
1684 static int ovs_dp_set_upcall_portids(struct datapath *dp, in ovs_dp_set_upcall_portids()
1709 u32 ovs_dp_get_upcall_portid(const struct datapath *dp, uint32_t cpu_id) in ovs_dp_get_upcall_portid()
1736 static int ovs_dp_change(struct datapath *dp, struct nlattr *a[]) in ovs_dp_change()
1787 static int ovs_dp_stats_init(struct datapath *dp) in ovs_dp_stats_init()
1796 static int ovs_dp_vport_init(struct datapath *dp) in ovs_dp_vport_init()
1817 struct datapath *dp; in ovs_dp_cmd_new()
1854 /* Set up our datapath device. */ in ovs_dp_cmd_new()
1879 * datapath and is likely to reuse it. Drop all user features. in ovs_dp_cmd_new()
1920 static void __dp_destroy(struct datapath *dp) in __dp_destroy()
1939 /* OVSP_LOCAL is datapath internal port. We need to make sure that in __dp_destroy()
1940 * all ports in datapath are destroyed first before freeing datapath. in __dp_destroy()
1958 struct datapath *dp; in ovs_dp_cmd_del()
1992 struct datapath *dp; in ovs_dp_cmd_set()
2028 struct datapath *dp; in ovs_dp_cmd_get()
2058 struct datapath *dp; in ovs_dp_cmd_dump()
2217 struct datapath *dp; in lookup_vport()
2249 static unsigned int ovs_get_max_headroom(struct datapath *dp) in ovs_get_max_headroom()
2270 static void ovs_update_headroom(struct datapath *dp, unsigned int new_headroom) in ovs_update_headroom()
2290 struct datapath *dp; in ovs_vport_cmd_new()
2433 struct datapath *dp; in ovs_vport_cmd_del()
2517 struct datapath *dp; in ovs_vport_cmd_dump()
2559 struct datapath *dp; in ovs_dp_masks_rebalance()
2684 struct datapath *dp; in list_vports_from_net()
2705 struct datapath *dp, *dp_next; in ovs_exit_net()
2782 pr_info("Open vSwitch switching datapath\n"); in dp_init()
2855 MODULE_DESCRIPTION("Open vSwitch switching datapath");