Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp84124lqb; Tue, 4 Jun 2024 06:00:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdQ6Tnmhjo7dhyfoXSTjC/jndL2JD9FDU5JuIj3XsuXAU58xmvdYHV0u9aKupcBdA97MS3sghfimRbpYY3UuqIM3ZUzUJ+nRrP5z3zuQ== X-Google-Smtp-Source: AGHT+IFR/yFLISgq+R3xhKIV/cH964XakJvwG3nkVmutC655iQZMZjdWFX7kC2MALH1Dt10KTysi X-Received: by 2002:a05:6a20:2590:b0:1af:f50f:cbe9 with SMTP id adf61e73a8af0-1b26f2d54aemr12117913637.44.1717506046663; Tue, 04 Jun 2024 06:00:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717506046; cv=pass; d=google.com; s=arc-20160816; b=nHSH7umvw9Jpc+0KFZTvTt3RI1dsMOtJUf0zxiDDHpFJ3d7EFse+slLJ6hN2mxPh5k Yc3caPPoyy1ccGhlVIPKDPg4UboiEPYQAibd1yQxOB8lDg25rnfi4CgRL2owWeRLFsoU XabwY4A7lHkdJTJsGJyVQo/pdo1PjUcjn9sB8mnbSVSFXYFFq7cyY6eL+l7oB32pQWHH EL2++J7K64Eqn1FFFyWxm5nys5a5c4j3xB7lCYJHSI3Hzs3hh2CQ86UK6cNDmX0f4odj 0JaUYe8B7+Z3o7boXI3trwAqjbPlt254HMfEH1Pzs4f7BseFIoygBuauZzguwRe5ueDb D7BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VYGAhEZXo4j05kuFZF8FnMoIkV4KZnSZ9FtBHcoN+Ac=; fh=OpO66bnWYHp53S+QeqeBZynq7PiR9PUrW0G8UNcrFZ4=; b=SyigLGVW6ZsPYSZpPtbcx4J9cVq2jSv88vbiR8SB/lcu18fOdIEaZwMEHl5lmnPCdz DjwiIigs+IDmt8iZG9geGeLwWRoCJCTOXdtosOs5qWasD8IdGR4iF6R/rZ+/NtkpGCRk RPcZdqgKWEJGeZ9/Ljc83czQ/DYVLYX5vT2kbizKDBT7g4sYH9iyuHi1i9PbXXe1nZkC Y7G0z4ei2JgToI7qkBYVnCpmXASjTx2zraiWDSrTkHywAA/MwF9CPzQeyHgNaG5UsIFx CAy7fdh7Vxtuuaxu5bkhNjfu7ON4ef/8sjf4ffK+qg6kq7VacOpAi3GD2iZU+5xSayln nqow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="AL+/aUvu"; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-200659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e07194si1523858a12.347.2024.06.04.06.00.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 06:00:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="AL+/aUvu"; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-200659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5AA3E2814B1 for ; Tue, 4 Jun 2024 13:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5AAE145FEA; Tue, 4 Jun 2024 13:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="AL+/aUvu" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 012BC883D; Tue, 4 Jun 2024 13:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717506037; cv=none; b=RWars6z1LZEUjxUFP8tXx8tmDFfz8wJ1n4Gh9qbXR7oBTQUsvN+Vkc5Vx5Xea4ZyqeteqIgVzsk1LEr2tb59f6rvUCSI6NGScbGPGKsyRncTGYW8hkqUFQgLMq1OrOV164VT+roy5JG3KFHtnaLIzXwLm3xQFs8Vzh5tQKZw7o8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717506037; c=relaxed/simple; bh=G3AFkYKKYY7EUOWjH0ZVjWeFzMlaD3fjnmcDQXWxiBQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fgiT+Kzilp1vox7ukKckulq7m4gO7b5+ApEylWklfby74ZTiMS/QRVQwuk8BIGmUzjs9VtAetQglI18auK26wTbl266FsJ7t3AEj1v58XyeQmeQ9TZYktMKoXaBTquw5zmpfz2TErhZ4su36Wox7RAHQ5/HNP3k4r0dG4CruC/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=AL+/aUvu; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=VYGAhEZXo4j05kuFZF8FnMoIkV4KZnSZ9FtBHcoN+Ac=; b=AL+/aUvuWupEyBwdHnY8nzUQ+3 Cjn5vjwIztEJfLbirR6mbTwBIaQcmQUlSJyhpuSgTC0Z4FDfAWXFN9BBikNp2VOamqPtuwf+4GlxA UA1yAGkyBK9Am1v7xEw3iophg79XBiJIi6yKSVaV3RLJnebywhHlHByovpcbOmfqEmFw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sETm0-00GnrY-TE; Tue, 04 Jun 2024 15:00:20 +0200 Date: Tue, 4 Jun 2024 15:00:20 +0200 From: Andrew Lunn To: Yojana Mallik Cc: schnelle@linux.ibm.com, wsa+renesas@sang-engineering.com, diogo.ivo@siemens.com, rdunlap@infradead.org, horms@kernel.org, vigneshr@ti.com, rogerq@ti.com, danishanwar@ti.com, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, srk@ti.com, rogerq@kernel.org, Siddharth Vadapalli Subject: Re: [PATCH net-next v2 2/3] net: ethernet: ti: Register the RPMsg driver as network device Message-ID: References: <20240531064006.1223417-1-y-mallik@ti.com> <20240531064006.1223417-3-y-mallik@ti.com> <4416ada7-399b-4ea0-88b0-32ca432d777b@lunn.ch> <2d65aa06-cadd-4462-b8b9-50c9127e6a30@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d65aa06-cadd-4462-b8b9-50c9127e6a30@ti.com> > > Also, why SET_MAC_ADDR? It would be good to document where the MAC > > address are coming from. And what address this is setting. > > > > The interface which is controlled by Linux and interacting with the R5 core is > assigned mac address 00:00:00:00:00:00 by default. To ensure reliable > communication and compliance with network standards a different MAC address is > set for this interface using icve_set_mac_address. So this is the peer telling the Linux machine what MAC address to use? As i said, it is not clear what direction this message is flowing. Or even if it can be used the other way around. Can Linux tell the peer what address it should use? Also, what is the big picture here. Is this purely a point to point link? There is no intention that one or both ends could bridge packets to another network? Does this link always carrier IP? If so, why do you need the Ethernet header? Why not just do the same as SLIP, PPP, other point to point network protocols. Andrew