Searched refs:tc_mqprio (Results 1 – 6 of 6) sorted by relevance
176 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() local660 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 …]
2797 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 …]
3509 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()
1229 struct cxgb4_tc_mqprio *tc_mqprio; member
2446 tc_port_mqprio = &adap->tc_mqprio->port_mqprio[pi->port_id]; in cxgb4_ethofld_xmit()
3695 if (!is_ethofld(adap) || !adap->tc_mqprio) in cxgb_setup_tc_mqprio()