diff options
| author | Faizal Rahim <faizal.abdul.rahim@linux.intel.com> | 2025-03-17 23:07:34 -0400 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-04-18 08:43:10 -0700 |
| commit | 425d8d9cb092fdd38e139dc6c104cade85896ba4 (patch) | |
| tree | 5cff61c0073f79421b10c8411e5ff0bdf7e6eec8 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 67287d67bebdd6de3ba7e60f20b08fb62a360a01 (diff) | |
igc: use FIELD_PREP and GENMASK for existing TX packet buffer size
In preparation for an upcoming patch that will modify the TX buffer size
in TSN mode, replace IGC_TXPBSIZE_TSN and IGC_TXPBSIZE_DEFAULT
implementation with new macros that utilizes FIELD_PREP and GENMASK for
clarity.
The newly introduced macros follow the naming from the i226 SW User Manual
for easy reference.
I've tested IGC_TXPBSIZE_TSN and IGC_TXPBSIZE_DEFAULT before and after the
refactoring, and their values remain unchanged.
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Faizal Rahim <faizal.abdul.rahim@linux.intel.com>
Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
