net: hns3: change default tc state to close
[linux-2.6-microblaze.git] / drivers / net / ethernet / hisilicon / hns3 / hns3pf / hclge_main.c
index a12cb14..0b04d04 100644 (file)
@@ -960,7 +960,7 @@ static int hclge_configure(struct hclge_dev *hdev)
                hdev->pfc_max = hdev->tc_max;
        }
 
-       hdev->tm_info.num_tc = hdev->tc_max;
+       hdev->tm_info.num_tc = 1;
 
        /* Currently not support uncontiuous tc */
        for (i = 0; i < hdev->tm_info.num_tc; i++)