|
@@ -6100,6 +6100,7 @@ static int i40e_configure_queue_channels(struct i40e_vsi *vsi)
|
|
|
int ret = 0, i;
|
|
|
|
|
|
/* Create app vsi with the TCs. Main VSI with TC0 is already set up */
|
|
|
+ vsi->tc_seid_map[0] = vsi->seid;
|
|
|
for (i = 1; i < I40E_MAX_TRAFFIC_CLASS; i++) {
|
|
|
if (vsi->tc_config.enabled_tc & BIT(i)) {
|
|
|
ch = kzalloc(sizeof(*ch), GFP_KERNEL);
|
|
@@ -6130,6 +6131,7 @@ static int i40e_configure_queue_channels(struct i40e_vsi *vsi)
|
|
|
i, ch->num_queue_pairs);
|
|
|
goto err_free;
|
|
|
}
|
|
|
+ vsi->tc_seid_map[i] = ch->seid;
|
|
|
}
|
|
|
}
|
|
|
return ret;
|