]> git.openfabrics.org - ~emulex/infiniband.git/commit
amd-xgbe: VLAN Tx tag insertion fix
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 24 Jun 2014 21:19:12 +0000 (16:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jun 2014 00:14:03 +0000 (17:14 -0700)
commit6e5eed042fcac4166874d25cf9fb89bee841eb26
tree73cf827b588bc990ba5558807b75ab7b671a026b
parentd0a8ba6cba0a05ce79df100a3d99502b94117d88
amd-xgbe: VLAN Tx tag insertion fix

The MAC_VLAN_Incl register (0x0060) must be set to indicate
that the VLAN tag to be inserted comes from a Tx context
descriptor and not the MAC_VLAN_Incl register.  Also, even
though it is the default, explicitly set the type of tag to
be inserted as a CTAG.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-common.h
drivers/net/ethernet/amd/xgbe/xgbe-dev.c