On Wed, 01 Jun 2022 02:59:12 -0400 Olivier Langlois wrote: > > I'm not entirely clear how the thing is supposed to be used with TCP > > socket, as from a quick grep it appears that listening sockets don't > > get napi_id marked at all. > > > > The commit mentions a UDP benchmark, Olivier can you point me to more > > info on the use case? I'm mostly familiar with NAPI busy poll with > > XDP > > sockets, where it's pretty obvious. > > https://github.com/lano1106/io_uring_udp_ping > > IDK what else I can tell you. I choose to unit test the new feature > with an UDP app because it was the simplest setup for testing. AFAIK, > the ultimate goal of busy polling is to minimize latency in packets > reception and the NAPI busy polling code should not treat differently > packets whether they are UDP or TCP or whatever the type of frames the > NIC does receive... IDK how you use the busy polling, so I'm asking you to describe what your app does. You said elsewhere that you don't have dedicated thread per queue so it's not a server app (polling for requests) but a client app (polling for responses)?