Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp489186lqp; Wed, 12 Jun 2024 07:37:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJaGtfUbE39sVrgqZmHVRYeK8XTicTkcYWyI8apHuV+KJ/lNY1uurAaxhLXJqNDe0XO3dTOe/dml+TG2Qd4gRJthl1y7UnO/2yVTN9Lg== X-Google-Smtp-Source: AGHT+IG8V4Jhy6tHTV9q2KOnwdTiFpH5Af8M8a7Haixn/gUxWAdzentegU3HKUphYyPBysg+Lg23 X-Received: by 2002:a17:906:3b4c:b0:a6f:2227:5841 with SMTP id a640c23a62f3a-a6f47cbf186mr127115866b.37.1718203063292; Wed, 12 Jun 2024 07:37:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718203063; cv=pass; d=google.com; s=arc-20160816; b=knCU8d+6lUCYahUVXDI084KU3WwrlvpKgEjzIG+sbWhB7/kxDHVdvjnCLtYMNfpvlP FB8EMQ43x6wesycXJ2R9De2aNfOhHOY8BI9k4xEJzuJo69yXF+X8M0Xzdc3Ug3/5RWET qdyIyPSnaE+Zs6WjcW2hlT4zBPVtnK/S01EUj13rHZ4skw3jWSgcRsafIfEz7u3hCkoa od7t8XC+TTirpsjoEBxbsyWDRnwSL2ZJzc39FOhTDJslRY06oaTuJQbtVqF/aA4O+YGH lkVpYF2wuHvQHzUdWBR0pkMMtPiY1ZNYmvNS+HUJgeA0D4Mg6Jhie5TfUgvTmoaEDl+C jC6w== 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=YVsYJ12ebR82p9Eejxa6cR6b5LianMTSMrKus+1LFng=; fh=OpO66bnWYHp53S+QeqeBZynq7PiR9PUrW0G8UNcrFZ4=; b=FgYKQtS/eY7k+aGH5KKPAXuh6CJRZV8OCxRS4WXs6vkIzTi6rni2eSlpRwtds3U41N /USwtzK29cr9Zn92mNE2XasOMkgWzXtqsBH9/jQln+XIhQ5I2B9jhLZVA8isf7cfMbwO ajMFYUaAHu//ukRw9ZhLP0En0zZxDXqDW3rJvxWzaz7NQ+xG72ONinfSL6Rq+k9gsMb7 InH6HQnmqh6g8gZbl+LJjZWnyj/nbgHRAh9t21vPMytoO3eC184Xqp7bv+B+A4osvAEo 4h5h661WCtD3VeQ9E6pb6UNixvd5C3xWY1I0Vz811rf/A5dS/aQFPxqnuxfwBCi5dUY5 nRHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="relz/AJZ"; 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-211680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6e04e0689fsi542743466b.962.2024.06.12.07.37.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 07:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="relz/AJZ"; 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-211680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211680-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F27181F22463 for ; Wed, 12 Jun 2024 14:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E956717F39F; Wed, 12 Jun 2024 14:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="relz/AJZ" 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 9438A17F372; Wed, 12 Jun 2024 14:37:01 +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=1718203024; cv=none; b=GG1/hGHi7DE9eCi04QYUfaMtpimv8XsztsUot8JBnsLpPofrTFZL3g/Es2yhDEsAQWzDfa/9cT1yCF/hm4i5ETNHN0K2y0Fg0TdnGuJ+5ItcLrsWtIJh7pleDmWynjHCl0+O8GkIMvemtPRNrpHkLgkYFEYbfCDnfG3zGrEsBa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718203024; c=relaxed/simple; bh=/GOyvyNQXNdNU82UwWzJ6YR0BSG8PucB1SMnlHjVSTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DfY/9p7/Jmw5rB4BTvo+yB9Uj6S7wK+Dl+tjBwJ1TsvEDVNjp8APikABUgjRS6sPXcwFe47v5h9k2TvHhXNNMWSPdlWnHYCZ/eYSMNQaVKAvFtHsEjJl6R431EpnwPQWReerURYS9sugcZXzqhMz3jLXtXlF/R8aNlnKqxAKkMo= 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=relz/AJZ; 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=YVsYJ12ebR82p9Eejxa6cR6b5LianMTSMrKus+1LFng=; b=relz/AJZ0Y1VO7eBEkGBIsMdfE iQA1NfDxGwFlvEIRxoMOIHLfMrvz/2wvJKnRUIXpVPf3ZTHSY2oaWIeRXcB9FNff5UxVrgqMNnim1 TaF/2E9Csn+h2Mw705pdDHu2LPN7rzTZXHfL1jc9kwHjuLS6VVCtk3Ytszk7IHDPhaMo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sHP5X-00HToA-Lw; Wed, 12 Jun 2024 16:36:35 +0200 Date: Wed, 12 Jun 2024 16:36:35 +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: <8567cb7e-5398-4315-9574-0e8ff142d061@lunn.ch> 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: > No, RTOS the peer is not telling the Linux machine what MAC address to use. The > user can add a unicast mac address to the virtual network interface using the > following steps: > > Steps to add MAC Address > # Bring down the virtual port interface > $ ifconfig eth1 down > # Set MAC address for the virtual port interface, ex 01:02:03:04:05:06 > $ ifconfig eth1 hw ether 01:02:03:04:05:06 > # Bring the interface up > $ ifconfig eth1 up ifconfig is long deprecated, replaced by iproute2. Please don't use it for anything modern. > While adidng the mac address, ndo ops will call set_mac_address which will call > create_send_request which will create a request with command add mac address > and send a rpmsg to R5 core. The protocol documentation should be at a level that your can give it to somebody else and they can implement it, e.g. for a different OS. So please make the documentation clearer, what direction are these messages flowing. And make the protocol description OS agnostic. Andrew