diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-12-03 01:16:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 19:15:42 +0100 |
commit | 03ccc4c0a9dac4b94f4e07cd0b7a9a1cb142ed36 (patch) | |
tree | f302a920e36529d64e683217c9194e78f689cad4 /drivers | |
parent | fib_trie: Fix /proc/net/fib_trie when CONFIG_IP_MULTIPLE_TABLES is not defined (diff) | |
download | linux-03ccc4c0a9dac4b94f4e07cd0b7a9a1cb142ed36.tar.xz linux-03ccc4c0a9dac4b94f4e07cd0b7a9a1cb142ed36.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-desc.c b/drivers/net/ethernet/amd/xgbe/xgbe-desc.c index 6fc5da01437d..43b7d2e948f7 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-desc.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-desc.c @@ -356,7 +356,6 @@ static void xgbe_unmap_skb(struct xgbe_prv_data *pdata, rdata->tso_header = 0; rdata->len = 0; - rdata->interrupt = 0; rdata->mapped_as_page = 0; if (rdata->state_saved) { |