summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-05-17 09:14:34 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-07-15 01:18:29 +0400
commit15cbc70ea2b8a43ba3f0dc858299ed1c5b295b71 (patch)
tree4c69a0a8f7934059a8debbea49fabc2617cd9249 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent22a4cca2f4c2d60c703cdc42158c907570f508e6 (diff)
downloadlinux-15cbc70ea2b8a43ba3f0dc858299ed1c5b295b71.tar.xz
ixgbe: Simplify logic for getting traffic class from user priority
This patch is meant to help simplify the logic for getting traffic classes from user priorities. To do this I am adding a function named ixgbe_dcb_get_tc_from_up that will go through the traffic classes in reverse order in order to determine which traffic class contains a bit for a given user priority. Adding a declaration for this new function to the header so that we have a centralized means for sorting out traffic classes belonging to features such as FCoE. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions