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 2034C43BAE; Fri, 1 Mar 2024 00:08:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 975C043450; Fri, 1 Mar 2024 00:02:07 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 2F5D74331A for ; Fri, 1 Mar 2024 00:00:56 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-29b1ee96191so292433a91.0 for ; Thu, 29 Feb 2024 15:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709247655; x=1709852455; 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=1rEKKhc4IXa0kB2PVWXsrrUzk/nXZvkuqpAgMD3iyekN0Vn2K9TRlR2mTGbBt8HgXl nyqTRHJP+VR82QKX9l9wZkBFKD9c6Pv667QhuU2NSVIDZH8QEvkybH/NhqaH56NzMfC8 fikcf2X8ge/iLiyFjdCn5jLgUOVUQjau3FFnFcP3fsWfwFZPNuaXHHA0X6pTqTz4NGpY Wksy2BCa37I5kfb76fxJSE7xlWHIZfKGzga5TZFmjMgTKR2idXYx1PCXg6nKXbz3JHOy 8+PJmBP1UJCcINTCNK7mrJRVlqSOmfUh8hd2bs1Mfky+RFZAbi/7A6ulMAO0HvdcSjOx 5tdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709247655; x=1709852455; 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=KeuzgJMsQFgBhe5ytXKiQ+zB2s3a0n/eLqLlWnOJFsfG7iiT1hJuCg/DGIPTLt80Rn dQ0j+4R6j0yY8nU8Huxd5ASPV7z7AdZOE7UmX0i/iVqu1MZ0oTKZDnzuPD+ss7JwSGo5 ZBV0eWnDmQOvDQ4FtRXKoUxhV0VPbxCmoMiUYvWTldhrEwgJbCFA0iVhZaQnZimM6+Dt YTv8rFvSv65bQ+JUeked9w2Y4krF8zAbevCVB6P962bGTmWcj3PLlQ6dZESRzZGra0WM ABpWAqT1SlDYSVo2NXU/c03ntvKcgUxjilct+t3qBYuo2bjAhjYUvKnyqyX5IMTCOhGU JXRA== X-Gm-Message-State: AOJu0YzjfUhTL0OpEyQC/k8hF1myjbzWR0b8s50K45taG6KD+Xz0GRcC lzaSgFZSBBIIxwxohWBQcXPwl6UmHFizwA0h1fRJPvwiWHRVp23yVXPGYxztnYeVEWI5xKg5y0f 0+5k= X-Google-Smtp-Source: AGHT+IHww8EWGBpCaVeWe4yRX09JvUMiw1sYRoC9B3nPoNIf1wK3qpBgGj8jEFysO+gHJ+di2k0ZWg== X-Received: by 2002:a17:90a:9e4:b0:299:9d8:d7c9 with SMTP id 91-20020a17090a09e400b0029909d8d7c9mr35722pjo.18.1709247655354; Thu, 29 Feb 2024 15:00:55 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id l22-20020a17090b079600b0029a8e5355fcsm1965578pjz.53.2024.02.29.15.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 15:00:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Junfeng Guo , Jeroen de Borst , Rushil Gupta , Joshua Washington Subject: [PATCH 64/71] net/gve/base: replace use of fixed size rte_memcpy Date: Thu, 29 Feb 2024 14:58:51 -0800 Message-ID: <20240229225936.483472-65-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240229225936.483472-1-stephen@networkplumber.org> References: <20240229225936.483472-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