From: Paolo Abeni <pabeni@redhat.com>
To: Parvathi Pudi <parvathi@couthit.com>,
danishanwar@ti.com, rogerq@kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
nm@ti.com, ssantosh@kernel.org, tony@atomide.com,
richardcochran@gmail.com, glaroque@baylibre.com,
schnelle@linux.ibm.com, m-karicheri2@ti.com,
s.hauer@pengutronix.de, rdunlap@infradead.org,
diogo.ivo@siemens.com, basharath@couthit.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
Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@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: [PATCH net-next v7 04/11] net: ti: prueth: Adds link detection, RX and TX support.
Date: Tue, 6 May 2025 11:53:06 +0200 [thread overview]
Message-ID: <ce36ce0e-ad16-4950-b601-ae1a555f2cfb@redhat.com> (raw)
In-Reply-To: <20250503131139.1975016-5-parvathi@couthit.com>
On 5/3/25 3:11 PM, Parvathi Pudi wrote:
> +/**
> + * icssm_emac_rx_thread - EMAC Rx interrupt thread handler
> + * @irq: interrupt number
> + * @dev_id: pointer to net_device
> + *
> + * EMAC Rx Interrupt thread handler - function to process the rx frames in a
> + * irq thread function. There is only limited buffer at the ingress to
> + * queue the frames. As the frames are to be emptied as quickly as
> + * possible to avoid overflow, irq thread is necessary. Current implementation
> + * based on NAPI poll results in packet loss due to overflow at
> + * the ingress queues. Industrial use case requires loss free packet
> + * processing. Tests shows that with threaded irq based processing,
> + * no overflow happens when receiving at ~92Mbps for MTU sized frames and thus
> + * meet the requirement for industrial use case.
The above statement is highly suspicious. On an non idle system the
threaded irq can be delayed for an unbound amount of time. On an idle
system napi_poll should be invoked with a latency comparable - if not
less - to the threaded irq. Possibly you tripped on some H/W induced
latency to re-program the ISR?
In any case I think we need a better argumented statement to
intentionally avoid NAPI.
Cheers,
Paolo
next prev parent reply other threads:[~2025-05-06 11:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-03 12:10 [PATCH net-next v7 00/11] PRU-ICSSM Ethernet Driver Parvathi Pudi
2025-05-03 12:10 ` [PATCH net-next v7 01/11] dt-bindings: net: ti: Adds DUAL-EMAC mode support on PRU-ICSS2 for AM57xx, AM43xx and AM33xx SOCs Parvathi Pudi
2025-05-12 15:23 ` Rob Herring (Arm)
2025-05-03 12:10 ` [PATCH net-next v7 02/11] net: ti: prueth: Adds ICSSM Ethernet driver Parvathi Pudi
2025-05-03 12:10 ` [PATCH net-next v7 03/11] net: ti: prueth: Adds PRUETH HW and SW configuration Parvathi Pudi
2025-05-06 10:07 ` Paolo Abeni
2025-05-07 12:56 ` Parvathi Pudi
2025-05-03 13:11 ` [PATCH net-next v7 04/11] net: ti: prueth: Adds link detection, RX and TX support Parvathi Pudi
2025-05-06 9:53 ` Paolo Abeni [this message]
2025-05-09 10:21 ` Parvathi Pudi
2025-05-03 13:11 ` [PATCH net-next v7 05/11] net: ti: prueth: Adds ethtool support for ICSSM PRUETH Driver Parvathi Pudi
2025-05-03 13:11 ` [PATCH net-next v7 06/11] net: ti: prueth: Adds HW timestamping support for PTP using PRU-ICSS IEP module Parvathi Pudi
2025-05-03 13:11 ` [PATCH net-next v7 07/11] net: ti: prueth: Adds support for network filters for traffic control supported by PRU-ICSS Parvathi Pudi
2025-05-03 14:12 ` [PATCH net-next v7 08/11] net: ti: prueth: Adds support for RX interrupt coalescing/pacing Parvathi Pudi
2025-05-03 14:12 ` [PATCH net-next v7 09/11] net: ti: prueth: Adds power management support for PRU-ICSS Parvathi Pudi
2025-05-03 14:12 ` [PATCH net-next v7 10/11] net: ti: prueth: Adds support for PRUETH on AM33x and AM43x SOCs Parvathi Pudi
2025-05-03 14:12 ` [PATCH net-next v7 11/11] net: ti: prueth: Adds PTP OC Support for AM335x and AM437x Parvathi Pudi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce36ce0e-ad16-4950-b601-ae1a555f2cfb@redhat.com \
--to=pabeni@redhat.com \
--cc=afd@ti.com \
--cc=andrew+netdev@lunn.ch \
--cc=basharath@couthit.com \
--cc=conor+dt@kernel.org \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=diogo.ivo@siemens.com \
--cc=edumazet@google.com \
--cc=glaroque@baylibre.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=krishna@couthit.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m-karicheri2@ti.com \
--cc=m-malladi@ti.com \
--cc=mohan@couthit.com \
--cc=netdev@vger.kernel.org \
--cc=nm@ti.com \
--cc=parvathi@couthit.com \
--cc=pmohan@couthit.com \
--cc=prajith@ti.com \
--cc=praneeth@ti.com \
--cc=pratheesh@ti.com \
--cc=rdunlap@infradead.org \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=rogerq@ti.com \
--cc=s-anna@ti.com \
--cc=s.hauer@pengutronix.de \
--cc=schnelle@linux.ibm.com \
--cc=srk@ti.com \
--cc=ssantosh@kernel.org \
--cc=tony@atomide.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox