Skip to content

Commit

Permalink
igc: Remove unused register IGC_RXD_SPC_VLAN_MASK
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 124b7722aad7d4cf12d96c030659aef78175aa9c)
  • Loading branch information
kev009 authored and fichtner committed Feb 18, 2025
1 parent a9d080a commit 2ff3730
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/dev/igc/igc_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ff3730

Please sign in to comment.