summaryrefslogtreecommitdiff
path: root/drivers/net/cxgbe/cxgbe_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgbe/cxgbe_compat.h')
-rw-r--r--drivers/net/cxgbe/cxgbe_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgbe/cxgbe_compat.h b/drivers/net/cxgbe/cxgbe_compat.h
index edc8ea5..cce51c2 100644
--- a/drivers/net/cxgbe/cxgbe_compat.h
+++ b/drivers/net/cxgbe/cxgbe_compat.h
@@ -101,6 +101,7 @@
#define PTR_ALIGN(p, a) ((typeof(p))CXGBE_ALIGN((unsigned long)(p), (a)))
#define VLAN_HLEN 4
+#define ETHER_ADDR_LEN 6
#define rmb() rte_rmb() /* dpdk rte provided rmb */
#define wmb() rte_wmb() /* dpdk rte provided wmb */