diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
-rw-r--r-- | drivers/infiniband/hw/mlx4/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index d5512011999c..6ea4746c2e9b 100644 --- a/drivers/infiniband/hw/mlx4/main.c +++ b/drivers/infiniband/hw/mlx4/main.c | |||
@@ -99,6 +99,8 @@ static int mlx4_ib_query_device(struct ib_device *ibdev, | |||
99 | props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG; | 99 | props->device_cap_flags |= IB_DEVICE_AUTO_PATH_MIG; |
100 | if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_UD_AV_PORT) | 100 | if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_UD_AV_PORT) |
101 | props->device_cap_flags |= IB_DEVICE_UD_AV_PORT_ENFORCE; | 101 | props->device_cap_flags |= IB_DEVICE_UD_AV_PORT_ENFORCE; |
102 | if (dev->dev->caps.flags & MLX4_DEV_CAP_FLAG_IPOIB_CSUM) | ||
103 | props->device_cap_flags |= IB_DEVICE_UD_IP_CSUM; | ||
102 | 104 | ||
103 | props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & | 105 | props->vendor_id = be32_to_cpup((__be32 *) (out_mad->data + 36)) & |
104 | 0xffffff; | 106 | 0xffffff; |