• Home
  • Raw
  • Download

Lines Matching full:txp

110 			     struct xen_netif_tx_request *txp,
205 struct xen_netif_tx_request *txp, in xenvif_tx_err() argument
213 make_tx_response(queue, txp, extra_count, XEN_NETIF_RSP_ERROR); in xenvif_tx_err()
218 RING_COPY_REQUEST(&queue->tx, cons++, txp); in xenvif_tx_err()
236 struct xen_netif_tx_request *txp, in xenvif_count_requests() argument
285 txp = &dropped_tx; in xenvif_count_requests()
287 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); in xenvif_count_requests()
298 if (!drop_err && txp->size > first->size) { in xenvif_count_requests()
302 txp->size, first->size); in xenvif_count_requests()
306 first->size -= txp->size; in xenvif_count_requests()
309 if (unlikely((txp->offset + txp->size) > XEN_PAGE_SIZE)) { in xenvif_count_requests()
310 netdev_err(queue->vif->dev, "Cross page boundary, txp->offset: %u, size: %u\n", in xenvif_count_requests()
311 txp->offset, txp->size); in xenvif_count_requests()
316 more_data = txp->flags & XEN_NETTXF_more_data; in xenvif_count_requests()
319 txp++; in xenvif_count_requests()
343 struct xen_netif_tx_request *txp, in xenvif_tx_create_map_op() argument
350 txp->gref, queue->vif->domid); in xenvif_tx_create_map_op()
352 memcpy(&queue->pending_tx_info[pending_idx].req, txp, in xenvif_tx_create_map_op()
353 sizeof(*txp)); in xenvif_tx_create_map_op()
392 struct xen_netif_tx_request *txp = first; in xenvif_get_requests() local
401 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests()
403 cop->source.u.ref = txp->gref; in xenvif_get_requests()
405 cop->source.offset = txp->offset; in xenvif_get_requests()
426 if (amount == txp->size) { in xenvif_get_requests()
430 txp, sizeof(*txp)); in xenvif_get_requests()
432 (txp == first) ? extra_count : 0; in xenvif_get_requests()
434 if (txp == first) in xenvif_get_requests()
435 txp = txfrags; in xenvif_get_requests()
437 txp++; in xenvif_get_requests()
444 txp->offset += amount; in xenvif_get_requests()
445 txp->size -= amount; in xenvif_get_requests()
453 xenvif_tx_create_map_op(queue, pending_idx, txp, in xenvif_get_requests()
454 txp == first ? extra_count : 0, gop); in xenvif_get_requests()
457 if (txp == first) in xenvif_get_requests()
458 txp = txfrags; in xenvif_get_requests()
460 txp++; in xenvif_get_requests()
469 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
472 xenvif_tx_create_map_op(queue, pending_idx, txp, 0, in xenvif_get_requests()
651 struct xen_netif_tx_request *txp; in xenvif_fill_frags() local
668 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_fill_frags()
670 __skb_fill_page_desc(skb, i, page, txp->offset, txp->size); in xenvif_fill_frags()
671 skb->len += txp->size; in xenvif_fill_frags()
672 skb->data_len += txp->size; in xenvif_fill_frags()
673 skb->truesize += txp->size; in xenvif_fill_frags()
1149 struct xen_netif_tx_request *txp; in xenvif_tx_submit() local
1153 txp = &queue->pending_tx_info[pending_idx].req; in xenvif_tx_submit()
1171 if (txp->flags & XEN_NETTXF_csum_blank) in xenvif_tx_submit()
1173 else if (txp->flags & XEN_NETTXF_data_validated) in xenvif_tx_submit()
1417 struct xen_netif_tx_request *txp, in make_tx_response() argument
1425 resp->id = txp->id; in make_tx_response()