diff options
| author | 2011-08-26 07:44:43 +0000 | |
|---|---|---|
| committer | 2011-10-06 23:17:50 -0700 | |
| commit | 8542db05dbc99f603889c349e5cf8f3f81cddbf5 (patch) | |
| tree | 8f2ea64f9db7b72cb5748a247ba50131a7264462 /tools/perf/scripts/python/netdev-times.py | |
| parent | igb: Consolidate creation of Tx context descriptors into a single function (diff) | |
igb: Make first and tx_buffer_info->next_to_watch into pointers
This change converts two tx_buffer_info index values into pointers. The
advantage to this is that we reduce unnecessary computations and in the case
of next_to_watch we get an added bonus of the value being able to provide
additional information as a NULL value indicates it is unset versus a 0 not
having any meaning for the index value.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
