Lines Matching defs:in

37 /* FIXME: MTU in config. */
55 * term, transient changes in packet size.
298 /* Record whether sq is in reset state. */
477 * hdr is in a separate sg buffer, and data sg buffer shares same page
576 * most recent used list in the beginning for reuse
999 * returned in a normal path of operation: it means that driver is not
1046 * position of skb_shared_info in xdp_get_frame_len() and
1246 /* We copy the packet for XDP in the following cases:
1395 /* Recalculate length in case bpf program changed it */
1519 * XDP core assumes that xdp frags are PAGE_SIZE in length, while in
1523 * like eth_type_trans() (which virtio-net does in receive_buf()).
1567 /* TODO: build xdp in big mode */
1673 /* Transient failure which in theory could occur if
1674 * in-flight packets from before XDP was enabled reach
1681 * with headroom may add hole in truesize, which
2035 /* page in rq->sg[vi->big_packets_num_skbfrags + 1] is list tail */
2045 /* chain new page in list head to match sg */
2058 /* a separated rq->sg[0] for header - required in case !any_header_sg */
2065 /* chain first in list head */
2143 * Normally run in the receive path, but can also be run from ndo_open
2236 /* In theory, this can happen: if we don't get any buffers in
2371 /* Intentionally not taking dim_lock here. This may result in a
2543 /* Pull header back to avoid skew in tx bytes calculations. */
2575 /* timestamp packet in software */
2685 struct scatterlist *in)
2710 if (in)
2711 sgs[out_num + in_num++] = in;
2947 /* Store the unicast list and count in the front of the buffer */
3730 /* stats_sum_queue - Calculate the sum of the same fields in sq or rq.
4936 NL_SET_ERR_MSG_MOD(extack, "XDP expects header/data in single page, any_header_sg required");
4952 netdev_warn_once(dev, "XDP request %i queues but max is %i. XDP_TX and XDP_REDIRECT will operate in a slower locked tx mode.\n",
5287 * possible N-1 RX/TX queue pairs used in multiqueue mode, followed by
5762 * in virtnet_validate.
5941 /* Free unused buffers in both send and recv, if any. */