diff options
author | Haiyue Wang <haiyue.wang@intel.com> | 2021-03-31 10:08:35 +0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-04-23 09:03:56 -0700 |
commit | f995f95af626cb1867cbfc702d011a50c4ff9538 (patch) | |
tree | db0a50bc3a8118660b3be1912d777f15e80045ab /tools/perf/scripts/python/stackcollapse.py | |
parent | 1a0e880b028f97478dc689e2900b312741d0d772 (diff) |
iavf: change the flex-byte support number to macro definition
The maximum number (2) of flex-byte support is derived from ethtool
use-def data size (8 byte).
Change the magic number 2 to macro definition, and add the comment to
track the design thinking, so the code is clear and easily maintained.
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions