Searched refs:xdp_desc (Results 1 – 6 of 6) sorted by relevance
24 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()
25 return sizeof(struct xdp_ring) + q->nentries * sizeof(struct xdp_desc); in xskq_rxtx_get_ring_size()
163 struct xdp_desc desc; in xsk_umem_consume_tx()215 struct xdp_desc desc; in xsk_generic_xmit()
105 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 …]
70 struct xdp_desc { struct
179 is a struct xdp_desc descriptor. The descriptor contains UMEM offset185 The user application consumes struct xdp_desc descriptors from this191 The TX ring is used to send frames. The struct xdp_desc descriptor is197 The user application produces struct xdp_desc descriptors to this230 // struct xdp_desc *desc;242 // typedef struct xdp_desc RING_TYPE;