| .. | .. |
|---|
| 166 | 166 | [37] = "sl to vl mapping table change event support", |
|---|
| 167 | 167 | [38] = "user MAC support", |
|---|
| 168 | 168 | [39] = "Report driver version to FW support", |
|---|
| 169 | + [40] = "SW CQ initialization support", |
|---|
| 169 | 170 | }; |
|---|
| 170 | 171 | int i; |
|---|
| 171 | 172 | |
|---|
| .. | .. |
|---|
| 1101 | 1102 | dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FSM; |
|---|
| 1102 | 1103 | if (field32 & (1 << 21)) |
|---|
| 1103 | 1104 | 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; |
|---|
| 1104 | 1107 | |
|---|
| 1105 | 1108 | for (i = 1; i <= dev_cap->num_ports; i++) { |
|---|
| 1106 | 1109 | err = mlx4_QUERY_PORT(dev, i, dev_cap->port_cap + i); |
|---|