RDMA/irdma: Use net_type to check network type
authorZhu Yanjun <yanjun.zhu@linux.dev>
Wed, 23 Feb 2022 02:42:50 +0000 (21:42 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Feb 2022 00:38:56 +0000 (20:38 -0400)
commit80005c43d4c8f486fe594d89e640b3d24d6b3f4c
treef98828a2438cf67832db9efbc463a56f907738d5
parent6090a0c4c7c6156f267ee217f6577eecd610a652
RDMA/irdma: Use net_type to check network type

The member variable net_type is to check the type of network.

Link: https://lore.kernel.org/r/20220223024252.3873736-2-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/verbs.c