Lines Matching defs:datapath
29 * datapath.
34 * been received by the datapath.
37 * one of the datapath's queues).
54 * struct datapath - datapath for flow-based packet switching
60 * @stats_percpu: Per-CPU datapath statistics.
62 * @max_headroom: the maximum headroom of all vports in this datapath; it will
65 * Context: See the comment on locking at the top of datapath.c for additional
68 struct datapath {
115 * then no packet is sent and the packet is accounted in the datapath's @n_lost
175 static inline struct net *ovs_dp_get_net(const struct datapath *dp)
180 static inline void ovs_dp_set_net(struct datapath *dp, struct net *net)
185 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no);
187 static inline struct vport *ovs_vport_rcu(const struct datapath *dp, int port_no)
193 static inline struct vport *ovs_vport_ovsl_rcu(const struct datapath *dp, int port_no)
199 static inline struct vport *ovs_vport_ovsl(const struct datapath *dp, int port_no)
206 static inline struct datapath *get_dp_rcu(struct net *net, int dp_ifindex)
223 static inline struct datapath *get_dp(struct net *net, int dp_ifindex)
225 struct datapath *dp;
242 int ovs_dp_upcall(struct datapath *, struct sk_buff *,
246 const char *ovs_dp_name(const struct datapath *dp);
250 int ovs_execute_actions(struct datapath *dp, struct sk_buff *skb,
267 #endif /* datapath.h */