[PATCH 21/25] common/idpf: defining ethernet address length macro
Soumyadeep Hore
soumyadeep.hore at intel.com
Tue May 28 09:36:26 CEST 2024
Introducing ETH_ALEN macro for mac address length.
this definition is used in idpf_xn.c and was missing
previously.
Signed-off-by: Soumyadeep Hore <soumyadeep.hore at intel.com>
---
drivers/common/idpf/idpf_common_device.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/idpf/idpf_common_device.h b/drivers/common/idpf/idpf_common_device.h
index bfa927a5ff..031e4bd09d 100644
--- a/drivers/common/idpf/idpf_common_device.h
+++ b/drivers/common/idpf/idpf_common_device.h
@@ -31,6 +31,8 @@
#define IDPF_DFLT_INTERVAL 16
+#define ETH_ALEN 6
+
#define IDPF_RX_MAX_PTYPE_PROTO_IDS 32
#define IDPF_RX_MAX_PTYPE_SZ (sizeof(struct virtchnl2_ptype) + \
(sizeof(uint16_t) * \
--
2.43.0
More information about the dev
mailing list