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 CF165A0547 for ; Fri, 30 Apr 2021 14:57:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEA6340A4B; Fri, 30 Apr 2021 14:57:37 +0200 (CEST) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 14E774013F for ; Fri, 30 Apr 2021 14:57:36 +0200 (CEST) Received: by mail-wm1-f53.google.com with SMTP id o26-20020a1c4d1a0000b0290146e1feccdaso1810416wmh.0 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=HGlErO5oC9vZc5XaLkkC4tWY9lnlgP9ccsyH+CcKd46J+LWHu2c+M6+RPLcsvB0/Fy V6iNYgwSHxU9oZsoL3o7DJONP7EJZ6LMjlCsRsUsCaai+aQgI4FtXVRr0UxXUY+74Vnx eXG2v3cPGzyeAZVewa4TiRiUmZ0VeTiZGBTw1VBOg+K7XUzlSQZqhN2GzepTRFIulKpY nr8kswhWjhB0Cv7F7yWLtIarH1Puf8uvSLCL326KLC4xIwPHmjb/0aUlnu8XKW6T/mTw q0BHaW2D3uTEoY3JnA2p4QlIZrf2dYkWR7Mjr9wOqcHOoB+FEQY1P/dhjGSskHtbj/9b QBxQ== X-Gm-Message-State: AOAM533t4OaH0T8BPXTQf++EdkOAF+Xd/e1W57KuO8sGMR5i360ZctXb 2Aopl5/kXG5096QEFIrnM+2OPg== 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-stable] [PATCH 01/22] net/ena: switch memcpy to dpdk-optimized version X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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