From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 868EAA04B3; Mon, 10 Feb 2020 17:21:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66E011BF7B; Mon, 10 Feb 2020 17:20:54 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 04DFB1BE9C for ; Mon, 10 Feb 2020 17:20:52 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A421B22664; Mon, 10 Feb 2020 11:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 10 Feb 2020 11:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=MdU7fwLWA3 +unQnWtL/SEKB0exwSylO+8xVdz/ykIq4=; b=MmMJ2js3ALYSJmj6LvxraWZS28 gOV6D76OSW4LuM5Jf/LLcvFU9G0OtcwHQP+ZdlMKixpqn9pyMnnMgC61q+b79MP/ 3VKQnH2WgW9/gmym5vBzZg7duM/ZjxSvmhqDMa0yzvQCiSKGxyqPzKgbMeBW6/PB 2LEcropL2+6imN/aw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=MdU7fwLWA3+unQnWtL/SEKB0exwSylO+8xVdz/ykIq4=; b=vmDiqtPt 7VuFv0Xrej2ggtMF/utLmvvYMPpf+t00jL64hJnfkUrK3Ng4ju4oVuMQAOWzjkBW 5Fqvwnzz/0mk8nKlFJHLAzlO+jDvl7+gtZr3lDF+K6uUP5ETaN64mCs3TBoEj0Zs UYIOLMjdjmsNuyv60LMncZRiBUCrcwOrDLq5f/InL3ogHrz//ju2XzbXbzWB/2wA H4CBpMKfHBcZcIMRg/r5xa3S/MID2MO9t9qtDTvkf//g/bW4Y5TTPGLNnowup9MA 3uxyfZfavA/jCiN8oueWa4cxhpUPBhOtpT+q0+qRMZ5W6bjCP2ftqV6uYKmuU+B+ gYpeY7QPzqxydg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedugdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A948328005D; Mon, 10 Feb 2020 11:20:51 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Jakub Grajciar Date: Mon, 10 Feb 2020 17:20:20 +0100 Message-Id: <20200210162032.1177478-4-thomas@monjalon.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210162032.1177478-1-thomas@monjalon.net> References: <20200210162032.1177478-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 20.05 03/15] net/memif: use common macros for cache line marker X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The macros RTE_MARKER and __rte_cache_aligned can be used for consistency for describing MEMIF_CACHELINE_ALIGN_MARK. Signed-off-by: Thomas Monjalon --- drivers/net/memif/memif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/memif.h b/drivers/net/memif/memif.h index a4d88c044b..b912308904 100644 --- a/drivers/net/memif/memif.h +++ b/drivers/net/memif/memif.h @@ -162,7 +162,7 @@ typedef struct __rte_packed { } memif_desc_t; #define MEMIF_CACHELINE_ALIGN_MARK(mark) \ - uint8_t mark[0] __rte_aligned(RTE_CACHE_LINE_SIZE) + RTE_MARKER mark __rte_cache_aligned; typedef struct { MEMIF_CACHELINE_ALIGN_MARK(cacheline0); -- 2.25.0