IB/providers: Avoid zero GID check for RoCE
authorParav Pandit <parav@mellanox.com>
Sun, 1 Apr 2018 12:08:22 +0000 (15:08 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Apr 2018 03:33:51 +0000 (21:33 -0600)
commit14169e333e712e3640a6e4b1a81239ce952e3fcf
treebd985388327eda2423098f336421b67424788df6
parent598ff6bae689453aa894bc38f3f1bb78eb131a61
IB/providers: Avoid zero GID check for RoCE

Now that the IB core GID cache ensures that a zero GID doesn't exist in
the GID table remove zero GID checks from the provider drivers for
clarity.

Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/qp.c
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/qedr/qedr_roce_cm.c
drivers/infiniband/hw/qedr/verbs.c