git: 124b7722aad7 - main - igc: Remove unused register IGC_RXD_SPC_VLAN_MASK
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Feb 2025 18:26:49 UTC
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=124b7722aad7d4cf12d96c030659aef78175aa9c commit 124b7722aad7d4cf12d96c030659aef78175aa9c Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2025-02-13 18:22:50 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2025-02-13 18:26:35 +0000 igc: Remove unused register IGC_RXD_SPC_VLAN_MASK We don't use legacy receive descriptors and masking out the vlan ID isn't necessary since the tag is in the standard format, so remove it. MFC after: 3 days --- sys/dev/igc/igc_defines.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/igc/igc_defines.h b/sys/dev/igc/igc_defines.h index e9ebd23c41c3..09f75fe2787e 100644 --- a/sys/dev/igc/igc_defines.h +++ b/sys/dev/igc/igc_defines.h @@ -96,7 +96,6 @@ #define IGC_RXD_ERR_TCPE 0x20 /* TCP/UDP Checksum Error */ #define IGC_RXD_ERR_IPE 0x40 /* IP Checksum Error */ #define IGC_RXD_ERR_RXE 0x80 /* Rx Data Error */ -#define IGC_RXD_SPC_VLAN_MASK 0x0FFF /* VLAN ID is in lower 12 bits */ #define IGC_RXDEXT_STATERR_TST 0x00000100 /* Time Stamp taken */ #define IGC_RXDEXT_STATERR_LB 0x00040000