]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Cleanup FMR unmapping flow
authorTariq Toukan <tariqt@mellanox.com>
Thu, 28 Dec 2017 14:26:10 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 17:24:05 +0000 (12:24 -0500)
commitb777241716c6195186337146a1bf8e9916be9b7c
treeb5f957037b45bffc10c0e33618c271e0621d07c1
parent7a299ffbd6bf360d9969310e76fb2ef675fdc33a
net/mlx4_core: Cleanup FMR unmapping flow

Remove redundant and not essential operations in fmr unmap/free.
According to device spec, in FMR unmap it is sufficient to set
ownership bit to SW. This allows remapping afterwards.

Fixes: 1a2db7e8c3ae ("IB/mlx4: Implement FMRs")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mr.c