X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=d8b7a6dabe59e4ceae83e7e8857dd2d3bea21319;hb=996c1b3d7a4d6e82e1831ff8821e5fd7e1a5522c;hp=91c8e1e23f12d8ed7c069f9fdfb98d0627510a96;hpb=1ba530f4b2cd5476a224dbbf87a3089a831a24b6;p=sliver-openvswitch.git diff --git a/datapath/datapath.h b/datapath/datapath.h index 91c8e1e23..d8b7a6dab 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -68,7 +68,6 @@ struct dp_stats_percpu { * @waitqueue: Waitqueue, for waiting for new packets in @queues. * @n_flows: Number of flows currently in flow table. * @table: Current flow table. - * @n_ports: Number of ports currently in @ports. * @ports: Map from port number to &struct vport. %ODPP_LOCAL port * always exists, other ports may be %NULL. * @port_list: List of all ports in @ports in arbitrary order. @@ -93,7 +92,6 @@ struct datapath { struct tbl __rcu *table; /* Switch ports. */ - unsigned int n_ports; struct vport __rcu *ports[DP_MAX_PORTS]; struct list_head port_list;