kernel-fxtec-pro1x/drivers/net/ethernet/i825xx
Thomas Bogendoerfer 3f9d4e3c29 net: i82596: fix dma_alloc_attr for sni_82596
[ Upstream commit 61c1d33daf7b5146f44d4363b3322f8cda6a6c43 ]

Commit 7f683b9204 ("i825xx: switch to switch to dma_alloc_attrs")
switched dma allocation over to dma_alloc_attr, but didn't convert
the SNI part to request consistent DMA memory. This broke sni_82596
since driver doesn't do dma_cache_sync for performance reasons.
Fix this by using different DMA_ATTRs for lasi_82596 and sni_82596.

Fixes: 7f683b9204 ("i825xx: switch to switch to dma_alloc_attrs")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-29 09:19:41 +01:00
..
82596.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ether1.c net: i825xx: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
ether1.h
Kconfig
lasi_82596.c net: i82596: fix dma_alloc_attr for sni_82596 2019-10-29 09:19:41 +01:00
lib82596.c net: i82596: fix dma_alloc_attr for sni_82596 2019-10-29 09:19:41 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sni_82596.c net: i82596: fix dma_alloc_attr for sni_82596 2019-10-29 09:19:41 +01:00
sun3_82586.c net: i825xx: fix return type of ndo_start_xmit function 2018-09-21 19:15:15 -07:00
sun3_82586.h