]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
amd-xgbe: Do not clear interrupt indicator
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 3 Dec 2014 00:16:48 +0000 (18:16 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 18:15:42 +0000 (13:15 -0500)
commit03ccc4c0a9dac4b94f4e07cd0b7a9a1cb142ed36
treef302a920e36529d64e683217c9194e78f689cad4
parenta5a519b2710be43fce3cf9ce7bd8de8db3f2a9de
amd-xgbe: Do not clear interrupt indicator

The interrupt value within the xgbe_ring_data structure is used as an
indicator of which Rx descriptor should have the INTE bit set to
generate an interrupt when that Rx descriptor is used.  This bit was
mistakenly cleared in the xgbe_unmap_rdata function, effectively
nullifying the ethtool rx-frames support.

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