Searched refs:hwtc (Results 1 – 4 of 4) sorted by relevance
434 u8 hwtc; in cxgb4_mqprio_enable_offload() local461 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_enable_offload()462 ret = cxgb4_mqprio_class_bind(dev, eosw_txq, hwtc); in cxgb4_mqprio_enable_offload()516 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_enable_offload()517 cxgb4_mqprio_class_unbind(dev, eosw_txq, hwtc); in cxgb4_mqprio_enable_offload()536 u8 hwtc; in cxgb4_mqprio_disable_offload() local551 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_disable_offload()552 cxgb4_mqprio_class_unbind(dev, eosw_txq, hwtc); in cxgb4_mqprio_disable_offload()
16 u8 hwtc; /* Traffic class bound to port */ member
214 tc_port_matchall->egress.hwtc = e->idx; in cxgb4_matchall_alloc_tc()232 cxgb4_sched_class_free(dev, tc_port_matchall->egress.hwtc); in cxgb4_matchall_free_tc()234 tc_port_matchall->egress.hwtc = SCHED_CLS_NONE; in cxgb4_matchall_free_tc()
694 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc() local696 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()