Home
last modified time | relevance | path

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

/openbmc/linux/net/xdp/
H A Dxsk.c543 static u32 xsk_get_num_desc(struct sk_buff *skb) in xsk_get_num_desc() function
550 xsk_cq_submit_locked(xdp_sk(skb->sk), xsk_get_num_desc(skb)); in xsk_destruct_skb()
556 long num = xsk_get_num_desc(xdp_sk(skb->sk)->skb) + 1; in xsk_set_destructor_arg()
566 xsk_cq_cancel_locked(xs, xsk_get_num_desc(skb)); in xsk_consume_skb()
574 xdp_sk(skb->sk)->tx->invalid_descs += xsk_get_num_desc(skb); in xsk_drop_skb()
766 xskq_cons_cancel_n(xs->tx, xsk_get_num_desc(skb)); in __xsk_generic_xmit()