DPDK patches and discussions
 help / color / mirror / Atom feed
From: Soumyadeep Hore <soumyadeep.hore@intel.com>
To: jingjing.wu@intel.com
Cc: dev@dpdk.org
Subject: [PATCH 21/25] common/idpf: defining ethernet address length macro
Date: Tue, 28 May 2024 07:36:26 +0000	[thread overview]
Message-ID: <20240528073630.867131-2-soumyadeep.hore@intel.com> (raw)
In-Reply-To: <20240528073630.867131-1-soumyadeep.hore@intel.com>

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@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


  reply	other threads:[~2024-05-28  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28  7:36 [PATCH 20/25] net/cpfl: updating cpfl based on latest base driver Soumyadeep Hore
2024-05-28  7:36 ` Soumyadeep Hore [this message]
2024-05-28  7:36 ` [PATCH 22/25] common/idpf: increasing size of xn index Soumyadeep Hore
2024-05-28  7:36 ` [PATCH 23/25] common/idpf: redefining idpf vc queue switch Soumyadeep Hore
2024-05-28  7:36 ` [PATCH 24/25] net/idpf: updating idpf vc queue switch in idpf Soumyadeep Hore
2024-05-28  7:36 ` [PATCH 25/25] net/cpfl: updating idpf vc queue switch in cpfl Soumyadeep Hore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240528073630.867131-2-soumyadeep.hore@intel.com \
    --to=soumyadeep.hore@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).