summaryrefslogtreecommitdiffstats
path: root/samples/trace_events
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-04-28 09:29:42 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-28 12:44:39 -0700
commitfa236e18047ec178b07fdf3f24f286eef1797842 (patch)
tree75b7222d666c5d7d71c153503d1ce6890e901e1f /samples/trace_events
parent3a595102d4298a357d70aaf1d47ae86d92708ea9 (diff)
downloadtalos-op-linux-fa236e18047ec178b07fdf3f24f286eef1797842.tar.gz
talos-op-linux-fa236e18047ec178b07fdf3f24f286eef1797842.zip
sfc: Break NAPI processing after one ring-full of TX completions
Currently TX completions do not count towards the NAPI budget. This means a continuous stream of TX completions can cause the polling function to loop indefinitely with scheduling disabled. To avoid this, follow the common practice of reporting the budget spent after processing one ring-full of TX completions. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud