Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_mqprio.c176 refcount_inc(&adap->tc_mqprio->refcnt); in cxgb4_mqprio_alloc_hw_resources()
634 if (!adap->tc_mqprio || !adap->tc_mqprio->port_mqprio) in cxgb4_mqprio_stop_offload()
655 struct cxgb4_tc_mqprio *tc_mqprio; in cxgb4_init_tc_mqprio() local
660 tc_mqprio = kzalloc(sizeof(*tc_mqprio), GFP_KERNEL); in cxgb4_init_tc_mqprio()
661 if (!tc_mqprio) in cxgb4_init_tc_mqprio()
671 mutex_init(&tc_mqprio->mqprio_mutex); in cxgb4_init_tc_mqprio()
685 adap->tc_mqprio = tc_mqprio; in cxgb4_init_tc_mqprio()
697 kfree(tc_mqprio); in cxgb4_init_tc_mqprio()
706 if (adap->tc_mqprio) { in cxgb4_cleanup_tc_mqprio()
708 if (adap->tc_mqprio->port_mqprio) { in cxgb4_cleanup_tc_mqprio()
[all …]
H A 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 …]
H A Dcudbg_lib.c3509 if (!padap->tc_mqprio) in cudbg_collect_qdesc()
3512 mutex_lock(&padap->tc_mqprio->mqprio_mutex); in cudbg_collect_qdesc()
3531 mutex_unlock(&padap->tc_mqprio->mqprio_mutex); in cudbg_collect_qdesc()
H A Dcxgb4.h1229 struct cxgb4_tc_mqprio *tc_mqprio; member
H A Dsge.c2446 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_ethofld_xmit()
H A Dcxgb4_main.c3695 if (!is_ethofld(adap) || !adap->tc_mqprio) in cxgb_setup_tc_mqprio()