On Fri, 24 Jul 2020 17:23:26 -0700 Shannon Nelson wrote: > Add the capability to split the Tx queues onto their own > interrupts with their own napi contexts. This gives the > opportunity for more direct control of Tx interrupt > handling, such as CPU affinity and interrupt coalescing, > useful for some traffic loads. > > To enable, use the ethtool private flag: > ethtool --set-priv-flag enp20s0 split-q-intr on > To restore defaults > ethtool --set-priv-flag enp20s0 split-q-intr off > > When enabled, the number of queues is cut in half in order > to reuse the interrupts that have already been allocated to > the device. When disabled, the queue count is restored. > > Signed-off-by: Shannon Nelson <snel...@pensando.io>
Splitting queues into tx-only and rx-only is done like this: ethtool -L enp20s0 rx N tx N combined 0 And then back to combined: ethtool -L enp20s0 rx 0 tx 0 combined N No need for a private flag here.