Home
last modified time | relevance | path

Searched refs:xdp_desc (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/net/xdp/
Dxsk_queue.h24 struct xdp_desc desc[0] ____cacheline_aligned_in_smp;
171 static inline bool xskq_is_valid_desc(struct xsk_queue *q, struct xdp_desc *d) in xskq_is_valid_desc()
185 static inline struct xdp_desc *xskq_validate_desc(struct xsk_queue *q, in xskq_validate_desc()
186 struct xdp_desc *desc) in xskq_validate_desc()
202 static inline struct xdp_desc *xskq_peek_desc(struct xsk_queue *q, in xskq_peek_desc()
203 struct xdp_desc *desc) in xskq_peek_desc()
Dxsk_queue.c25 return sizeof(struct xdp_ring) + q->nentries * sizeof(struct xdp_desc); in xskq_rxtx_get_ring_size()
Dxsk.c163 struct xdp_desc desc; in xsk_umem_consume_tx()
215 struct xdp_desc desc; in xsk_generic_xmit()
/Linux-v4.19/samples/bpf/
Dxdpsock_user.c105 struct xdp_desc *ring;
214 struct xdp_desc *d, in umem_fill_to_kernel_ex()
283 const struct xdp_desc *descs, in xq_enq()
286 struct xdp_desc *r = uq->ring; in xq_enq()
308 struct xdp_desc *r = uq->ring; in xq_enq_tx_only()
328 struct xdp_desc *descs, in xq_deq()
331 struct xdp_desc *r = uq->ring; in xq_deq()
513 NUM_DESCS * sizeof(struct xdp_desc), in xsk_configure()
528 NUM_DESCS * sizeof(struct xdp_desc), in xsk_configure()
783 struct xdp_desc descs[BATCH_SIZE]; in rx_drop()
[all …]
/Linux-v4.19/include/uapi/linux/
Dif_xdp.h70 struct xdp_desc { struct
/Linux-v4.19/Documentation/networking/
Daf_xdp.rst179 is a struct xdp_desc descriptor. The descriptor contains UMEM offset
185 The user application consumes struct xdp_desc descriptors from this
191 The TX ring is used to send frames. The struct xdp_desc descriptor is
197 The user application produces struct xdp_desc descriptors to this
230 // struct xdp_desc *desc;
242 // typedef struct xdp_desc RING_TYPE;