/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | rx.c | 69 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() 134 if (n_frags == 1) { in efx_rx_packet() 139 unlikely(len > n_frags * efx->rx_dma_len) || in efx_rx_packet() 180 if (n_frags > 1) { in efx_rx_packet() 184 unsigned int tail_frags = n_frags - 1; in efx_rx_packet() 198 efx_recycle_rx_pages(channel, rx_buf, n_frags); in efx_rx_packet() 204 channel->rx_pkt_n_frags = n_frags; in efx_rx_packet() 210 unsigned int n_frags) in efx_rx_deliver() argument [all …]
|
A D | rx_common.h | 50 unsigned int n_frags); 53 unsigned int n_frags); 85 unsigned int n_frags, u8 *eh, __wsum csum);
|
A D | rx_common.c | 108 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() 511 unsigned int n_frags, u8 *eh, __wsum csum) in efx_rx_packet_gro() argument 522 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_rx_packet_gro() 545 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_packet_gro() 552 skb->truesize += n_frags * efx->rx_buffer_truesize; in efx_rx_packet_gro()
|
A D | efx.h | 40 unsigned int n_frags, unsigned int len, u16 flags);
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | rx.c | 69 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() 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() 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() 180 if (n_frags > 1) { in efx_siena_rx_packet() 184 unsigned int tail_frags = n_frags - 1; in efx_siena_rx_packet() 204 channel->rx_pkt_n_frags = n_frags; in efx_siena_rx_packet() [all …]
|
A D | rx_common.h | 50 unsigned int n_frags); 53 unsigned int n_frags); 79 unsigned int n_frags, u8 *eh, __wsum csum);
|
A D | rx_common.c | 111 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()
|
A D | efx.h | 32 unsigned int n_frags, unsigned int len, u16 flags);
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A D | rx.c | 294 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 431 unsigned int n_frags, u8 *eh) in ef4_rx_packet_gro() argument 475 unsigned int n_frags, in ef4_rx_mk_skb() argument 517 n_frags = 0; in ef4_rx_mk_skb() 543 if (n_frags == 1) { in ef4_rx_packet() 589 if (n_frags > 1) { in ef4_rx_packet() 593 unsigned int tail_frags = n_frags - 1; in ef4_rx_packet() 613 channel->rx_pkt_n_frags = n_frags; in ef4_rx_packet() [all …]
|
A D | efx.h | 48 unsigned int n_frags, unsigned int len, u16 flags);
|
/linux-6.3-rc2/net/mctp/test/ |
A D | route-test.c | 126 unsigned int n_frags; member 158 KUNIT_EXPECT_EQ(test, n, params->n_frags); in mctp_test_fragment() 211 {.mtu = 68, .msgsize = 63, .n_frags = 1}, 212 {.mtu = 68, .msgsize = 64, .n_frags = 1}, 213 {.mtu = 68, .msgsize = 65, .n_frags = 2}, 214 {.mtu = 68, .msgsize = 66, .n_frags = 2}, 215 {.mtu = 68, .msgsize = 127, .n_frags = 2}, 216 {.mtu = 68, .msgsize = 128, .n_frags = 2}, 217 {.mtu = 68, .msgsize = 129, .n_frags = 3}, 218 {.mtu = 68, .msgsize = 130, .n_frags = 3}, [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/sun/ |
A D | niu.c | 6548 u64 n_frags) in niu_set_txd() argument 6553 (n_frags << TX_DESC_NUM_PTR_SHIFT) | in niu_set_txd()
|