]> git.itanic.dy.fi Git - linux-stable/blobdiff - drivers/net/ethernet/intel/ice/ice_main.c
ice: config netdev tc before setting queues number
[linux-stable] / drivers / net / ethernet / intel / ice / ice_main.c
index 0b567e8e3674a5ed6a6211aa212c7ae26a280747..f963036571e05e61cfaaf35aac2541ee3a4e1429 100644 (file)
@@ -6836,6 +6836,8 @@ int ice_vsi_open(struct ice_vsi *vsi)
        if (err)
                goto err_setup_rx;
 
+       ice_vsi_cfg_netdev_tc(vsi, vsi->tc_cfg.ena_tc);
+
        if (vsi->type == ICE_VSI_PF) {
                /* Notify the stack of the actual queue counts. */
                err = netif_set_real_num_tx_queues(vsi->netdev, vsi->num_txq);