[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240815164924.6312eb47@kernel.org>
Date: Thu, 15 Aug 2024 16:49:24 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Allen <allen.lkml@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
jes@...ined-monkey.org, kda@...ux-powerpc.org, cai.huoqing@...ux.dev,
dougmill@...ux.ibm.com, npiggin@...il.com, christophe.leroy@...roup.eu,
aneesh.kumar@...nel.org, naveen.n.rao@...ux.ibm.com, nnac123@...ux.ibm.com,
tlfalcon@...ux.ibm.com, cooldavid@...ldavid.org, marcin.s.wojtas@...il.com,
mlindner@...vell.com, stephen@...workplumber.org, nbd@....name,
sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com, lorenzo@...nel.org,
matthias.bgg@...il.com, angelogioacchino.delregno@...labora.com,
borisp@...dia.com, bryan.whitehead@...rochip.com,
UNGLinuxDriver@...rochip.com, louis.peens@...igine.com,
richardcochran@...il.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-acenic@...site.dk,
linux-net-drivers@....com, netdev@...r.kernel.org, Sunil Goutham
<sgoutham@...vell.com>
Subject: Re: [net-next v3 05/15] net: cavium/liquidio: Convert tasklet API
to new bottom half workqueue mechanism
On Thu, 15 Aug 2024 09:45:43 -0700 Allen wrote:
> > Hm. Let me give you an example of what I was hoping to see for this
> > patch (in addition to your explanation of the API difference):
> >
> > The conversion for oct_priv->droq_bh_work should be safe. While
> > the work is per adapter, the callback (octeon_droq_bh()) walks all
> > queues, and for each queue checks whether the oct->io_qmask.oq mask
> > has a bit set. In case of spurious scheduling of the work - none of
> > the bits should be set, making the callback a noop.
>
> Thank you. Really appreciate your patience and help.
>
> Would you prefer a new series/or update this patch with this
> additional info and resend it.
Just thinking from the perspective of getting the conversions merged,
could you send out the drivers/net/ethernet conversions which don't
include use of enable_and_queue_work() first? Those should be quick
to review and marge. And then separately if you could send the rest
with updated commit messages for each case that would be splendid
Powered by blists - more mailing lists