From: Ben Pfaff Date: Fri, 11 Sep 2009 21:32:50 +0000 (-0700) Subject: datapath: Raise maximum ports per datapath from 256 to 1024. X-Git-Tag: v0.90.6~19 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5eab9abcd3799de1117f4b2dfb9b2ec5e1cf963e;p=sliver-openvswitch.git datapath: Raise maximum ports per datapath from 256 to 1024. This makes the datapath port limit the same as the Linux bridge module port limit. CC: Keith Amidon --- diff --git a/datapath/datapath.h b/datapath/datapath.h index 1fe8facaf..eee1bbfc5 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*)))