Lines Matching refs:txreq
924 struct xen_netif_tx_request txreq; in xenvif_tx_build_gops() local
949 RING_COPY_REQUEST(&queue->tx, idx, &txreq); in xenvif_tx_build_gops()
952 if (txreq.size > queue->remaining_credit && in xenvif_tx_build_gops()
953 tx_credit_exceeded(queue, txreq.size)) in xenvif_tx_build_gops()
956 queue->remaining_credit -= txreq.size; in xenvif_tx_build_gops()
963 if (txreq.flags & XEN_NETTXF_extra_info) { in xenvif_tx_build_gops()
978 make_tx_response(queue, &txreq, extra_count, in xenvif_tx_build_gops()
991 make_tx_response(queue, &txreq, extra_count, in xenvif_tx_build_gops()
996 data_len = (txreq.size > XEN_NETBACK_TX_COPY_LEN) ? in xenvif_tx_build_gops()
997 XEN_NETBACK_TX_COPY_LEN : txreq.size; in xenvif_tx_build_gops()
999 ret = xenvif_count_requests(queue, &txreq, extra_count, in xenvif_tx_build_gops()
1007 if (unlikely(txreq.size < ETH_HLEN)) { in xenvif_tx_build_gops()
1009 "Bad packet size: %d\n", txreq.size); in xenvif_tx_build_gops()
1010 xenvif_tx_err(queue, &txreq, extra_count, idx); in xenvif_tx_build_gops()
1015 if (unlikely((txreq.offset + txreq.size) > XEN_PAGE_SIZE)) { in xenvif_tx_build_gops()
1017 txreq.offset, txreq.size); in xenvif_tx_build_gops()
1022 if (ret >= XEN_NETBK_LEGACY_SLOTS_MAX - 1 && data_len < txreq.size) in xenvif_tx_build_gops()
1023 data_len = txreq.size; in xenvif_tx_build_gops()
1029 xenvif_tx_err(queue, &txreq, extra_count, idx); in xenvif_tx_build_gops()
1047 xenvif_tx_err(queue, &txreq, extra_count, idx); in xenvif_tx_build_gops()
1095 xenvif_get_requests(queue, skb, &txreq, txfrags, copy_ops, in xenvif_tx_build_gops()