From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 5C7C31607B4 for ; Fri, 24 Jan 2025 23:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737760864; cv=none; b=N+B1XioI4wo7lZqXATVoXRYwdr8hKJPWihWCMRtzaWRZBYQBDVec2yh4z8yudunbvmfMZhnJ/+O2SCPqlBcr8q7NDvpWYpdMDFGKmkuiw8jrpYwJLV5ceZUpIZuhIpJWwJnKbEZ7zbFw8iEIfkN9TEu3I65oyynJdHf3u7YTans= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737760864; 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=foUa6IDU/lzcjmIMccPtBv7V3r/dDL1XQ/9JN4jsZNLcz8KuaGC0qUACU9LQKfs8qr5TQF9IIq398+P7SsF8EUaTGnYdmMht3a9ZB8+kMw6oTR7LZCc6ppp1kVOdrABtKxInr3NL5PxlmBBx4NayxbmuCFVvYKvKKlUuF+VEIlY= 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.54 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-f54.google.com with SMTP id ca18e2360f4ac-844e9b83aaaso202434839f.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=FDBUtYhdJAJQkb+SSm+1wa3evtxbvqJhg9bZeGCZo9o+IQkZh8GT4sEtWZP9ItGC2I e7PHyekuX19MZn6ZLaQvoXwu2Acj9AX6U7Yj3JEU8Tfo3AXnLtHdtVawP/S5ZHxHkuqw CSWDIClyh2MlKozZwhYjuNdXRsDW3bqDYgnU0Rk8BPb3jjC/HLuOqu/dBC4cuvRPlIAf o+DI0+PQ4hmAzuOc1dhlUIbnAT/beOS2gDZPjKMhj4Y3VWRnCmQI8dMpz0eG+M0WnXGS UZ8hequI72Bwn6DKZNdYgs5Kmw6emDrrF9zukDWLFRugYbtwdFyAKLBy2+X7DBvd4sVn v17g== X-Forwarded-Encrypted: i=1; AJvYcCUGoiBBSOMoKu5yMlZq7FANpYKxsjIluesrZRJP3OGL6gpZxSX0jipyovHP9DsUUEQZbn5psa5Nsgdu0x8=@vger.kernel.org X-Gm-Message-State: AOJu0Yz2rQWX9gfNl+9X8dkvswxP47NaxPAwaaYg4lnsWqQdM7RL92my v9BUIOMT+1FWEH8mcE68EcaUHlY/mBfOru7fThvDufbwZR7yw1Yo8smhJhgHB0g= X-Gm-Gg: ASbGnctlAUQcLPWgMdgTt64QaNPwHKia2v6OKuEcn4MZ3vvtM1vSiQ5DiVGtAlRByYk pvZZRUqkxh1uKFfGJhIEfg/JyARW2lpWAKGYzjsEzzr7LwqhMWjcpW+uiI5fefHUAsUM+WUcCW9 02vtZVDNL87+f1BRQIPCfk3OoWjQ8uwHkOhC+mrrGZf1TiAa14dfaIf9cr4YGBtA0SqPMyb55l+ EK3TC72vWT+55fsgzbP6AfrYsv/E5onhHSAc1B/NadLah8= 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: 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: <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 ?