Lines Matching refs:rx

226 	struct netif_rx_response rx;
248 /* Access macros for acquiring freeing slots in xn_free_{tx,rx}_idxs[]. */
493 err = xs_printf(*xst, path, "rx-ring-ref","%u", rxq->ring_ref);
495 message = "writing rx ring-ref";
573 err = xs_printf(xst, node, "request-rx-copy", "%u", 1);
575 message = "writing request-rx-copy";
578 err = xs_printf(xst, node, "feature-rx-notify", "%d", 1);
580 message = "writing feature-rx-notify";
731 device_printf(dev, "allocating rx gref");
744 device_printf(dev, "granting rx ring page");
1157 struct netif_rx_response *rx = &rinfo.rx;
1181 memcpy(rx, RING_GET_RESPONSE(&rxq->ring, i), sizeof(*rx));
1195 if (rx->flags & NETRXF_data_validated) {
1209 if ((rx->flags & NETRXF_extra_info) != 0 &&
1343 /* kick both tx and rx */
1402 struct netif_rx_response *rx = &rinfo->rx;
1413 if (rx->flags & NETRXF_extra_info) {
1424 DPRINTK("rx->status=%hd rx->offset=%hu frags=%u\n",
1425 rx->status, rx->offset, frags);
1427 if (__predict_false(rx->status < 0 ||
1428 rx->offset + rx->status > PAGE_SIZE)) {
1444 printf("%s: Bad rx response id %d.\n", __func__, rx->id);
1458 m->m_len = rx->status;
1459 m->m_data += rx->offset;
1460 m0->m_pkthdr.len += rx->status;
1463 if (!(rx->flags & NETRXF_more_data))
1475 * Note that m can be NULL, if rx->status < 0 or if
1476 * rx->offset + rx->status > PAGE_SIZE above.
1480 rx = RING_GET_RESPONSE(&rxq->ring, *cons + frags);
1484 * m_prev == NULL can happen if rx->status < 0 or if
1485 * rx->offset + * rx->status > PAGE_SIZE above.
1491 * m0 can be NULL if rx->status < 0 or if * rx->offset +
1492 * rx->status > PAGE_SIZE above.
1928 "feature-rx-copy", NULL, "%u", &feature_rx_copy);
1932 /* We only support rx copy. */