datapath: Remove unused vlan constants.
authorJesse Gross <jesse@nicira.com>
Thu, 29 Sep 2011 22:18:14 +0000 (15:18 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 30 Sep 2011 17:58:34 +0000 (10:58 -0700)
We define some constants for dealing with vlan PCP bits since at
the time they didn't exist upstream.  They've since been merged
upstream with different names and we don't use them anyways, so
just drop them.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.h

index ea200a3ad3a7374e537d1fcbc8f3d0d87e5134bd..8a71391346100ab4e31a99600707024c325bf466 100644 (file)
 
 struct vport;
 
-/* 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 SAMPLE_ACTION_DEPTH 3
 
 /**