@@ -810,6 +810,11 @@ static const NLType rtnl_tca_option_data_pie_types[] = {
810810 [TCA_PIE_LIMIT ] = { .type = NETLINK_TYPE_U32 },
811811};
812812
813+ static const NLType rtnl_tca_option_data_qfq_types [] = {
814+ [TCA_QFQ_WEIGHT ] = { .type = NETLINK_TYPE_U32 },
815+ [TCA_QFQ_LMAX ] = { .type = NETLINK_TYPE_U32 },
816+ };
817+
813818static const NLType rtnl_tca_option_data_sfb_types [] = {
814819 [TCA_SFB_PARMS ] = { .size = sizeof (struct tc_sfb_qopt ) },
815820};
@@ -834,6 +839,7 @@ static const char* const nl_union_tca_option_data_table[] = {
834839 [NL_UNION_TCA_OPTION_DATA_HHF ] = "hhf" ,
835840 [NL_UNION_TCA_OPTION_DATA_HTB ] = "htb" ,
836841 [NL_UNION_TCA_OPTION_DATA_PIE ] = "pie" ,
842+ [NL_UNION_TCA_OPTION_DATA_QFQ ] = "qfq" ,
837843 [NL_UNION_TCA_OPTION_DATA_SFB ] = "sfb" ,
838844 [NL_UNION_TCA_OPTION_DATA_TBF ] = "tbf" ,
839845};
@@ -859,6 +865,8 @@ static const NLTypeSystem rtnl_tca_option_data_type_systems[] = {
859865 .types = rtnl_tca_option_data_htb_types },
860866 [NL_UNION_TCA_OPTION_DATA_PIE ] = { .count = ELEMENTSOF (rtnl_tca_option_data_pie_types ),
861867 .types = rtnl_tca_option_data_pie_types },
868+ [NL_UNION_TCA_OPTION_DATA_QFQ ] = { .count = ELEMENTSOF (rtnl_tca_option_data_qfq_types ),
869+ .types = rtnl_tca_option_data_qfq_types },
862870 [NL_UNION_TCA_OPTION_DATA_SFB ] = { .count = ELEMENTSOF (rtnl_tca_option_data_sfb_types ),
863871 .types = rtnl_tca_option_data_sfb_types },
864872 [NL_UNION_TCA_OPTION_DATA_TBF ] = { .count = ELEMENTSOF (rtnl_tca_option_data_tbf_types ),
0 commit comments