summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2011-09-29 15:18:14 -0700
committerJesse Gross <jesse@nicira.com>2011-09-30 10:58:34 -0700
commitbe07be4dcba9faa181b195cdda0d8ab3761e738d (patch)
tree7e5dc1b774e42c5431031c0c64dd454870f07cf6
parent572b70687b27ef6fdd1ed90d1ac932d6de35701f (diff)
downloadopenvswitch-be07be4dcba9faa181b195cdda0d8ab3761e738d.tar.gz
datapath: Remove unused vlan constants.
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>
-rw-r--r--datapath/datapath.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/datapath/datapath.h b/datapath/datapath.h
index ea200a3ad..8a7139134 100644
--- a/datapath/datapath.h
+++ b/datapath/datapath.h
@@ -27,13 +27,7 @@
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
/**