net/mlx5_core: Clear doorbell record inside mlx5_db_alloc()
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 2 Apr 2015 14:07:23 +0000 (17:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:33:41 +0000 (16:33 -0400)
commitb812b5441e359adb9bd44108f7f91e5b0ba4a768
tree197ac2eb4755eaad7c0b1de118a1f97eaf1a5fb9
parent9ef9baa2acda077f3831f6e7cdf751bc8691f78f
net/mlx5_core: Clear doorbell record inside mlx5_db_alloc()

Do it in one place instead of every where the function is invoked

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/mlx5/srq.c
drivers/net/ethernet/mellanox/mlx5/core/alloc.c