Home
last modified time | relevance | path

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

/net/xdp/
Dxsk.c442 u32 hr, len, ts, offset, copy, copied; in xsk_build_skb_zerocopy() local
449 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_build_skb_zerocopy()
451 skb = sock_alloc_send_skb(&xs->sk, hr, 1, &err); in xsk_build_skb_zerocopy()
455 skb_reserve(skb, hr); in xsk_build_skb_zerocopy()
497 u32 hr, tr, len; in xsk_build_skb() local
501 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(dev->needed_headroom)); in xsk_build_skb()
505 skb = sock_alloc_send_skb(&xs->sk, hr + len + tr, 1, &err); in xsk_build_skb()
509 skb_reserve(skb, hr); in xsk_build_skb()