]> git.baikalelectronics.ru Git - kernel.git/commitdiff
igc: Remove unused descriptor's flags
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 4 May 2020 06:29:25 +0000 (09:29 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 23 May 2020 01:21:52 +0000 (18:21 -0700)
Enable Tidv register, Report Packet Sent, Report Status and
Ethernet CRC flags not in use.
This patch comes to clean up these flags.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_defines.h

index 45b567587ca9242b23ed39bf43723261fd409359..3d8d40d6fa3f3bf8f7b134d43ecd0cf28480f33a 100644 (file)
 #define IGC_TXD_POPTS_IXSM     0x01       /* Insert IP checksum */
 #define IGC_TXD_POPTS_TXSM     0x02       /* Insert TCP/UDP checksum */
 #define IGC_TXD_CMD_EOP                0x01000000 /* End of Packet */
-#define IGC_TXD_CMD_IFCS       0x02000000 /* Insert FCS (Ethernet CRC) */
 #define IGC_TXD_CMD_IC         0x04000000 /* Insert Checksum */
-#define IGC_TXD_CMD_RS         0x08000000 /* Report Status */
-#define IGC_TXD_CMD_RPS                0x10000000 /* Report Packet Sent */
 #define IGC_TXD_CMD_DEXT       0x20000000 /* Desc extension (0 = legacy) */
 #define IGC_TXD_CMD_VLE                0x40000000 /* Add VLAN tag */
-#define IGC_TXD_CMD_IDE                0x80000000 /* Enable Tidv register */
 #define IGC_TXD_STAT_DD                0x00000001 /* Descriptor Done */
 #define IGC_TXD_STAT_EC                0x00000002 /* Excess Collisions */
 #define IGC_TXD_STAT_LC                0x00000004 /* Late Collisions */