From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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 6BA0D1DB361 for ; Fri, 24 Jan 2025 23:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737760863; cv=none; b=HcEEngLp2MvzDtHSZpLTknNQiVbXutBuJ2Pw1eS+NCnlMaWrnV1H2ryNFm6YMztzKX8VJT60XsoMkYMSLgnCAVcF8qLIHj8repHxYCFwiJcZh47O7UFZbiHZBYb38h7YCUpf3e3wizPadgOZf0mhGSJWjsRO1FWBOajbB8fCLHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737760863; c=relaxed/simple; bh=8lx8vgHE1m6Y5baU2XpMoUndgpmc9nAWajXS/JsK2e0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fkxRW6MKBO7np19dOB62cMnIa1Y4eup+vfxlYpWP5MSL8MFUYB2Q2WHYsBAY+LWTlPwJRbu8enA53jq019tTR6Xle+UK96E/mTigxBVSkW6vu1G5bm6NvQSrs26ig8jaOv/spwlW1x4CAzSaZISc+kEjnrYzpCUMhXpo98gxNN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=cwH55OIm; arc=none smtp.client-ip=209.85.166.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="cwH55OIm" Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-844e9b83aaaso202434539f.3 for ; Fri, 24 Jan 2025 15:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1737760860; x=1738365660; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=H7/eMVpXx+68IbocBkX45wzxl6Oa4llA1O2i3334KXs=; b=cwH55OImNlayLgk0OlzeR13avNMqwJ3qAD3stRXcX6zdvr5za4qtLjI9Zx6jY+UERF KSpH6r7m3YXhYlGN9fR8Svo4a7FPaWoosfl07g/8g9WsFOtRbSAhoK4n2vb4uje7/NeU ztLtsXL/AGzQ0j5jQk7+VGvz0GiMloMkmilWo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737760860; x=1738365660; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H7/eMVpXx+68IbocBkX45wzxl6Oa4llA1O2i3334KXs=; b=M5F0VV1Q1NWctFSOtHTrkHM74Y74mYBBO8v2lkwYxOPRC1Qc6qYJPMgBTZnFzBXtQn vrnse45IW7MlVejfWMuDhrTpvsYnuOekpAAy4ShhxmDPmqNi02GQj6PuTg9VQtwmV6yh q+TTnKqVHLPlbjSVaVk3KE4oZjqR9LiZndVcNxt1pmEm07BWeJXH/IFjyUigYcEyue3H vSVIOeZv+pOulx5hnoiq4nh/iaeOzSE95/QoJsUjbhnN4N/IfaWzt6//UscZWBQOSvQn +OYaPqsoi7doRiLCopXg0xef9hp6QtR47G/VejOLkYB+5VVDTLhhVEuSuooNi6Tg44n/ Pdjg== X-Forwarded-Encrypted: i=1; AJvYcCWa+ecCO27HNJ0ks/0KB5nEiqRb8iRjTNsA8VYatoDzyWjAc8w+REO7YM26LOE/oBScUvSPYRU=@vger.kernel.org X-Gm-Message-State: AOJu0YzWLwkn8/oHIbjFx5qhm8CB8AGFM4stNMMeVcxW0CaU/f8AcA7D yEKO1VUd20YOGxmlameaAdHbM6pAFBN33c74OubXBGNOKZpENnjtlrQ9UVHZtWU= X-Gm-Gg: ASbGncsB5/00kZQxEI6qWqyf2RhHLJzclcAbdBfCDmBhGe7dhB0SUoRVfqpBvBi+MHB 7oIFZ5lcon2/zJ760yBzze+8fZX5lwcaMK7hpinAF+muYex3S2ENCMWaVeP/gNvJOVPU60YMNAr zwTGzsEEk+trn+WRSol1HrIT60sQS8KX0vBgDyLVGUd9B7tEEg/iKZ2Sdfz6Jk5RRGe4EBc5pCU VbJWbZqbsb4ooZBa2/bL95H3vpCy9RDZ8CCQFhFyR1kcu8= X-Google-Smtp-Source: AGHT+IECMWc7yThU7l9WdvRzNr4eg6ummfBBXVEJMmSq56k2ixzMFXtpxeH39Pu9mIfQVrYnbtfDtg== X-Received: by 2002:a05:6602:6d13:b0:83a:9488:154c with SMTP id ca18e2360f4ac-851b619f80dmr3126811239f.3.1737760860423; Fri, 24 Jan 2025 15:21:00 -0800 (PST) Received: from LQ3V64L9R2 ([75.104.111.203]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-8521e01abb7sm97948739f.36.2025.01.24.15.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 15:20:59 -0800 (PST) Date: Fri, 24 Jan 2025 15:20:22 -0800 From: Joe Damato To: Basharath Hussain Khaja Cc: danishanwar@ti.com, rogerq@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, nm@ti.com, ssantosh@kernel.org, tony@atomide.com, richardcochran@gmail.com, parvathi@couthit.com, schnelle@linux.ibm.com, rdunlap@infradead.org, diogo.ivo@siemens.com, m-karicheri2@ti.com, horms@kernel.org, jacob.e.keller@intel.com, m-malladi@ti.com, javier.carrasco.cruz@gmail.com, afd@ti.com, s-anna@ti.com, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, pratheesh@ti.com, prajith@ti.com, vigneshr@ti.com, praneeth@ti.com, srk@ti.com, rogerq@ti.com, krishna@couthit.com, pmohan@couthit.com, mohan@couthit.com Subject: Re: [RFC v2 PATCH 04/10] net: ti: prueth: Adds link detection, RX and TX support. Message-ID: Mail-Followup-To: Joe Damato , Basharath Hussain Khaja , danishanwar@ti.com, rogerq@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, nm@ti.com, ssantosh@kernel.org, tony@atomide.com, richardcochran@gmail.com, parvathi@couthit.com, schnelle@linux.ibm.com, rdunlap@infradead.org, diogo.ivo@siemens.com, m-karicheri2@ti.com, horms@kernel.org, jacob.e.keller@intel.com, m-malladi@ti.com, javier.carrasco.cruz@gmail.com, afd@ti.com, s-anna@ti.com, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, pratheesh@ti.com, prajith@ti.com, vigneshr@ti.com, praneeth@ti.com, srk@ti.com, rogerq@ti.com, krishna@couthit.com, pmohan@couthit.com, mohan@couthit.com References: <20250124122353.1457174-1-basharath@couthit.com> <20250124134056.1459060-5-basharath@couthit.com> Precedence: bulk X-Mailing-List: netdev@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: <20250124134056.1459060-5-basharath@couthit.com> On Fri, Jan 24, 2025 at 07:10:50PM +0530, Basharath Hussain Khaja wrote: > From: Roger Quadros > > Changes corresponding to link configuration such as speed and duplexity. > IRQ and handler initializations are performed for packet reception.Firmware > receives the packet from the wire and stores it into OCMC queue. Next, it > notifies the CPU via interrupt. Upon receiving the interrupt CPU will > service the IRQ and packet will be processed by pushing the newly allocated > SKB to upper layers. > > When the user application want to transmit a packet, it will invoke > sys_send() which will inturn invoke the PRUETH driver, then it will write > the packet into OCMC queues. PRU firmware will pick up the packet and > transmit it on to the wire. > > Signed-off-by: Roger Quadros > Signed-off-by: Andrew F. Davis > Signed-off-by: Parvathi Pudi > Signed-off-by: Basharath Hussain Khaja > --- > drivers/net/ethernet/ti/icssm/icssm_prueth.c | 599 ++++++++++++++++++- > drivers/net/ethernet/ti/icssm/icssm_prueth.h | 46 ++ > 2 files changed, 640 insertions(+), 5 deletions(-) Looks like this patch was duplicated and posted twice ?