Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/siena/
Drx.c69 unsigned int n_frags, in efx_rx_mk_skb() argument
102 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_mk_skb()
110 n_frags = 0; in efx_rx_mk_skb()
122 unsigned int n_frags, unsigned int len, u16 flags) in efx_siena_rx_packet() argument
134 if (n_frags == 1) { in efx_siena_rx_packet()
137 } else if (unlikely(n_frags > EFX_RX_MAX_FRAGS) || in efx_siena_rx_packet()
138 unlikely(len <= (n_frags - 1) * efx->rx_dma_len) || in efx_siena_rx_packet()
139 unlikely(len > n_frags * efx->rx_dma_len) || in efx_siena_rx_packet()
151 (index + n_frags - 1) & rx_queue->ptr_mask, len, in efx_siena_rx_packet()
160 efx_siena_discard_rx_packet(channel, rx_buf, n_frags); in efx_siena_rx_packet()
[all …]
Drx_common.h50 unsigned int n_frags);
53 unsigned int n_frags);
79 unsigned int n_frags, u8 *eh, __wsum csum);
Drx_common.c111 unsigned int n_frags) in efx_siena_recycle_rx_pages() argument
121 } while (--n_frags); in efx_siena_recycle_rx_pages()
126 unsigned int n_frags) in efx_siena_discard_rx_packet() argument
130 efx_siena_recycle_rx_pages(channel, rx_buf, n_frags); in efx_siena_discard_rx_packet()
132 efx_siena_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_siena_discard_rx_packet()
513 unsigned int n_frags, u8 *eh, __wsum csum) in efx_siena_rx_packet_gro() argument
524 efx_siena_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_siena_rx_packet_gro()
546 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_siena_rx_packet_gro()
553 skb->truesize += n_frags * efx->rx_buffer_truesize; in efx_siena_rx_packet_gro()
Defx.h32 unsigned int n_frags, unsigned int len, u16 flags);
/drivers/net/ethernet/sfc/
Drx.c69 unsigned int n_frags, in efx_rx_mk_skb() argument
102 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_mk_skb()
110 n_frags = 0; in efx_rx_mk_skb()
122 unsigned int n_frags, unsigned int len, u16 flags) in efx_rx_packet() argument
134 if (n_frags == 1) { in efx_rx_packet()
137 } else if (unlikely(n_frags > EFX_RX_MAX_FRAGS) || in efx_rx_packet()
138 unlikely(len <= (n_frags - 1) * efx->rx_dma_len) || in efx_rx_packet()
139 unlikely(len > n_frags * efx->rx_dma_len) || in efx_rx_packet()
151 (index + n_frags - 1) & rx_queue->ptr_mask, len, in efx_rx_packet()
160 efx_discard_rx_packet(channel, rx_buf, n_frags); in efx_rx_packet()
[all …]
Drx_common.h50 unsigned int n_frags);
53 unsigned int n_frags);
85 unsigned int n_frags, u8 *eh, __wsum csum);
Drx_common.c108 unsigned int n_frags) in efx_recycle_rx_pages() argument
118 } while (--n_frags); in efx_recycle_rx_pages()
123 unsigned int n_frags) in efx_discard_rx_packet() argument
127 efx_recycle_rx_pages(channel, rx_buf, n_frags); in efx_discard_rx_packet()
129 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_discard_rx_packet()
508 unsigned int n_frags, u8 *eh, __wsum csum) in efx_rx_packet_gro() argument
519 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_rx_packet_gro()
542 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_packet_gro()
549 skb->truesize += n_frags * efx->rx_buffer_truesize; in efx_rx_packet_gro()
Defx.h40 unsigned int n_frags, unsigned int len, u16 flags);
/drivers/net/ethernet/sfc/falcon/
Drx.c294 unsigned int n_frags) in ef4_recycle_rx_pages() argument
304 } while (--n_frags); in ef4_recycle_rx_pages()
309 unsigned int n_frags) in ef4_discard_rx_packet() argument
313 ef4_recycle_rx_pages(channel, rx_buf, n_frags); in ef4_discard_rx_packet()
315 ef4_free_rx_buffers(rx_queue, rx_buf, n_frags); in ef4_discard_rx_packet()
431 unsigned int n_frags, u8 *eh) in ef4_rx_packet_gro() argument
442 ef4_free_rx_buffers(rx_queue, rx_buf, n_frags); in ef4_rx_packet_gro()
458 if (skb_shinfo(skb)->nr_frags == n_frags) in ef4_rx_packet_gro()
465 skb->truesize += n_frags * efx->rx_buffer_truesize; in ef4_rx_packet_gro()
475 unsigned int n_frags, in ef4_rx_mk_skb() argument
[all …]
Defx.h48 unsigned int n_frags, unsigned int len, u16 flags);
/drivers/net/ethernet/google/gve/
Dgve_rx.c417 u16 n_frags = 0; in gve_rx_ctx_init() local
428 n_frags++; in gve_rx_ctx_init()
459 ctx->expected_frag_cnt = n_frags; in gve_rx_ctx_init()
/drivers/net/ethernet/sun/
Dniu.c6548 u64 n_frags) in niu_set_txd() argument
6553 (n_frags << TX_DESC_NUM_PTR_SHIFT) | in niu_set_txd()