On 19/05/2025 10:19, Abdul Rahim, Faizal wrote:
From: Faizal Rahim <[email protected]>
Refactor TXDCTL macro handling to use FIELD_PREP and GENMASK macros.
This prepares the code for adding a new TXDCTL priority field in an
upcoming patch.
Verified that the macro values remain unchanged before and after
refactoring.
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Faizal Rahim <[email protected]>
---
drivers/net/ethernet/intel/igc/igc.h | 15 ++++++++++-----
drivers/net/ethernet/intel/igc/igc_main.c | 6 ++----
2 files changed, 12 insertions(+), 9 deletions(-)
Tested-by: Mor Bar-Gabay <[email protected]>