X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=9b4c4386bd5f262a058411e164e47e57b89a9255;hb=1ebeed630c561949cfa86b88dc935e20d7e9fc95;hp=d28250a128006f259272285ffa0ebd7bf3f71104;hpb=4d678233e981fa319a338f6b0949e9dc625941a4;p=openvswitch diff --git a/datapath/datapath.h b/datapath/datapath.h index d28250a1..9b4c4386 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -24,6 +24,7 @@ /* 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 1024 #define DP_MAX_GROUPS 16