X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=88bdbc65784f812d7fdb1e253e8dd80e7ce572e6;hb=cdd35cff225bf39767ea9e2e535cf2940b0e5127;hp=1fe8facaf6c69919635df34c7ab1e9655c2b6b4c;hpb=6fa58f7a1533b96d8c958581ed18e0e5a245157b;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index 1fe8faca..88bdbc65 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -24,8 +24,9 @@ /* Mask for the priority bits in a vlan header. If we ever merge upstream * then this should go into include/linux/if_vlan.h. */ #define VLAN_PCP_MASK 0xe000 +#define VLAN_PCP_SHIFT 13 -#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*)))