Searched refs:hwtc (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 437 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()
|
H A D | cxgb4_tc_matchall.h | 16 u8 hwtc; /* Traffic class bound to port */ member
|
H A D | cxgb4_tc_matchall.c | 166 tc_port_matchall->egress.hwtc = e->idx; in cxgb4_matchall_alloc_tc() 184 cxgb4_sched_class_free(dev, tc_port_matchall->egress.hwtc); in cxgb4_matchall_free_tc() 186 tc_port_matchall->egress.hwtc = SCHED_CLS_NONE; in cxgb4_matchall_free_tc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_mqprio.c | 437 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()
|
H A D | cxgb4_tc_matchall.h | 16 u8 hwtc; /* Traffic class bound to port */ member
|
H A D | cxgb4_tc_matchall.c | 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()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | sch_generic.h | 660 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc() local 662 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | sch_generic.h | 668 u32 hwtc = TC_H_MIN(classid) - TC_H_MIN_PRIORITY; in tc_classid_to_hwtc() local 670 return (hwtc < netdev_get_num_tc(dev)) ? hwtc : -EINVAL; in tc_classid_to_hwtc()
|
Completed in 9 milliseconds