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 E8038A0032; Thu, 21 Jul 2022 14:54:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64D6242BD0; Thu, 21 Jul 2022 14:52:18 +0200 (CEST) Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 972E740FAE for ; Thu, 21 Jul 2022 14:52:01 +0200 (CEST) Received: from localhost.localdomain (unknown [10.2.5.185]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxH9LhS9liUZgsAA--.700S25; Thu, 21 Jul 2022 20:51:59 +0800 (CST) From: Min Zhou To: thomas@monjalon.net, david.marchand@redhat.com, bruce.richardson@intel.com, anatoly.burakov@intel.com, qiming.yang@intel.com, Yuying.Zhang@intel.com, jgrajcia@cisco.com, konstantin.v.ananyev@yandex.ru Cc: dev@dpdk.org, maobibo@loongson.cn Subject: [PATCH v4 23/24] memif: add system call number for LoongArch Date: Thu, 21 Jul 2022 20:51:43 +0800 Message-Id: <20220721125144.4028113-24-zhoumin@loongson.cn> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220721125144.4028113-1-zhoumin@loongson.cn> References: <20220721125144.4028113-1-zhoumin@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9DxH9LhS9liUZgsAA--.700S25 X-Coremail-Antispam: 1UD129KBjvdXoWrKr4Dtw1kWF47ZF4DJF1DJrb_yoW3Cwb_W3 WxXrsayr1YkF1SgayxCrWSkFy8tan8XF1kurySvFW3AwnIqFWkJr4fCry8tr90gr4vqw15 Gws2qr15Zr97KjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUUUUUUU X-CM-SenderInfo: 52kr3ztlq6z05rqj20fqof0/ 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 This patch adds system call number of memfd_create for LoongArch architecture. Signed-off-by: Min Zhou --- drivers/net/memif/rte_eth_memif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/rte_eth_memif.h b/drivers/net/memif/rte_eth_memif.h index 81e7dceae0..669222f93c 100644 --- a/drivers/net/memif/rte_eth_memif.h +++ b/drivers/net/memif/rte_eth_memif.h @@ -174,7 +174,7 @@ const char *memif_version(void); #define __NR_memfd_create 1073742143 #elif defined __arm__ #define __NR_memfd_create 385 -#elif defined __aarch64__ +#elif defined __aarch64__ || defined __loongarch__ #define __NR_memfd_create 279 #elif defined __powerpc__ #define __NR_memfd_create 360 -- 2.31.1