Lines Matching refs:param_tb
719 struct nlattr *param_tb[DCB_TC_ATTR_PARAM_MAX + 1]; in __dcbnl_pg_getcfg() local
763 ret = nla_parse_nested(param_tb, DCB_TC_ATTR_PARAM_MAX, in __dcbnl_pg_getcfg()
789 if (param_tb[DCB_TC_ATTR_PARAM_PGID] || in __dcbnl_pg_getcfg()
790 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
796 if (param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING] || in __dcbnl_pg_getcfg()
797 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
803 if (param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO] || in __dcbnl_pg_getcfg()
804 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
810 if (param_tb[DCB_TC_ATTR_PARAM_BW_PCT] || in __dcbnl_pg_getcfg()
811 param_tb[DCB_TC_ATTR_PARAM_ALL]) { in __dcbnl_pg_getcfg()
947 struct nlattr *param_tb[DCB_TC_ATTR_PARAM_MAX + 1]; in __dcbnl_pg_setcfg() local
971 ret = nla_parse_nested(param_tb, DCB_TC_ATTR_PARAM_MAX, in __dcbnl_pg_setcfg()
981 if (param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO]) in __dcbnl_pg_setcfg()
983 nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_STRICT_PRIO]); in __dcbnl_pg_setcfg()
985 if (param_tb[DCB_TC_ATTR_PARAM_PGID]) in __dcbnl_pg_setcfg()
986 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
988 if (param_tb[DCB_TC_ATTR_PARAM_BW_PCT]) in __dcbnl_pg_setcfg()
989 tc_pct = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_BW_PCT]); in __dcbnl_pg_setcfg()
991 if (param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING]) in __dcbnl_pg_setcfg()
993 nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_UP_MAPPING]); in __dcbnl_pg_setcfg()