sge_txq
struct sge_txq txq[SGE_TXQ_PER_SET];
static inline void check_ring_tx_db(struct adapter *adap, struct sge_txq *q)
const struct sge_txq *q,
struct sge_txq *q, unsigned int ndesc,
struct sge_qset *qs, struct sge_txq *q)
struct sge_txq *q;
static inline int check_desc_avail(struct adapter *adap, struct sge_txq *q,
static inline void reclaim_completed_tx_imm(struct sge_txq *q)
static int ctrl_xmit(struct adapter *adap, struct sge_txq *q,
struct sge_txq *q = &qs->txq[TXQ_CTRL];
struct sge_txq *q, unsigned int pidx,
static int ofld_xmit(struct adapter *adap, struct sge_txq *q,
static inline struct sge_qset *txq_to_qset(const struct sge_txq *q, int qidx)
struct sge_txq *q = &qs->txq[TXQ_OFLD];
struct sge_txq *txq = &qs->txq[TXQ_ETH];
struct sge_txq *txq = &qs->txq[TXQ_OFLD];
static inline void unmap_skb(struct sk_buff *skb, struct sge_txq *q,
static void free_tx_desc(struct adapter *adapter, struct sge_txq *q,
struct sge_txq *q,
static inline int should_restart_tx(const struct sge_txq *q)
memset(q->txq, 0, sizeof(struct sge_txq) * SGE_TXQ_PER_SET);
struct sge_txq *txq = (struct sge_txq *)q; \
static inline void cudbg_fill_qdesc_txq(const struct sge_txq *txq,
void free_tx_desc(struct adapter *adap, struct sge_txq *q,
void free_txq(struct adapter *adap, struct sge_txq *q);
struct sge_txq *q, bool unmap);
void cxgb4_inline_tx_skb(const struct sk_buff *skb, const struct sge_txq *q,
void cxgb4_write_sgl(const struct sk_buff *skb, struct sge_txq *q,
void cxgb4_write_partial_sgl(const struct sk_buff *skb, struct sge_txq *q,
void cxgb4_ring_tx_db(struct adapter *adap, struct sge_txq *q, int n);
struct sge_txq q;
struct sge_txq q;
struct sge_txq q;
struct sge_txq q; /* HW Txq */
static void disable_txq_db(struct sge_txq *q)
static void enable_txq_db(struct adapter *adap, struct sge_txq *q)
static void sync_txq_pidx(struct adapter *adap, struct sge_txq *q)
struct sge_txq *txq;
inline void cxgb4_ring_tx_db(struct adapter *adap, struct sge_txq *q, int n)
const struct sge_txq *q, void *pos)
const struct sge_txq *q, void *pos,
static inline void txq_advance(struct sge_txq *q, unsigned int n)
struct sge_txq *q = &eq->q;
struct sge_txq *tq = &txq->q;
static inline unsigned int txq_avail(const struct sge_txq *q)
static inline void reclaim_completed_tx_imm(struct sge_txq *q)
struct sge_txq *txq;
void free_tx_desc(struct adapter *adap, struct sge_txq *q,
const struct sge_txq *q,
static inline int reclaimable(const struct sge_txq *q)
static inline int reclaim_completed_tx(struct adapter *adap, struct sge_txq *q,
void cxgb4_reclaim_completed_tx(struct adapter *adap, struct sge_txq *q,
static void init_txq(struct adapter *adap, struct sge_txq *q, unsigned int id)
static int t4_sge_alloc_ofld_txq(struct adapter *adap, struct sge_txq *q,
void free_txq(struct adapter *adap, struct sge_txq *q)
void cxgb4_write_sgl(const struct sk_buff *skb, struct sge_txq *q,
void cxgb4_write_partial_sgl(const struct sk_buff *skb, struct sge_txq *q,
struct sge_txq q; /* SGE TX Queue */
struct sge_txq *tq;
static void inline_tx_skb(const struct sk_buff *skb, const struct sge_txq *tq,
static inline void txq_advance(struct sge_txq *tq, unsigned int n)
struct sge_txq *tq = &txq->q;
static inline unsigned int txq_avail(const struct sge_txq *tq)
static void free_txq(struct adapter *adapter, struct sge_txq *tq)
const struct ulptx_sgl *sgl, const struct sge_txq *tq)
static void free_tx_desc(struct adapter *adapter, struct sge_txq *tq,
static inline int reclaimable(const struct sge_txq *tq)
struct sge_txq *tq,
static void write_sgl(const struct sk_buff *skb, struct sge_txq *tq,
static inline void ring_tx_db(struct adapter *adapter, struct sge_txq *tq,
static unsigned int txq_avail(const struct sge_txq *q)
static void txq_advance(struct sge_txq *q, unsigned int n)
static inline void *chcr_copy_to_txd(const void *src, const struct sge_txq *q,
static inline unsigned int chcr_txq_avail(const struct sge_txq *q)
static inline void chcr_txq_advance(struct sge_txq *q, unsigned int n)