Home
last modified time | relevance | path

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

/linux/net/core/
H A Dskbuff.c234 unsigned int skb_count; member
290 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
292 nc->skb_count = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get()
296 if (unlikely(!nc->skb_count)) { in napi_skb_cache_get()
302 skb = nc->skb_cache[--nc->skb_count]; in napi_skb_cache_get()
303 if (nc->skb_count) in napi_skb_cache_get()
304 prefetch(nc->skb_cache[nc->skb_count - 1]); in napi_skb_cache_get()
351 if (nc->skb_count >= n) in napi_skb_cache_get_bulk()
355 bulk = min(NAPI_SKB_CACHE_SIZE - nc->skb_count, NAPI_SKB_CACHE_BULK); in napi_skb_cache_get_bulk()
356 nc->skb_count += kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, in napi_skb_cache_get_bulk()
[all …]