diff options
author | 2025-03-17 23:07:34 -0400 | |
---|---|---|
committer | 2025-04-18 08:43:10 -0700 | |
commit | 425d8d9cb092fdd38e139dc6c104cade85896ba4 (patch) | |
tree | 5cff61c0073f79421b10c8411e5ff0bdf7e6eec8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igc: rename I225_RXPBSIZE_DEFAULT and I225_TXPBSIZE_DEFAULT (diff) | |
download | wireguard-linux-425d8d9cb092fdd38e139dc6c104cade85896ba4.tar.xz wireguard-linux-425d8d9cb092fdd38e139dc6c104cade85896ba4.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions