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 DD8DE43C12; Fri, 1 Mar 2024 18:24:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68E6D434F8; Fri, 1 Mar 2024 18:18:41 +0100 (CET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 3967043348 for ; Fri, 1 Mar 2024 18:18:08 +0100 (CET) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1dcafff3c50so19855205ad.0 for ; Fri, 01 Mar 2024 09:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313487; x=1709918287; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hKqEFCNTObx0gRK9+izVTkCMNLSW9gW0LxjHqhk3RFg=; b=sPLE0WNFiig1sksstohDb08LyRe9VRJGzxADvK//iP/mRZMaTk/Azth6pb+EM6kocf esGJbkJoBcxS7j02fKVyvV/KKYzaXTpD8YktRgkDtBErnaS7eu3j/nLAX/V5iZ8rqDAE 4tswNMEy4SAALRqd+haUNO1t0afbsWpz4N1YaGLrQg5A1LPyvgiakXhPrCXIXuMqn7dv br3SeyZ/jae2DXCQ1aOlDHvVZJKh7bfi36pCGb/Uni8EL4FuYt5NywhA4tcbAdltLykU qgAXg3uA+da1jqiZmGnSWDc0vauPjoENWNa434fjN8/ewYHqwpLDRNvdfO90pewJaGEj +HOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709313487; x=1709918287; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hKqEFCNTObx0gRK9+izVTkCMNLSW9gW0LxjHqhk3RFg=; b=RYvYZZTFpSM7TFhLDnZyeMqDW5WuTnMAJ+s1fS7TFOUfcRP8MK91yjuJ7QducH2t3k rnWHmeSYnRRloW/Fm6Kp0u1FVun5u4FXszn8xsKVMlVuJly2QYl6VCtg/c0QDLswaOVE k1SXtJsr+PNyuRxGz7tPsqM60htejvAnKeX5Hmxm7uyFxv5CLcWIFsdjAweTo5/Uiz51 Gbzcx6RlOMAhnjmfCtz9CljSVfPocgmSOPTE5kUp2jYUYQ6sPEQa5ovflhUOuRKbkEs1 /kkFdqAm3stBODRX+v5ly0BX5eHeHUln13ZDaSuKabLnQ183Rt9EJyMa/Zvggh0Udv52 DGmA== X-Gm-Message-State: AOJu0Ywse6r7HC5Y/Fxm11PtcdY6iOutdsHeWqSBig/tmvbCUJXXwI9x Hshr0GglVA3Rduz7T5l87SdMMhl2dzNfUzsWxRerbqdG2IF5M2s1VX6GsghH1/CINoO28neSQzh vrR0S+w== X-Google-Smtp-Source: AGHT+IEiUSyslNz/DbYKnTEcTARzQXmQO6kztCwRaqtGe9j8p1Fc+kaYrwTrTJnuRkHLQ8qkAnn/WA== X-Received: by 2002:a17:903:22cd:b0:1dc:8eba:42c3 with SMTP id y13-20020a17090322cd00b001dc8eba42c3mr2546287plg.23.1709313487484; Fri, 01 Mar 2024 09:18:07 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:18:07 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Junfeng Guo , Jeroen de Borst , Rushil Gupta , Joshua Washington Subject: [PATCH v2 64/71] net/gve/base: replace use of fixed size rte_memcpy Date: Fri, 1 Mar 2024 09:16:00 -0800 Message-ID: <20240301171707.95242-65-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301171707.95242-1-stephen@networkplumber.org> References: <20240229225936.483472-1-stephen@networkplumber.org> <20240301171707.95242-1-stephen@networkplumber.org> 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 Automatically generated by devtools/cocci/rte_memcpy.cocci Signed-off-by: Stephen Hemminger --- drivers/net/gve/base/gve_adminq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/gve/base/gve_adminq.c b/drivers/net/gve/base/gve_adminq.c index 629d15cfbe77..24b00a1fbf5b 100644 --- a/drivers/net/gve/base/gve_adminq.c +++ b/drivers/net/gve/base/gve_adminq.c @@ -785,7 +785,7 @@ int gve_adminq_describe_device(struct gve_priv *priv) } priv->max_mtu = mtu; priv->num_event_counters = be16_to_cpu(descriptor->counters); - rte_memcpy(priv->dev_addr.addr_bytes, descriptor->mac, ETH_ALEN); + memcpy(priv->dev_addr.addr_bytes, descriptor->mac, ETH_ALEN); PMD_DRV_LOG(INFO, "MAC addr: " RTE_ETHER_ADDR_PRT_FMT, RTE_ETHER_ADDR_BYTES(&priv->dev_addr)); priv->tx_pages_per_qpl = be16_to_cpu(descriptor->tx_pages_per_qpl); -- 2.43.0