]> 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)
commita1820b20f2504d0b3c0e6b459389f778954cd1cc
treeb5f957037b45bffc10c0e33618c271e0621d07c1
parent233a391181aa17289ec1ac4e8ba82d900d3f6cc6
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