-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dwc_eqos - fix transmitted vlan tags (#40)
All transmitted VLAN tags were 0. We weren't setting the VlanInput flag, so when inserting VLAN tags, the adapter was using a global value (0) instead of the value from the descriptor ring. Fix. - Set the VlanInput flag so that inserted VLAN tags are taken from context descriptor. - Add a VLAN ID configuration setting. This is a semi-standard tag, and I couldn't find great details on how it is supposed to work. At present, it just controls the default VLAN tag to use when transmitting. I think some adapters also use it to filter received packets, but I don't think that's a good idea for this driver since NetAdapterCx doesn't support OID_GEN_VLAN_ID. - Update Tx path to handle a default VLAN tag. Ended up cleaning things up a bit so the result is shorter.
- Loading branch information
Showing
5 changed files
with
70 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters