Home | History | Annotate | Download | only in cxgb

Lines Matching refs:sge

181  *  Reclaims Tx descriptors that the SGE has indicated it has processed,
216 * t3_sge_init - initialize SGE
218 * @p: the SGE parameters
220 * Performs SGE initialization needed every time after a chip reset.
369 CH_ALERT(adapter, "SGE response queue credit overflow\n");
451 * refill_fl - refill an SGE free-buffer list
456 * (Re)populate an SGE free-buffer list with up to @n new packet buffers.
521 * free_rx_bufs - free the Rx buffers on an SGE free list
523 * @q: the SGE free list to clean up
525 * Release the buffers on an SGE free-buffer Rx queue. HW fetching from
559 * @q: the SGE free list
648 * sge_timer_cb - perform periodic maintenance of an SGE qset
649 * @data: the SGE queue set to maintain
651 * Runs periodically from a timer to perform maintenance of an SGE queue
689 qs = &sc->sge.qs[i + j];
717 * This is meant to be a catch-all function to keep sge state private
718 * to sge.c
751 * refill_rspq - replenish an SGE response queue
819 qs = &sc->sge.qs[i];
827 &sc->sge.qs[0].rspq.lock;
852 * init_qset_cntxt - initialize an SGE queue set context info
1068 * @txq: the SGE Tx queue
1181 qs = &sc->sge.qs[p->first_qset];
1311 * carefully so the SGE doesn't read accidentally before it's written in
1340 * SGE send queue. If the queue is already suspended or not enough
1383 * @q: the SGE control Tx queue
1407 * ctrl_xmit - send a packet through an SGE control Tx queue
1412 * Send a packet through an SGE control Tx queue. Packets sent through
1506 return ctrl_xmit(adap, &adap->sge.qs[0].txq[TXQ_CTRL], m);
1510 * free_qset - free the resources of an SGE queue set
1514 * Release the HW and SW resources associated with an SGE queue set, such
1525 mtx_lock(&sc->sge.reg_lock);
1527 mtx_unlock(&sc->sge.reg_lock);
1541 mtx_lock(&sc->sge.reg_lock);
1543 mtx_unlock(&sc->sge.reg_lock);
1557 mtx_lock(&sc->sge.reg_lock);
1559 mtx_unlock(&sc->sge.reg_lock);
1571 * t3_free_sge_resources - free SGE resources
1574 * Frees resources used by the SGE queue sets.
1585 t3_free_qset(sc, &sc->sge.qs[i]);
1589 * t3_sge_start - enable SGE
1592 * Enables the SGE for DMAs. This is the last step in starting packet
1602 * t3_sge_stop - disable SGE operation
1635 * Reclaims Tx descriptors from an SGE Tx queue and frees the associated
1781 * Send an offload packet through an SGE offload queue.
1907 * Maps a packet to the SGE queue set it should use. The desired queue
1942 struct sge_qset *qs = &adap->sge.qs[queue_set(m)];
1968 * t3_sge_alloc_qset - initialize an SGE queue set
1977 * Allocate resources and initialize an SGE queue set. A queue set
1986 struct sge_qset *q = &sc->sge.qs[id];
2076 mtx_lock(&sc->sge.reg_lock);
2132 mtx_unlock(&sc->sge.reg_lock);
2146 mtx_unlock(&sc->sge.reg_lock);
2185 * @qs: the qset that the SGE free list holding the packet belongs to
2330 * Handles the control information of an SGE response, such as GTS
2372 * process_responses - process responses from an SGE response queue
2377 * Process responses from an SGE response queue up to the supplied budget.
2554 * Handles data events from SGE response queues as well as error and other
2555 * async events as they all use the same interrupt pin. We use one SGE
2564 struct sge_rspq *q0 = &adap->sge.qs[0].rspq;
2578 process_responses_gts(adap, &adap->sge.qs[i].rspq);
2585 * The MSI interrupt handler. This needs to handle data events from SGE
2587 * the same MSI vector. We use one SGE response queue per port in this mode
2594 struct sge_rspq *q0 = &adap->sge.qs[0].rspq;
2600 if (process_responses_gts(adap, &adap->sge.qs[i].rspq))
2625 * t3_get_desc - dump an SGE descriptor for debugging purposes
2631 * Dumps the contents of a HW descriptor of an SGE queue. Returns the