Lines Matching refs:param_tb
556 struct nlattr *param_tb[DCB_TC_ATTR_PARAM_MAX + 1]; in __dcbnl_pg_getcfg() local
592 ret = nla_parse_nested_deprecated(param_tb, in __dcbnl_pg_getcfg()
619 if (param_tb[DCB_TC_ATTR_PARAM_PGID] || in __dcbnl_pg_getcfg()
620 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
626 if (param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING] || in __dcbnl_pg_getcfg()
627 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
633 if (param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO] || in __dcbnl_pg_getcfg()
634 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
640 if (param_tb[DCB_TC_ATTR_PARAM_BW_PCT] || in __dcbnl_pg_getcfg()
641 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
770 struct nlattr *param_tb[DCB_TC_ATTR_PARAM_MAX + 1]; in __dcbnl_pg_setcfg() local
797 ret = nla_parse_nested_deprecated(param_tb, in __dcbnl_pg_setcfg()
809 if (param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO]) in __dcbnl_pg_setcfg()
811 nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO]); in __dcbnl_pg_setcfg()
813 if (param_tb[DCB_TC_ATTR_PARAM_PGID]) in __dcbnl_pg_setcfg()
814 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
816 if (param_tb[DCB_TC_ATTR_PARAM_BW_PCT]) in __dcbnl_pg_setcfg()
817 tc_pct = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_BW_PCT]); in __dcbnl_pg_setcfg()
819 if (param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING]) in __dcbnl_pg_setcfg()
821 nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING]); in __dcbnl_pg_setcfg()