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 E914EA0546; Fri, 30 Apr 2021 14:57:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0740D410EF; Fri, 30 Apr 2021 14:57:39 +0200 (CEST) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mails.dpdk.org (Postfix) with ESMTP id 6B7284013F for ; Fri, 30 Apr 2021 14:57:36 +0200 (CEST) Received: by mail-wm1-f46.google.com with SMTP id 4-20020a05600c26c4b0290146e1feccd8so1636703wmv.1 for ; Fri, 30 Apr 2021 05:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WvO6qsIo8PN1zge753xdXtD2EG5I+KIcrd184Ei6nEc=; b=xKbDPq64fGhgWowAGxPpj6UjzRWMBZmrkYFyzK2eZ1aOLdklmQE95lZ3Ex10rPMRr+ 4R2aFgZ4lVta8CkXMtcyFBXZ1SLihD0kxZA978XL6oH4gmKSwroRY0kufnWFmuvrnlhQ ZpaCbMSUvFClkGUL/QwgvOmvMNA52DLmTXwTA3tLSxJpKMo1ZuP++PiCMgqxdxJiiKGM L1r6wO1o/iWI/zswqpdjPrysUuhCRZqpVn3V+3aK0FxxjsJbEYi61Iqx0+p/wU3TMEso ndc4E8Hw5A3es6WqXz2S7/YEgx4UhDdssEqxektY4tOjRtSMAgNpCszgijqakULehhp5 9cEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WvO6qsIo8PN1zge753xdXtD2EG5I+KIcrd184Ei6nEc=; b=d7+OJ0kbzstQGsDzWn/0Z+6SnVYoSHWWfxDNGvNmXMJLfFX9OARgvu70AxXfypfUpO zLAmalVsY3LEXF2LKnphAupdzoGEXWU/P34jdpT+xP6OTpfSldqaAi6x634qnyrfAdy1 pKSci8rz4PJfB25mkQ3G/umZWIsmrEimxxN7i7znKiAxNTMOSjlb5ZQb7bbAMBzCeiiY qr5AGKFNY6WDcgW5Rn9y69vjPaZoPhRPsr2WBE3JcWbeRDtAhBUUhOfsZr8aoiy0O24M r4+uJNUGYnTA8xkO5dJ7rZwMCTXBjYSZQIp0FYi+M1IV09aNEztZNHeJKkLgaX3pwu0G Lcdg== X-Gm-Message-State: AOAM5302d1ahPqwQ0ZvjvtqsfbZ88rQ16e65LX3jYkg5z/bkERr+Ojo/ 0+n7sqoIF5MAWXCffp3uPsUvhT22w19REAIQ X-Google-Smtp-Source: ABdhPJy09pXO0ZoHIypzuHwrnLaHo+Sc1N4UR+sQuNrPhGobYN80szrYG4lPyD+I1iFgqzVwUSHHWg== X-Received: by 2002:a7b:c7c6:: with SMTP id z6mr6205521wmk.24.1619787455874; Fri, 30 Apr 2021 05:57:35 -0700 (PDT) Received: from DESKTOP-U5LNN3J.localdomain (89-79-189-199.dynamic.chello.pl. [89.79.189.199]) by smtp.gmail.com with ESMTPSA id l13sm13476245wmj.3.2021.04.30.05.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 05:57:35 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: ndagan@amazom.com, gtzalik@amazon.com, igorch@amazon.com, mw@semihalf.com, stable@dpdk.org, Michal Krawczyk , Artur Rojek Date: Fri, 30 Apr 2021 14:57:04 +0200 Message-Id: <20210430125725.28796-2-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210430125725.28796-1-mk@semihalf.com> References: <20210430125725.28796-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 01/22] net/ena: switch memcpy to dpdk-optimized version 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 Sender: "dev" From: Igor Chauskin memcpy is now mapped to rte_memcpy macro. Fixes: 9ba7981ec992 ("ena: add communication layer for DPDK") Cc: stable@dpdk.org Signed-off-by: Igor Chauskin Reviewed-by: Michal Krawczyk Reviewed-by: Artur Rojek --- drivers/net/ena/base/ena_plat_dpdk.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ena/base/ena_plat_dpdk.h b/drivers/net/ena/base/ena_plat_dpdk.h index a1d749f83f..cc3fa2fe81 100644 --- a/drivers/net/ena/base/ena_plat_dpdk.h +++ b/drivers/net/ena/base/ena_plat_dpdk.h @@ -25,6 +25,7 @@ #include #include +#include typedef uint64_t u64; typedef uint32_t u32; @@ -62,7 +63,8 @@ typedef uint64_t dma_addr_t; #define ENA_UDELAY(x) rte_delay_us_block(x) #define ENA_TOUCH(x) ((void)(x)) -#define memcpy_toio memcpy +#undef memcpy +#define memcpy rte_memcpy #define wmb rte_wmb #define rmb rte_rmb #define mb rte_mb -- 2.25.1