summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>2012-02-06 08:39:49 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-06 14:42:28 -0500
commit68355f71132bec25e0d89b2d8d3ed01286307d31 (patch)
tree3fc82e670f5946198fb2c657b9bf7c155f043440 /net/ax25
parent4c41b3673759d096106e68bce586f103c51d4119 (diff)
mlx4: allow device removal by fixing dma unmap size
After opening the network interface, Mellanox ConnectX device cannot be removed by hotplug because it has not properly unmapped all DMA memory. It happens that mlx4_en_activate_rx_rings overrides the variable that keeps the size of the memory mapped. This is fixed by passing to mlx4_en_destroy_rx_ring the same size that is given to mlx4_en_create_rx_ring. After applying this patch, hot unplugging the device works after opening the interface. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions