X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=3a38235f9cc947d0ba5b2e6e50088bf5e1c1ce82;hb=f1588b1fa1be46231ee079358e428dae74ff09cc;hp=f28513bb7efe0ef3421045cd95ee59a864587689;hpb=2b9d65898426b2e15d05dc6a9ffdbcb92933398f;p=sliver-openvswitch.git diff --git a/datapath/datapath.h b/datapath/datapath.h index f28513bb7..3a38235f9 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -31,7 +31,6 @@ struct dp_port; #define VLAN_PCP_SHIFT 13 #define DP_MAX_PORTS 1024 -#define DP_MAX_GROUPS 16 #define DP_N_QUEUES 3 #define DP_MAX_QUEUE_LEN 100 @@ -57,12 +56,6 @@ struct dp_stats_percpu { seqcount_t seqlock; }; -struct dp_port_group { - struct rcu_head rcu; - int n_ports; - u16 ports[]; -}; - /** * struct datapath - datapath for flow-based packet switching * @mutex: Mutual exclusion for ioctls. @@ -73,7 +66,6 @@ struct dp_port_group { * @waitqueue: Waitqueue, for waiting for new packets in @queues. * @n_flows: Number of flows currently in flow table. * @table: Current flow table (RCU protected). - * @groups: Port groups, used by ODPAT_OUTPUT_GROUP action (RCU protected). * @n_ports: Number of ports currently in @ports. * @ports: Map from port number to &struct dp_port. %ODPP_LOCAL port * always exists, other ports may be %NULL. @@ -97,9 +89,6 @@ struct datapath { /* Flow table. */ struct tbl *table; - /* Port groups. */ - struct dp_port_group *groups[DP_MAX_GROUPS]; - /* Switch ports. */ unsigned int n_ports; struct dp_port *ports[DP_MAX_PORTS];