diff options
| author | françois romieu <romieu@fr.zoreil.com> | 2015-05-01 23:14:41 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-05-04 07:18:26 +0300 |
| commit | 8709bb2c1e902a64e257c740d301ba0d43065a1c (patch) | |
| tree | 680075a81b20e7647fd62d5157d46fbfe835745d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4d1fd9c1d89e5ca033c1e0cbd2838180c2e01f8b (diff) | |
| download | linux-8709bb2c1e902a64e257c740d301ba0d43065a1c.tar.xz | |
via-rhine: forbid holes in the receive descriptor ring.
Rationales:
- throttle work under memory pressure
- lower receive descriptor recycling latency for the network adapter
- lower the maintenance burden of uncommon paths
The patch is twofold:
- it fails early if the receive ring can't be completely initialized
at dev->open() time
- it drops packets on the floor in the napi receive handler so as to
keep the received ring full
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
