[ovs-dev] [PATCH 1/2] datapath: Raise maximum ports per datapath from 256 to 1024.

Justin Pettit jpettit at nicira.com
Sat Sep 12 09:59:29 UTC 2009


Seems reasonable.

--Justin


On Sep 11, 2009, at 10:40 PM, Ben Pfaff wrote:

> This makes the datapath port limit the same as the Linux bridge module
> port limit.
>
> CC: Keith Amidon <keith at nicira.com>
> ---
> datapath/datapath.h |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/datapath/datapath.h b/datapath/datapath.h
> index 1fe8fac..eee1bbf 100644
> --- a/datapath/datapath.h
> +++ b/datapath/datapath.h
> @@ -25,7 +25,7 @@
>  * then this should go into include/linux/if_vlan.h. */
> #define VLAN_PCP_MASK 0xe000
>
> -#define DP_MAX_PORTS 256
> +#define DP_MAX_PORTS 1024
> #define DP_MAX_GROUPS 16
>
> #define DP_L2_BITS (PAGE_SHIFT - ilog2(sizeof(struct dp_bucket*)))
> -- 
> 1.6.3.3
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org





More information about the dev mailing list