From 3d6a286ca6f5efa699e6d87adfdb1fc0fdbdda66 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Tue, 11 Apr 2017 19:07:23 +0530 Subject: [PATCH] bus/fslmc: define VLAN header length Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e5c8761e9d..4e25803cbb 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -43,6 +43,10 @@ #ifndef true #define true 1 #endif + +#ifndef ETH_VLAN_HLEN +#define ETH_VLAN_HLEN 4 /** < Vlan Header Length */ +#endif #define DPAA2_DQRR_RING_SIZE 16 /**