From: Kevin Hao <haokexin@gmail.com>
To: Meghana Malladi <m-malladi@ti.com>
Cc: netdev@vger.kernel.org, MD Danish Anwar <danishanwar@ti.com>,
Roger Quadros <rogerq@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Jacob Keller <jacob.e.keller@intel.com>,
Vadim Fedorenko <vadim.fedorenko@linux.dev>,
Himanshu Mittal <h-mittal1@ti.com>,
Simon Horman <horms@kernel.org>,
Byungchul Park <byungchul@sk.com>,
Markus Elfring <elfring@users.sourceforge.net>
Subject: Re: [EXTERNAL] [PATCH net-next 0/2] net: ti: icssg: Remove dedicated workqueue for ndo_set_rx_mode callback
Date: Wed, 4 Feb 2026 20:12:32 +0800 [thread overview]
Message-ID: <aYM3sP6LQU5jOPLE@pek-khao-d3> (raw)
In-Reply-To: <583feb00-09a8-4008-ae50-b6f3e3f990ba@ti.com>
[-- Attachment #1: Type: text/plain, Size: 3419 bytes --]
On Wed, Feb 04, 2026 at 04:44:21PM +0530, Meghana Malladi wrote:
> Hi Kevin,
>
> On 2/4/26 08:11, Kevin Hao wrote:
> > While addressing an issue in the cpsw driver, I based my fix on the
> > implementation of the emac_ndo_set_rx_mode() function in icssg. During
> > review, Jakub pointed out that the dedicated workqueue for the
> > ndo_set_rx_mode callback might be unnecessary.
> > ZjQcmQRYFpfptBannerStart
> > This message was sent from outside of Texas Instruments.
> > Do not click links or open attachments unless you recognize the source
> > of this email and know the content is safe.
> > Report Suspicious
> > <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!
> > uxdqXRfPtm1bKoXPFrvrtsCD2dIkXHVJwEzupcwg1k-qY0e_2PUuMdZgJf-
> > SUVShc4kuXcBnqQbeqGz1dHBW-_OSdROPAjSiNpSTmAhDg8nQbc8$>
> > ZjQcmQRYFpfptBannerEnd
> >
> > While addressing an issue in the cpsw driver, I based my fix on the
> > implementation of the emac_ndo_set_rx_mode() function in icssg. During review,
> > Jakub pointed out that the dedicated workqueue for the ndo_set_rx_mode
> > callback might be unnecessary. I subsequently used the system workqueue for
> > this purpose in the cpsw driver, and it performed as expected. Therefore,
> > I believe the same approach can be applied to the icssg driver. These two
> > patches aim to remove this dedicated workqueue for icssg drivers.
> >
>
> It would be more helpful, if you could provide link to the cpsw fix which
> you have mentioned above.
The fix for cpsw is available at:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=c0b5dc73a38f954e780f93a549b8fe225235c07a
Jakub's suggestion can be found here:
https://lore.kernel.org/all/20260127190836.6a420768@kernel.org/
I will also include this information in the v2 cover letter.
Thanks,
Kevin
>
> > Please note: I do not have access to a board that supports the CSSG PRU
> > Ethernet controller, so this change has only been build-tested.
> >
> > ---
> > Cc: MD Danish Anwar <danishanwar@ti.com>
> > Cc: Roger Quadros <rogerq@kernel.org>
> > Cc: Andrew Lunn <andrew+netdev@lunn.ch>
> > Cc: "David S. Miller" <davem@davemloft.net>
> > Cc: Eric Dumazet <edumazet@google.com>
> > Cc: Jakub Kicinski <kuba@kernel.org>
> > Cc: Paolo Abeni <pabeni@redhat.com>
> > Cc: Meghana Malladi <m-malladi@ti.com>
> > Cc: Jacob Keller <jacob.e.keller@intel.com>
> > Cc: Vadim Fedorenko <vadim.fedorenko@linux.dev>
> > Cc: Himanshu Mittal <h-mittal1@ti.com>
> > Cc: Simon Horman <horms@kernel.org>
> > Cc: Byungchul Park <byungchul@sk.com>
> > Cc: Markus Elfring <elfring@users.sourceforge.net>
> >
> > ---
> > Kevin Hao (2):
> > net: ti: icssg-prueth-sr1: Remove unused workqueue
> > net: ti: icssg-prueth: Use system default workqueue in ndo_set_rx_mode callback
> >
> > drivers/net/ethernet/ti/icssg/icssg_common.c | 1 -
> > drivers/net/ethernet/ti/icssg/icssg_prueth.c | 13 ++++---------
> > drivers/net/ethernet/ti/icssg/icssg_prueth.h | 1 -
> > drivers/net/ethernet/ti/icssg/icssg_prueth_sr1.c | 9 +--------
> > 4 files changed, 5 insertions(+), 19 deletions(-)
> > ---
> > base-commit: 5c009020744fe129e4728e71c44a6c7816c9105e
> > change-id: 20260203-icssg-prueth-workqueue-f460eba72132
> >
> > Best regards,
> > --
> > Kevin Hao <haokexin@gmail.com>
> >
>
> Thanks,
> Meghana
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-02-04 12:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 2:41 [PATCH net-next 0/2] net: ti: icssg: Remove dedicated workqueue for ndo_set_rx_mode callback Kevin Hao
2026-02-04 2:41 ` [PATCH net-next 1/2] net: ti: icssg-prueth-sr1: Remove unused workqueue Kevin Hao
2026-02-04 10:38 ` Markus Elfring
2026-02-04 12:08 ` Kevin Hao
2026-02-05 4:17 ` [net-next,1/2] " Jakub Kicinski
2026-02-05 4:19 ` Jakub Kicinski
2026-02-05 5:49 ` Kevin Hao
2026-02-04 2:41 ` [PATCH net-next 2/2] net: ti: icssg-prueth: Use system default workqueue in ndo_set_rx_mode callback Kevin Hao
2026-02-04 10:45 ` Markus Elfring
2026-02-04 12:10 ` Kevin Hao
2026-02-04 11:14 ` [EXTERNAL] [PATCH net-next 0/2] net: ti: icssg: Remove dedicated workqueue for " Meghana Malladi
2026-02-04 12:12 ` Kevin Hao [this message]
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=aYM3sP6LQU5jOPLE@pek-khao-d3 \
--to=haokexin@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=byungchul@sk.com \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=elfring@users.sourceforge.net \
--cc=h-mittal1@ti.com \
--cc=horms@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=m-malladi@ti.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rogerq@kernel.org \
--cc=vadim.fedorenko@linux.dev \
/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