Home
last modified time | relevance | path

Searched refs:tc_mqprio (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_mqprio.c159 if (!refcount_read(&adap->tc_mqprio->refcnt)) { in cxgb4_mqprio_alloc_hw_resources()
174 refcount_set(&adap->tc_mqprio->refcnt, 1); in cxgb4_mqprio_alloc_hw_resources()
176 refcount_inc(&adap->tc_mqprio->refcnt); in cxgb4_mqprio_alloc_hw_resources()
265 if (refcount_dec_and_test(&adap->tc_mqprio->refcnt)) { in cxgb4_mqprio_alloc_hw_resources()
281 if (!refcount_read(&adap->tc_mqprio->refcnt)) in cxgb4_mqprio_free_hw_resources()
311 if (refcount_dec_and_test(&adap->tc_mqprio->refcnt)) { in cxgb4_mqprio_free_hw_resources()
337 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_mqprio_alloc_tc()
376 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_mqprio_free_tc()
443 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_mqprio_enable_offload()
541 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_mqprio_disable_offload()
[all …]
Dcxgb4_debugfs.c2797 if (!adap->tc_mqprio) in sge_qinfo_show()
2800 mutex_lock(&adap->tc_mqprio->mqprio_mutex); in sge_qinfo_show()
2801 if (!refcount_read(&adap->tc_mqprio->refcnt)) { in sge_qinfo_show()
2802 mutex_unlock(&adap->tc_mqprio->mqprio_mutex); in sge_qinfo_show()
2852 mutex_unlock(&adap->tc_mqprio->mqprio_mutex); in sge_qinfo_show()
2861 port_mqprio = &adap->tc_mqprio->port_mqprio[j]; in sge_qinfo_show()
2893 mutex_unlock(&adap->tc_mqprio->mqprio_mutex); in sge_qinfo_show()
2899 mutex_unlock(&adap->tc_mqprio->mqprio_mutex); in sge_qinfo_show()
3158 if (adap->tc_mqprio) { in sge_queue_entries()
3162 mutex_lock(&adap->tc_mqprio->mqprio_mutex); in sge_queue_entries()
[all …]
Dcxgb4.h1233 struct cxgb4_tc_mqprio *tc_mqprio; member
Dsge.c2440 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_ethofld_xmit()
Dcxgb4_main.c3698 if (!is_ethofld(adap) || !adap->tc_mqprio) in cxgb_setup_tc_mqprio()