X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=9b4c4386bd5f262a058411e164e47e57b89a9255;hb=96d2ee8e314fb95a0066db50c5af585aef1700c3;hp=122706a8b02a101e559e666cd4363a88bf50182a;hpb=f1acd62b54376a425a975f9af501c4c8c5689b39;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index 122706a8..9b4c4386 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -25,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*)))