projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Enable usage of cached flows.
[openvswitch]
/
datapath
/
datapath.h
diff --git
a/datapath/datapath.h
b/datapath/datapath.h
index fd81dfbad0866427401e345e1ff39ffbe4d6dece..dacc3a42c301c1c11d90d395f729c5006254f8fb 100644
(file)
--- a/
datapath/datapath.h
+++ b/
datapath/datapath.h
@@
-146,6
+146,8
@@
enum csum_type {
/**
* struct ovs_skb_cb - OVS data in skb CB
* @dp_port: The datapath port on which the skb entered the switch.
/**
* struct ovs_skb_cb - OVS data in skb CB
* @dp_port: The datapath port on which the skb entered the switch.
+ * @flow: The flow associated with this packet. May be %NULL if no flow.
+ * @is_frag: %true if this packet is an IPv4 fragment, %false otherwise.
* @ip_summed: Consistently stores L4 checksumming status across different
* kernel versions.
* @tun_id: ID (in network byte order) of the tunnel that encapsulated this
* @ip_summed: Consistently stores L4 checksumming status across different
* kernel versions.
* @tun_id: ID (in network byte order) of the tunnel that encapsulated this
@@
-153,6
+155,8
@@
enum csum_type {
*/
struct ovs_skb_cb {
struct dp_port *dp_port;
*/
struct ovs_skb_cb {
struct dp_port *dp_port;
+ struct sw_flow *flow;
+ bool is_frag;
enum csum_type ip_summed;
__be32 tun_id;
};
enum csum_type ip_summed;
__be32 tun_id;
};