Messages in this thread | | | Subject | Re: [RFC PATCH 3/5] ixgbe: Add support for ndo_ll_poll | From | Eric Dumazet <> | Date | Tue, 05 Mar 2013 09:36:52 -0800 |
| |
On Tue, 2013-03-05 at 17:28 +0000, Ben Hutchings wrote: > On Tue, 2013-03-05 at 17:26 +0000, Ben Hutchings wrote: > > On Wed, 2013-02-27 at 09:56 -0800, Eliezer Tamir wrote: > > > Add the ixgbe driver code implementing ndo_ll_poll. > > > It should be easy for other drivers to do something similar > > > in order to enable support for CONFIG_INET_LL_RX_POLL > > > > Yes... in fact I wonder whether the lock and state couldn't be added to > > napi_struct instead of being driver-specific. > [...] > > That would potentially allow GRO to detect that it's being called in > low-latency context...
Not sure we have to add another test in fast path.
Users wanting polling support should disable GRO (ethtool -K eth0 gro off)
Doing this dynamically would be nice of course.
| |