-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ixgbe: Add support for Double VLAN mode
There is no practical limit on number of stacked vlans in Linux which means multiple VLAN headers could be present in Ethernet frames. However it is less common to have stacking depth more than two which is known as 802.1ad or QinQ protocols. By default driver provides hardware offloading only for one VLAN header: it supports filtering by vlan id (vid), strip on receive, insert on transmit; as well as skipping header to provide offload for next protocol. In case of stacked vlans next protocol is also VLAN which is in turn isn't known to hardware without additional configuration. That means hardware does not provide any additional offload like receive hash calculation, direction to specific receive queue etc. Last one means that RSS does not work for packets with multiple VLAN headers. Hardware supports double vlans when configured in specific mode called Global Double VLAN in "Intel(R) 82599 10 GbE Controller Datasheet". With this change we implement support for this mode in ixgbe driver. Signed-off-by: Serhey Popovych <[email protected]>
- Loading branch information
1 parent
0b42877
commit 85831b0
Showing
9 changed files
with
444 additions
and
45 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
Oops, something went wrong.