linux/drivers/net/ethernet/hisilicon
Kejian Yan b85ea006b6 net: hns: Fix the device being used for dma mapping during TX
This patch fixes the device being used to DMA map skb->data.
Erroneous device assignment causes the crash when SMMU is enabled.
This happens during TX since buffer gets DMA mapped with device
correspondign to net_device and gets unmapped using the device
related to DSAF.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-10 13:40:30 -05:00
..
hns net: hns: Fix the device being used for dma mapping during TX 2017-02-10 13:40:30 -05:00
Kconfig net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00
Makefile net: hisilicon: Add Fast Ethernet MAC driver 2016-07-16 21:32:58 -07:00
hip04_eth.c net: ethernet: hip04: Call SET_NETDEV_DEV() 2016-12-16 13:29:35 -05:00
hisi_femac.c net: ethernet: hisi_femac: Call SET_NETDEV_DEV() 2016-12-16 13:29:35 -05:00
hix5hd2_gmac.c net: hix5hd2_gmac: fix compatible strings name 2016-12-20 14:12:29 -05:00
hns_mdio.c net: hisilicon: Fix hns_mdio module autoload for OF registration 2016-10-17 13:03:03 -04:00