Lines Matching refs:eohw_txq
2270 struct sge_eohw_txq *eohw_txq; in ethofld_hard_xmit() local
2279 eohw_txq = &adap->sge.eohw_txq[eosw_txq->hwqid]; in ethofld_hard_xmit()
2280 spin_lock(&eohw_txq->lock); in ethofld_hard_xmit()
2281 reclaim_completed_tx_imm(&eohw_txq->q); in ethofld_hard_xmit()
2287 wr = (struct fw_eth_tx_eo_wr *)&eohw_txq->q.desc[eohw_txq->q.pidx]; in ethofld_hard_xmit()
2307 left = txq_avail(&eohw_txq->q) - ndesc; in ethofld_hard_xmit()
2345 sgl = (u64 *)inline_tx_skb_header(skb, &eohw_txq->q, (void *)start, in ethofld_hard_xmit()
2351 eohw_txq->mapping_err++; in ethofld_hard_xmit()
2357 left = (u8 *)end - (u8 *)eohw_txq->q.stat; in ethofld_hard_xmit()
2358 end = (void *)eohw_txq->q.desc + left; in ethofld_hard_xmit()
2361 if (unlikely((u8 *)sgl >= (u8 *)eohw_txq->q.stat)) { in ethofld_hard_xmit()
2366 left = (u8 *)end - (u8 *)eohw_txq->q.stat; in ethofld_hard_xmit()
2368 end = (void *)eohw_txq->q.desc + left; in ethofld_hard_xmit()
2369 sgl = (void *)eohw_txq->q.desc; in ethofld_hard_xmit()
2372 cxgb4_write_sgl(skb, &eohw_txq->q, (void *)sgl, end, hdr_len, in ethofld_hard_xmit()
2378 eohw_txq->uso++; in ethofld_hard_xmit()
2380 eohw_txq->tso++; in ethofld_hard_xmit()
2381 eohw_txq->tx_cso += skb_shinfo(skb)->gso_segs; in ethofld_hard_xmit()
2383 eohw_txq->tx_cso++; in ethofld_hard_xmit()
2387 eohw_txq->vlan_ins++; in ethofld_hard_xmit()
2389 txq_advance(&eohw_txq->q, ndesc); in ethofld_hard_xmit()
2390 cxgb4_ring_tx_db(adap, &eohw_txq->q, ndesc); in ethofld_hard_xmit()
2394 spin_unlock(&eohw_txq->lock); in ethofld_hard_xmit()