Re: [RFC PATCH net-next 1/6] net: implement threaded-able napi poll loop support

2020-09-28 Thread Paolo Abeni
Hello, On Sat, 2020-09-26 at 16:22 +0200, Hannes Frederic Sowa wrote: > On Sat, Sep 26, 2020, at 01:50, Wei Wang wrote: > > I took a look at the current "threadirqs" implementation. From my > > understanding, the kthread used there is to handle irq from the > > driver, and needs driver-specific th

Re: [RFC PATCH net-next 1/6] net: implement threaded-able napi poll loop support

2020-09-26 Thread Hannes Frederic Sowa
Hello, On Sat, Sep 26, 2020, at 01:50, Wei Wang wrote: > On Fri, Sep 25, 2020 at 12:46 PM Hannes Frederic Sowa > wrote: > > The format string is only based on variable strings. To ease a quick > > grep for napi threads with ps I would propose to use "napi-%s-%d" or > > something alike to distingu

Re: [RFC PATCH net-next 1/6] net: implement threaded-able napi poll loop support

2020-09-25 Thread Hannes Frederic Sowa
Hello, Happy to see this work being resurrected (in case it is useful). :) On Mon, Sep 14, 2020, at 19:24, Wei Wang wrote: > > [...] > > +static void napi_thread_start(struct napi_struct *n) > +{ > + if (test_bit(NAPI_STATE_THREADED, &n->state) && !n->thread) > + n->thread = kthre