From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 245E3440F2; Tue, 28 May 2024 10:18:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50B3940E72; Tue, 28 May 2024 10:17:59 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 0FAC6402E4 for ; Tue, 28 May 2024 10:17:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716884275; x=1748420275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mDcLysZe+jA15Qadbc9Nv4QNXmMCoM3P19S8IPiaLqY=; b=PdzQqowX+PvLdg40Ht9sJ+q05PNLVKADBvDk2WOdBSklcUQo8i2iB0sP rJQZi8I4hSkhvOtqroA4Q6Vc9aKKyx7aGseodNu8RBC/nebjuwCSs+rhE 7LiPvZ0GX5nps8HcAoB0/GJ9pcF/3wQaY6brrhHzGN37M8KZssg0Z1Roj Q/erxfc0KGrjuGoXj7xT1h01tt2dh0TcCdeCDvLc0ixYlvP5jZhnQxSQO 6tBlSfWH+6Rcj7vQcNb+LZwOAYWMXbpf8z0FQ0HIvnkpbjJie22fnug1F Ti0ugS4tY7CIa9oaC9ufR4c69CC9gHmuvHpLWDbm44xtjpxVSAF/+okFe g==; X-CSE-ConnectionGUID: eYGA6GeNSV6Je0xGXsK3Cg== X-CSE-MsgGUID: KPwFqY6zQBW4mfEYcTKZSg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="24341023" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="24341023" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 01:17:55 -0700 X-CSE-ConnectionGUID: 8dem0OlhQBSAUF9oXIAz0w== X-CSE-MsgGUID: EE11SNtPSwa7kOlset7N4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="66199147" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by fmviesa001.fm.intel.com with ESMTP; 28 May 2024 01:17:53 -0700 From: Soumyadeep Hore 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 Message-ID: <20240528073630.867131-2-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240528073630.867131-1-soumyadeep.hore@intel.com> References: <20240528073630.867131-1-soumyadeep.hore@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 --- 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