X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fflow.h;h=694964051947c901c0937f1348ceec1966793052;hb=ba4004356c0dc634a924beb75e878327e1e066e2;hp=3b08ea602d5d283dae448cf55b1c871c86533fcb;hpb=ef5b15acd4e87a283dedb68dcd81dbd1d7c521c6;p=sliver-openvswitch.git diff --git a/datapath/flow.h b/datapath/flow.h index 3b08ea602..694964051 100644 --- a/datapath/flow.h +++ b/datapath/flow.h @@ -37,7 +37,6 @@ struct sk_buff; struct sw_flow_actions { struct rcu_head rcu; u32 actions_len; - int buf_size; struct nlattr actions[]; }; @@ -152,7 +151,6 @@ void ovs_flow_deferred_free(struct sw_flow *); void ovs_flow_free(struct sw_flow *); struct sw_flow_actions *ovs_flow_actions_alloc(int actions_len); -void ovs_flow_actions_free(struct sw_flow_actions *sfa); void ovs_flow_deferred_free_acts(struct sw_flow_actions *); int ovs_flow_extract(struct sk_buff *, u16 in_port, struct sw_flow_key *, @@ -196,8 +194,7 @@ int ovs_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, int ovs_flow_metadata_from_nlattrs(struct sw_flow *flow, int key_len, const struct nlattr *attr); -#define MAX_ACTIONS_BUFSIZE (32 * 1024) -#define MAX_ACTIONS_BUFSIZE_KMALLOC PAGE_SIZE +#define MAX_ACTIONS_BUFSIZE (16 * 1024) #define TBL_MIN_BUCKETS 1024 struct flow_table {