Lines Matching refs:txp
88 struct xen_netif_tx_request *txp,
834 struct xen_netif_tx_request *txp, RING_IDX end) in xenvif_tx_err() argument
841 make_tx_response(queue, txp, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
845 txp = RING_GET_REQUEST(&queue->tx, cons++); in xenvif_tx_err()
861 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
910 txp = &dropped_tx; in xenvif_count_requests()
912 memcpy(txp, RING_GET_REQUEST(&queue->tx, cons + slots), in xenvif_count_requests()
913 sizeof(*txp)); in xenvif_count_requests()
924 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
928 txp->size, first->size); in xenvif_count_requests()
932 first->size -= txp->size; in xenvif_count_requests()
935 if (unlikely((txp->offset + txp->size) > PAGE_SIZE)) { in xenvif_count_requests()
937 txp->offset, txp->size); in xenvif_count_requests()
942 more_data = txp->flags & XEN_NETTXF_more_data; in xenvif_count_requests()
945 txp++; in xenvif_count_requests()
966 struct xen_netif_tx_request *txp, in xenvif_tx_create_map_op() argument
972 txp->gref, queue->vif->domid); in xenvif_tx_create_map_op()
974 memcpy(&queue->pending_tx_info[pending_idx].req, txp, in xenvif_tx_create_map_op()
975 sizeof(*txp)); in xenvif_tx_create_map_op()
997 struct xen_netif_tx_request *txp, in xenvif_get_requests() argument
1021 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
1024 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
1041 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
1044 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
1216 struct xen_netif_tx_request *txp; in xenvif_fill_frags() local
1233 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_fill_frags()
1235 __skb_fill_page_desc(skb, i, page, txp->offset, txp->size); in xenvif_fill_frags()
1236 skb->len += txp->size; in xenvif_fill_frags()
1237 skb->data_len += txp->size; in xenvif_fill_frags()
1238 skb->truesize += txp->size; in xenvif_fill_frags()
1606 struct xen_netif_tx_request *txp; in xenvif_tx_submit() local
1611 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_tx_submit()
1631 if (data_len < txp->size) { in xenvif_tx_submit()
1633 txp->offset += data_len; in xenvif_tx_submit()
1634 txp->size -= data_len; in xenvif_tx_submit()
1641 if (txp->flags & XEN_NETTXF_csum_blank) in xenvif_tx_submit()
1643 else if (txp->flags & XEN_NETTXF_data_validated) in xenvif_tx_submit()
1863 struct xen_netif_tx_request *txp, in make_tx_response() argument
1871 resp->id = txp->id; in make_tx_response()
1874 if (txp->flags & XEN_NETTXF_extra_info) in make_tx_response()