hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/net/ethernet/mellanox/mlx4/fw.c
....@@ -166,6 +166,7 @@
166166 [37] = "sl to vl mapping table change event support",
167167 [38] = "user MAC support",
168168 [39] = "Report driver version to FW support",
169
+ [40] = "SW CQ initialization support",
169170 };
170171 int i;
171172
....@@ -1101,6 +1102,8 @@
11011102 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FSM;
11021103 if (field32 & (1 << 21))
11031104 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_80_VFS;
1105
+ if (field32 & (1 << 23))
1106
+ dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_SW_CQ_INIT;
11041107
11051108 for (i = 1; i <= dev_cap->num_ports; i++) {
11061109 err = mlx4_QUERY_PORT(dev, i, dev_cap->port_cap + i);