summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2019-10-22 16:31:41 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-12-31 11:17:25 -0800
commit6506f52dcbf8c2afca47bd7a48c18459e1f04f86 (patch)
tree184804277d99cd4b52e5135f39d28fa24aa5b6c0 /tools/perf/scripts/python/exported-sql-viewer.py
parent9e860947d8d7a1504476ac49abfce90a4ce600f3 (diff)
igb: dont drop packets if rx flow control is enabled
If Rx flow control has been enabled (via autoneg or forced), packets should not be dropped due to Rx descriptor ring exhaustion. Instead pause frames should be used to apply back pressure. This only applies if VFs are not in use. Move SRRCTL setup to its own function for easy reuse and only set drop enable bit if Rx flow control is not enabled. Since v1: always enable dropping of packets if VFs in use. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions