From patchwork Thu Mar 6 14:32:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 870826 Delivered-To: patch@linaro.org Received: by 2002:ab3:6e57:0:b0:290:25b2:841c with SMTP id w23csp460737ltm; Thu, 6 Mar 2025 06:33:27 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVks/dYw+M7RZA/gmJtckTHtWEGgs7dPIamzg2jazE8Yo2ydI3src1sb3D5cXi+st5icbpaaw==@linaro.org X-Google-Smtp-Source: AGHT+IE0qoFLerO5hCg5Djv5ApySpgSb4Ugir+9//PCKuFJ/hlXe4ls9PsZipZn7LxHzYXQD6a6Y X-Received: by 2002:a05:6a00:2311:b0:734:b136:9c39 with SMTP id d2e1a72fcca58-73682c8984bmr10329069b3a.19.1741271606709; Thu, 06 Mar 2025 06:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741271606; cv=none; d=google.com; s=arc-20240605; b=h8J6djbZF+OXAw/+jmF6P3WCBleQUFvIPp+urcJIT88Yx2C679zpEkTpyaC0ULuM66 LO0W/bHABA5A/104HbHlfLbNwyq5SyDEewFqJpr2+txeJdS34Xdn5Rso+C16OvaZhslJ CRvWA1khs2mITQY+s923R46Uz+I6Mf9v2o9Kbl5FDn2Se5Y1Eida7YCDxCjCvY8s5qY7 Agx1qmwO+s45AMmM9gZUMAGphU6zJfJ3MOCCbATtjT6/3/6MfGJPi2ep0dE8Ob8a9dJU sHdaajXRzGkL2Sztbc9rxKtpMZvXRXJ+6pmyGQ1VjW86YcUJ4HPaM+P+eGCGDeZj9Xx4 3iHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ee28FhEf25536IDI2P8UUaLe9iDNhY9Qahhb75ESx7w=; fh=OddbLhSOmySdyzKIXdEczbNoEC943ie3Te872v58/v8=; b=F1EDQkLCk3CuOZbZu07EPRysuOK0nkrfpR9tYzNv3xmnv0pLC6on1CbZm1jwRijcd9 Rj/fJ0dgzTCPvhJnpEafQH+OpxPtq72Hy7YQSfY2k0ADNZNsM+sioA0oB+raArAbyf4o XUdKUNzCxZ9jRjZSfmpDDI92IzzWndhrRa+9SwVf1KFnqqLiZvqPYokF3H2kBc/aQXs2 Ia3cK66DXMiJPJrxzVuBp3/V1/T4wG9JnZu6CJpxWbkqJrF0U4kDWRhMI6XoIVaXzmg4 BOirqeW2qqrhrp266DE9v6YTa5Pbvcuj2ZNSaKzdMPHp+XGVlbzge3VNLmpO3JXWlCTH gndw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O21hCrh1; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 41be03b00d2f7-af281258e41si2243024a12.253.2025.03.06.06.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Mar 2025 06:33:26 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O21hCrh1; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 12D9281253; Thu, 6 Mar 2025 15:33:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="O21hCrh1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B336D81417; Thu, 6 Mar 2025 15:32:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B5A1681298 for ; Thu, 6 Mar 2025 15:32:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-390fb1b987fso851005f8f.1 for ; Thu, 06 Mar 2025 06:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741271577; x=1741876377; darn=lists.denx.de; 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=Ee28FhEf25536IDI2P8UUaLe9iDNhY9Qahhb75ESx7w=; b=O21hCrh1aXtRplK/nq3cAdT/XpWPl+qXCveCCev5MWBVhCJstTGKpNjxBZV2ExfrfI JiMhFW1zi4POZWNeghocTRd7/ZOOy648W9WfzRJRd0pvo1x+/0tyFZvBys2uIsyC/Srj cyyF8e/fqIn9KKhDpigSb4q+WXVVoJCrwWUJ9xu2KLv1dxjbKX0czrqc/1rYGp5qcE+I CE/WXcxAQ+sz/kFYiA8IlBZTOD5er2CuNtvJfuJuyXgdAP/6uyr8hi7mUUGZBvKOCVdJ /4JWth5EShOrqp3shDf/DCKg0uOjN3JLSnu9Dm+OHjVThHWoxnUC4Bx0cZBNu2vXJCtB xzyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741271577; x=1741876377; 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=Ee28FhEf25536IDI2P8UUaLe9iDNhY9Qahhb75ESx7w=; b=odDwwqUKxglG2f3WhVLhGD3R7+9rGjVoZbITy/5UwBWPXdPEHcSEyWr4VLP7lBpZtE zM9EcMSAVNGzwj6VHNAoBUP26w+NjbNLmr8M9226b5Jz3NReQYOMJpadKzrNuGYcxQGA 4maN32GzKUoOMncBh3Bb+38g5OlJDLLxdmBt3oLbYJtDzidWgFrR/wc1xfXigJccpzx3 bAXVi0jFTwHxSif9zMyJPyE0XyAxXxM+EqBp1e+DLhDiY1kEYC5QcNcFJzmhykjU4LGA 0MmtLJ5LHBCKkgGEy/FDoXrZTq5huCuqqP5ZS2QnLammIQemC3nnFN4/zLNP4L9iJHSX Hj5Q== X-Gm-Message-State: AOJu0YxZ7pxcR/JPTOptbRfK7qUjE8W4SieAky038559uwmb9fa2EMse MbJea7fE3QJcZX0Ee0ska8eFJSbj0FCSxG85gqlRGX/nk2vBGpYC0tS5NmdE62Xk1zjDxT63eU9 q X-Gm-Gg: ASbGncsb/QQpiFE609vOXp5tCfgs6d4i4lOzvlvBsyAXRgWlytC+XmAEJ1KqseWPqk3 /lHWfMbsRDsUEnfeuG1IdIMd4C0DtTNO+OMlc/yxra4/HUVKiwn+7JEgr7VPs5dPlYKIV8djcMu gZ4zEXGIhq0CTrlJ3jir6XZ4afcAKUpqQLSTVjJLKy445fvKRUXiZduPIQwdjLpbrukdSCox6JX xBxd9hmPoJdgHpX51n8MqMSx3nXD8HpWsezY/mXhQgWnzOXT9j86L6tr1zJRzWwe2Fsr7JUc9xn grDxVYkwrX29XYuLKBysz+f9Xyndk9z2BKBa1LxM45R6iSaIvpOYxA== X-Received: by 2002:a5d:6486:0:b0:391:12a5:3cb3 with SMTP id ffacd0b85a97d-3911f726f35mr7415586f8f.3.1741271576869; Thu, 06 Mar 2025 06:32:56 -0800 (PST) Received: from builder.. ([2a01:e0a:3cb:7bb0:af71:dfb2:66ef:80c3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43bdd9470e2sm21561065e9.33.2025.03.06.06.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Mar 2025 06:32:56 -0800 (PST) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini Subject: [PATCH 1/2] net: lwip: rename linkoutput() as net_lwip_tx() Date: Thu, 6 Mar 2025 15:32:21 +0100 Message-ID: <20250306143224.3080316-2-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250306143224.3080316-1-jerome.forissier@linaro.org> References: <20250306143224.3080316-1-jerome.forissier@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Rename static function linkoutput() as net_lwip_tx() for consistency with net_lwip_rx(). Signed-off-by: Jerome Forissier --- net/lwip/net-lwip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c index cab1dd7d483..5a2a86686f4 100644 --- a/net/lwip/net-lwip.c +++ b/net/lwip/net-lwip.c @@ -30,7 +30,7 @@ char *pxelinux_configfile; struct in_addr net_ip; char net_boot_file_name[1024]; -static err_t linkoutput(struct netif *netif, struct pbuf *p) +static err_t net_lwip_tx(struct netif *netif, struct pbuf *p) { struct udevice *udev = netif->state; void *pp = NULL; @@ -60,7 +60,7 @@ static err_t linkoutput(struct netif *netif, struct pbuf *p) static err_t net_lwip_if_init(struct netif *netif) { netif->output = etharp_output; - netif->linkoutput = linkoutput; + netif->linkoutput = net_lwip_tx; netif->mtu = 1500; netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;