From: Meghana Malladi <m-malladi@ti.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: <namcao@linutronix.de>, <jacob.e.keller@intel.com>,
<christian.koenig@amd.com>, <sumit.semwal@linaro.org>,
<sdf@fomichev.me>, <john.fastabend@gmail.com>, <hawk@kernel.org>,
<daniel@iogearbox.net>, <ast@kernel.org>, <pabeni@redhat.com>,
<edumazet@google.com>, <davem@davemloft.net>,
<andrew+netdev@lunn.ch>, <linaro-mm-sig@lists.linaro.org>,
<dri-devel@lists.freedesktop.org>, <linux-media@vger.kernel.org>,
<bpf@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<netdev@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,
<srk@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Roger Quadros <rogerq@kernel.org>, <danishanwar@ti.com>
Subject: Re: [PATCH net-next 5/6] net: ti: icssg-prueth: Add AF_XDP zero copy for RX
Date: Thu, 21 Aug 2025 16:18:07 +0530 [thread overview]
Message-ID: <d2015724-416b-4222-aa85-88c0c5f9160c@ti.com> (raw)
In-Reply-To: <20250819073558.2c996b6d@kernel.org>
Hi Jakub,
On 8/19/25 20:05, Jakub Kicinski wrote:
> On Mon, 18 Aug 2025 16:54:23 +0530 Meghana Malladi wrote:
>> @@ -1332,6 +1350,13 @@ static int prueth_xsk_wakeup(struct net_device *ndev, u32 qid, u32 flags)
>> }
>> }
>>
>> + if (flags & XDP_WAKEUP_RX) {
>> + if (!napi_if_scheduled_mark_missed(&emac->napi_rx)) {
>> + if (likely(napi_schedule_prep(&emac->napi_rx)))
>> + __napi_schedule(&emac->napi_rx);
>> + }
>> + }
>> +
>> return 0;
>
> I suspect this series is generated against old source or there's
> another conflicting series in flight, because git ends up applying
> this chunk to prueth_xsk_pool_disable() :S
>
That's interesting. I have directly applied these patches locally on the
tip of net-next (62a2b3502573 "net: openvswitch: Use for_each_cpu()
where appropriate") And everything gets applied cleanly and I couldn't
reproduce the issue you mentioned above. Can you tell me on top of which
commit you tried applying this series ? Or I wonder if this happened
because I posted this series from my net tree instead of net-next. Does
it make sense to re-post the same patches from net-next tree ?
> Before you proceed with AF_XDP could you make this driver build under
> COMPILE_TEST on x86? This is very easy to miss, luckily we got an off
> list report but its pure luck. And obviously much more effort for the
> maintainers to investigate than if it was caught by the CI.
I have tried what you have suggested and these are the logs for the
same:
https://gist.github.com/MeghanaMalladiTI/8a3f64773d96e58aec48aca78c1bc98c
ICSSG driver as a module has been compiled without any errors but
encountered few linking errors due to some missing symbols from another
module (CONFIG_TI_K3_UDMA). I included this module in the next iteration
and tried compiling but facing some build failures, logs:
https://gist.github.com/MeghanaMalladiTI/f7ed3958b5ab2b2be479151254015ff0
I think it is safe to assume ICSSG as a driver build on x86 doesn't have
build regressions, thoughts ? Also is this something which needs to be
done by us everytime we are posting some feature upstream or does Kernel
CI take care of it ?
next prev parent reply other threads:[~2025-08-21 10:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-18 11:24 [PATCH net-next 0/6] net: ti: icssg-prueth: Add AF_XDP zero copy support Meghana Malladi
2025-08-18 11:24 ` [PATCH net-next 1/6] net: ti: icssg-prueth: Add functions to create and destroy Rx/Tx queues Meghana Malladi
2025-08-18 11:24 ` [PATCH net-next 2/6] net: ti: icssg-prueth: Add XSK pool helpers Meghana Malladi
2025-08-18 11:24 ` [PATCH net-next 3/6] net: ti: icssg-prueth: Add AF_XDP zero copy for TX Meghana Malladi
2025-08-18 11:24 ` [PATCH net-next 4/6] net: ti: icssg-prueth: Make emac_run_xdp function independent of page Meghana Malladi
2025-08-18 11:24 ` [PATCH net-next 5/6] net: ti: icssg-prueth: Add AF_XDP zero copy for RX Meghana Malladi
2025-08-19 14:35 ` Jakub Kicinski
2025-08-21 10:48 ` Meghana Malladi [this message]
2025-08-18 11:24 ` [PATCH net-next 6/6] net: ti: icssg-prueth: Enable zero copy in XDP features Meghana Malladi
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=d2015724-416b-4222-aa85-88c0c5f9160c@ti.com \
--to=m-malladi@ti.com \
--cc=andrew+netdev@lunn.ch \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=christian.koenig@amd.com \
--cc=daniel@iogearbox.net \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=edumazet@google.com \
--cc=hawk@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=namcao@linutronix.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rogerq@kernel.org \
--cc=sdf@fomichev.me \
--cc=srk@ti.com \
--cc=sumit.semwal@linaro.org \
--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
all inboxes | Powered by JetHome®