Home
last modified time | relevance | path

Searched refs:hwtc (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_mqprio.c437 u8 hwtc; in cxgb4_mqprio_enable_offload() local
464 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_enable_offload()
465 ret = cxgb4_mqprio_class_bind(dev, eosw_txq, hwtc); in cxgb4_mqprio_enable_offload()
519 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_enable_offload()
520 cxgb4_mqprio_class_unbind(dev, eosw_txq, hwtc); in cxgb4_mqprio_enable_offload()
539 u8 hwtc; in cxgb4_mqprio_disable_offload() local
554 hwtc = tc_port_mqprio->tc_hwtc_map[i]; in cxgb4_mqprio_disable_offload()
555 cxgb4_mqprio_class_unbind(dev, eosw_txq, hwtc); in cxgb4_mqprio_disable_offload()
A Dcxgb4_tc_matchall.h16 u8 hwtc; /* Traffic class bound to port */ member
A Dcxgb4_tc_matchall.c175 tc_port_matchall->egress.hwtc = e->idx; in cxgb4_matchall_alloc_tc()
193 cxgb4_sched_class_free(dev, tc_port_matchall->egress.hwtc); in cxgb4_matchall_free_tc()
195 tc_port_matchall->egress.hwtc = SCHED_CLS_NONE; in cxgb4_matchall_free_tc()
/linux/include/net/
A Dsch_generic.h672 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc() local
674 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()

Completed in 19 milliseconds