Skip to content

Commit 14ec06b

Browse files
Sasha NeftinJeff Kirsher
authored andcommitted
igc: Remove unused descriptor's flags
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>
1 parent 5c739e7 commit 14ec06b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/intel/igc/igc_defines.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,9 @@
265265
#define IGC_TXD_POPTS_IXSM 0x01 /* Insert IP checksum */
266266
#define IGC_TXD_POPTS_TXSM 0x02 /* Insert TCP/UDP checksum */
267267
#define IGC_TXD_CMD_EOP 0x01000000 /* End of Packet */
268-
#define IGC_TXD_CMD_IFCS 0x02000000 /* Insert FCS (Ethernet CRC) */
269268
#define IGC_TXD_CMD_IC 0x04000000 /* Insert Checksum */
270-
#define IGC_TXD_CMD_RS 0x08000000 /* Report Status */
271-
#define IGC_TXD_CMD_RPS 0x10000000 /* Report Packet Sent */
272269
#define IGC_TXD_CMD_DEXT 0x20000000 /* Desc extension (0 = legacy) */
273270
#define IGC_TXD_CMD_VLE 0x40000000 /* Add VLAN tag */
274-
#define IGC_TXD_CMD_IDE 0x80000000 /* Enable Tidv register */
275271
#define IGC_TXD_STAT_DD 0x00000001 /* Descriptor Done */
276272
#define IGC_TXD_STAT_EC 0x00000002 /* Excess Collisions */
277273
#define IGC_TXD_STAT_LC 0x00000004 /* Late Collisions */

0 commit comments

Comments
 (0)