From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AD04444704 for ; Fri, 7 Aug 2026 21:00:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786136412; cv=none; b=qeKgdA8fD9os4D3PwJmQ0+pFn2l8wbDuPm/Rdn3uZn9fMBK/J3HuBJTefpiokOj/Q3vl15wwlHvRSdCIMW1WSSjmOMEKFCLvsCfQ2D5c+d/W9B90ITPA69i2eCwJlBpOfV4dmH6wwjLO8kFWyBqil8/CoHDqjNEa3qxlshnuWPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786136412; c=relaxed/simple; bh=9kRu9s6sylkq4R57DiZLd0w8rMbxTFR+JqfzBmRWz1o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rZB/1j2zSnU7kXLQstj5ODX1fZl/aRvCz3nVS0MFQV+Ve/qqjBpszb/41FSU3QoJ+0phie9Z/PDkuPc0cYebyUbCnVICm/mArQAJYjUdDeHxcSFrd08+2sMnmSl45ulIBAh5wmqtmnmuyGTQG0iQKbqCIi/XJCnwrSHPW7fCWgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=TvEej7As; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="TvEej7As" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-48000c5d6d3so515048f8f.1 for ; Fri, 07 Aug 2026 14:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1786136409; x=1786741209; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=n2jSfoVmmGxnKuCYX8tAJQ7xubX2vrZV9GTQr1E87rk=; b=TvEej7AsybxgM22dCCDyIX7OteOz06DymOsvyfRgIj+GS04SqxLy4PctB4r7tzVnbZ OLJRuPOqEnXZ7maiaPOSSiPEJ5xyoAcVxxuiyWsusvwS80Q1MqoIX/YJ+Z8wxR3LSGMO cVS/0REVj4o0BIYUemwLRsI1SaXJLlMFLMzWX/02MHVYYS4YhgD+5tab5bihQA3Gx6Lj mMRTDWVQkbbppLQ7jOkXKtMKUakSxCVLLBlz/Iwz1NDPHWZseBhtiMmLJg7kTEjg/5JG h1zbxcX/4UXhhMV2PpTvgn6I9nSk7cWoqFsj7kjTG22EWn9D71G1o1KT46kZSkfpRXv+ PorQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786136409; x=1786741209; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=n2jSfoVmmGxnKuCYX8tAJQ7xubX2vrZV9GTQr1E87rk=; b=OKjnh2gCwWkOH1qcfDAn9JQe1L8e5GfQsh5nE2WMOOUtwC7Pu1gHSwXWeXW6hkwq6g 3LamZM/nFJvE0ByYo8YIcIIPC1ulAjkkLaZ0Gm+Mv6bSgSGefFjz+Q7CgSokRzl3Q6I5 vQTWbFDuucEbe6ezP50jbEnPZ4h/jJv6cltSp5iNO12aOxLJCHFLZWyrsysP+57fLRHe OTOUZX474VsHnOMTqxOH4gHh0vT24y2DYICcWqy3AvsftuPCDT+jhflJZhql6zGbmssA 8tYjfNJN2eX8473NPsPmZ/FHxvpnAaXYXDmuxupld/WT22Vi8T8LJ/BEdq/8qLvILHfF VTIQ== X-Forwarded-Encrypted: i=1; AHgh+RoAbwyqAjLBag/2gPmf3pwduHBQwqfArfLNZtlAJaWxBiOxZuYnZoU03i+i+xtf/Upn/9umC31GaqCw@vger.kernel.org X-Gm-Message-State: AOJu0YyDUpWelPHkwLkwEzYbBIgpqBjD3rFhpY260gg8k3BD1bERuIks Gcvu67/hDykT2rc3d00mTXuVdDcW0js3LVgmzaFe00SjLdni0HYKvMDAVUSS4G7nlRs= X-Gm-Gg: AR+sD12wFKY8WwSIdlMQ2RKvIuWtmdgv3YoD6peR5arI+Fm6Lq9mHJs+8RHGNI7vITc +CW7Qf0d228KYfjOR0EtzYDY3boe2i6LITLVXKRIoNgg+VU4oJ9f64qilOQH9eNACHt4r+G62jP KT5o4kWg0Jym+mnL20+BqR++RNtSXOjym2/DNEFIYx4fw1wHCGZeAV94BRhdPXz3Ql0hJGdY/jh bPijyXYkvZIvRnDv+XfNgBB/mKXXpZXg9v8h5071Eb31oYZipl0oo/uC7BffTUkcYIY4n386nMl AFCvHIA0lal3AWuwO0GbV5aH4G97ZOobmGg3oQvcVxIqWbySkbV7eM7qmdYSc8yuv3UHoCFvido jdpoWq1/B58irnX0yBf8xCRfdB+18oLeW7OTYLXiDhtNmOG6PjOD0nz81cOd7qHpxqBgpFI7xkf JTZK7bclSy6Wh0IvgxE7tW8IjZIq0dBnpKJULm79ueak3+AfuKVRQZzlgtRbhbbwarGwV+Hi+d0 Ppsag== X-Received: by 2002:a05:6000:388:b0:474:d7a5:4b7a with SMTP id ffacd0b85a97d-480026ee69emr10610830f8f.28.1786136409374; Fri, 07 Aug 2026 14:00:09 -0700 (PDT) Received: from localhost ([2a02:8071:56d1:2de0:1d24:d58d:2b65:c291]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-480021509a5sm8514666f8f.16.2026.08.07.14.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2026 14:00:08 -0700 (PDT) Date: Fri, 7 Aug 2026 23:00:07 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Nagadheeraj Rottela Cc: Srinivas Neeli , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Michal Simek , Andrew Lunn , Vladimir Oltean , Simon Horman , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, git-dev@amd.com Subject: Re: [PATCH 03/20] net: xilinx: tsn: add endpoint MAC driver skeleton Message-ID: References: <20260807104431.157230-1-nagadheeraj.rottela@amd.com> <20260807104431.157230-4-nagadheeraj.rottela@amd.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s3a2p35cknyjhbm7" Content-Disposition: inline In-Reply-To: <20260807104431.157230-4-nagadheeraj.rottela@amd.com> --s3a2p35cknyjhbm7 Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 03/20] net: xilinx: tsn: add endpoint MAC driver skeleton MIME-Version: 1.0 On Fri, Aug 07, 2026 at 04:14:14PM +0530, Nagadheeraj Rottela wrote: > From: Srinivas Neeli >=20 > The TSN Endpoint MAC owns the IP's host-side MCDMA data path and is the > netdev physically wired to the CPU. The DSA switch needs this netdev to > exist as its conduit. >=20 > Add a platform driver (compatible "xlnx,tsn-ep-mac") for the endpoint. > Register the netdev named "ep", set its MAC address, and provide minimal > netdev and ethtool ops. This skeleton handles device bring-up only, with > no data path yet. So ndo_open just starts the queues and ndo_start_xmit > drops frames. >=20 > Signed-off-by: Srinivas Neeli > Co-developed-by: Nagadheeraj Rottela > Signed-off-by: Nagadheeraj Rottela > --- > drivers/net/ethernet/xilinx/tsn/Makefile | 2 +- > drivers/net/ethernet/xilinx/tsn/xilinx_tsn.h | 15 ++ > .../net/ethernet/xilinx/tsn/xilinx_tsn_ep.c | 152 ++++++++++++++++++ > .../net/ethernet/xilinx/tsn/xilinx_tsn_main.c | 3 + > 4 files changed, 171 insertions(+), 1 deletion(-) > create mode 100644 drivers/net/ethernet/xilinx/tsn/xilinx_tsn.h > create mode 100644 drivers/net/ethernet/xilinx/tsn/xilinx_tsn_ep.c >=20 > diff --git a/drivers/net/ethernet/xilinx/tsn/Makefile b/drivers/net/ether= net/xilinx/tsn/Makefile > index 6f99226f3dc8..5886828b386f 100644 > --- a/drivers/net/ethernet/xilinx/tsn/Makefile > +++ b/drivers/net/ethernet/xilinx/tsn/Makefile > @@ -1,2 +1,2 @@ > obj-$(CONFIG_XILINX_TSN) +=3D xilinx_tsn.o > -xilinx_tsn-y :=3D xilinx_tsn_main.o > +xilinx_tsn-y :=3D xilinx_tsn_main.o xilinx_tsn_ep.o > diff --git a/drivers/net/ethernet/xilinx/tsn/xilinx_tsn.h b/drivers/net/e= thernet/xilinx/tsn/xilinx_tsn.h > new file mode 100644 > index 000000000000..b0757e22d1fd > --- /dev/null > +++ b/drivers/net/ethernet/xilinx/tsn/xilinx_tsn.h > @@ -0,0 +1,15 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * AMD/Xilinx TSN Endpoint Ethernet MAC driver, shared definitions. > + * > + * Copyright (C) 2026 Advanced Micro Devices, Inc. > + */ > + > +#ifndef _XILINX_TSN_H > +#define _XILINX_TSN_H > + > +#include > + > +extern struct platform_driver xlnx_tsn_ep_driver; > + > +#endif /* _XILINX_TSN_H */ > diff --git a/drivers/net/ethernet/xilinx/tsn/xilinx_tsn_ep.c b/drivers/ne= t/ethernet/xilinx/tsn/xilinx_tsn_ep.c > new file mode 100644 > index 000000000000..9b556edf5423 > --- /dev/null > +++ b/drivers/net/ethernet/xilinx/tsn/xilinx_tsn_ep.c > @@ -0,0 +1,152 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * AMD/Xilinx TSN Endpoint MAC driver. > + * > + * Copyright (C) 2026 Advanced Micro Devices, Inc. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include As for patch #2: Please drop . Best regards Uwe --s3a2p35cknyjhbm7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmp2R1MACgkQj4D7WH0S /k5O/Af/TgMIOtaQklVLmWBMkmBIzcsGU429YEzvVu05CyiD5QqR8zjbZJwQxKmw SkyMCDxo8Lq8CrA6KdsXb8wFOgqxMS/L1M4pvvsMdK32qvm80JzIg6E7SGtf+tOE WkMebpH8sCnZ+fawjduQcfq3KJP3vF8QS/GFeUxDtPrvAwt29padXs7p9fKdRVKd OwKoX7evpfoIVchzwiduw8NKgwyL3PxM4rofCXNYn2bEN6wgBp3BlBguCrkthyey OK7y/Un+T0wIHPiT7jyJgMobOIlJPqhbvLIdL0QWN2jg+fpzjaGGAMeH/yIkSUWw G9Yviixwsqv9xIP/h8edIDavoQLkPw== =9zsc -----END PGP SIGNATURE----- --s3a2p35cknyjhbm7--