igc: Simplify setting flags in the TX data descriptor
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Fri, 22 Sep 2023 01:40:48 +0000 (18:40 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 13 Nov 2023 23:17:08 +0000 (15:17 -0800)
commitfbe567785968d5ef65e64df879c64e545ea1c984
treec16c3250465f4a9211b611d7a58fe383bd8523da
parent89cdf9d556016a54ff6ddd62324aa5ec790c05cc
igc: Simplify setting flags in the TX data descriptor

We can re-use the IGC_SET_FLAG() macro to simplify setting some values
in the TX data descriptor. With the macro it's easier to get the
meaning of the operations.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c