/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | rx.c | 69 unsigned int n_frags, in efx_rx_mk_skb() 103 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_mk_skb() 111 n_frags = 0; in efx_rx_mk_skb() 114 skb->truesize += n_frags * efx->rx_buffer_truesize; in efx_rx_mk_skb() 125 unsigned int n_frags, unsigned int len, u16 flags) in efx_rx_packet() 137 if (n_frags == 1) { in efx_rx_packet() 140 } else if (unlikely(n_frags > EFX_RX_MAX_FRAGS) || in efx_rx_packet() 141 unlikely(len <= (n_frags - 1) * efx->rx_dma_len) || in efx_rx_packet() 142 unlikely(len > n_frags * efx->rx_dma_len) || in efx_rx_packet() 154 (index + n_frags in efx_rx_packet() 67 efx_rx_mk_skb(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, int hdr_len) efx_rx_mk_skb() argument 124 efx_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, unsigned int n_frags, unsigned int len, u16 flags) efx_rx_packet() argument 211 efx_rx_deliver(struct efx_channel *channel, u8 *eh, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_rx_deliver() argument [all...] |
H A D | rx_common.h | 44 unsigned int n_frags); 47 unsigned int n_frags); 79 unsigned int n_frags, u8 *eh, __wsum csum);
|
H A D | rx_common.c | 115 unsigned int n_frags) in efx_recycle_rx_pages() 125 } while (--n_frags); in efx_recycle_rx_pages() 130 unsigned int n_frags) in efx_discard_rx_packet() 134 efx_recycle_rx_pages(channel, rx_buf, n_frags); in efx_discard_rx_packet() 136 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_discard_rx_packet() 524 unsigned int n_frags, u8 *eh, __wsum csum) in efx_rx_packet_gro() 535 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_rx_packet_gro() 558 if (skb_shinfo(skb)->nr_frags == n_frags) in efx_rx_packet_gro() 565 skb->truesize += n_frags * efx->rx_buffer_truesize; in efx_rx_packet_gro() 113 efx_recycle_rx_pages(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_recycle_rx_pages() argument 128 efx_discard_rx_packet(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_discard_rx_packet() argument 523 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, __wsum csum) efx_rx_packet_gro() argument
|
H A D | efx.h | 40 unsigned int n_frags, unsigned int len, u16 flags);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | rx.c | 69 unsigned int n_frags, in efx_rx_mk_skb() 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() 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() 67 efx_rx_mk_skb(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, int hdr_len) efx_rx_mk_skb() argument 121 efx_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, unsigned int n_frags, unsigned int len, u16 flags) efx_rx_packet() argument 208 efx_rx_deliver(struct efx_channel *channel, u8 *eh, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_rx_deliver() argument [all...] |
H A D | rx_common.h | 50 unsigned int n_frags); 53 unsigned int n_frags); 85 unsigned int n_frags, u8 *eh, __wsum csum);
|
H A D | rx_common.c | 108 unsigned int n_frags) in efx_recycle_rx_pages() 118 } while (--n_frags); in efx_recycle_rx_pages() 123 unsigned int n_frags) in efx_discard_rx_packet() 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() 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() 106 efx_recycle_rx_pages(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_recycle_rx_pages() argument 121 efx_discard_rx_packet(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_discard_rx_packet() argument 510 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, __wsum csum) efx_rx_packet_gro() argument
|
H A D | efx.h | 38 unsigned int n_frags, unsigned int len, u16 flags);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | rx.c | 69 unsigned int n_frags, in efx_rx_mk_skb() 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() 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() 67 efx_rx_mk_skb(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, int hdr_len) efx_rx_mk_skb() argument 121 efx_siena_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, unsigned int n_frags, unsigned int len, u16 flags) efx_siena_rx_packet() argument 208 efx_rx_deliver(struct efx_channel *channel, u8 *eh, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_rx_deliver() argument [all...] |
H A D | rx_common.h | 50 unsigned int n_frags); 53 unsigned int n_frags); 79 unsigned int n_frags, u8 *eh, __wsum csum);
|
H A D | rx_common.c | 111 unsigned int n_frags) in efx_siena_recycle_rx_pages() 121 } while (--n_frags); in efx_siena_recycle_rx_pages() 126 unsigned int n_frags) in efx_siena_discard_rx_packet() 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() 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() 109 efx_siena_recycle_rx_pages(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_siena_recycle_rx_pages() argument 124 efx_siena_discard_rx_packet(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags) efx_siena_discard_rx_packet() argument 511 efx_siena_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, __wsum csum) efx_siena_rx_packet_gro() argument
|
H A D | efx.h | 32 unsigned int n_frags, unsigned int len, u16 flags);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 294 unsigned int n_frags) in ef4_recycle_rx_pages() 304 } while (--n_frags); in ef4_recycle_rx_pages() 309 unsigned int n_frags) in ef4_discard_rx_packet() 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() 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() 292 ef4_recycle_rx_pages(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_recycle_rx_pages() argument 307 ef4_discard_rx_packet(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_discard_rx_packet() argument 430 ef4_rx_packet_gro(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh) ef4_rx_packet_gro() argument 473 ef4_rx_mk_skb(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, int hdr_len) ef4_rx_mk_skb() argument 530 ef4_rx_packet(struct ef4_rx_queue *rx_queue, unsigned int index, unsigned int n_frags, unsigned int len, u16 flags) ef4_rx_packet() argument 617 ef4_rx_deliver(struct ef4_channel *channel, u8 *eh, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_rx_deliver() argument [all...] |
H A D | efx.h | 48 unsigned int n_frags, unsigned int len, u16 flags);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 294 unsigned int n_frags) in ef4_recycle_rx_pages() 304 } while (--n_frags); in ef4_recycle_rx_pages() 309 unsigned int n_frags) in ef4_discard_rx_packet() 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() 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() 292 ef4_recycle_rx_pages(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_recycle_rx_pages() argument 307 ef4_discard_rx_packet(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_discard_rx_packet() argument 430 ef4_rx_packet_gro(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh) ef4_rx_packet_gro() argument 473 ef4_rx_mk_skb(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh, int hdr_len) ef4_rx_mk_skb() argument 530 ef4_rx_packet(struct ef4_rx_queue *rx_queue, unsigned int index, unsigned int n_frags, unsigned int len, u16 flags) ef4_rx_packet() argument 617 ef4_rx_deliver(struct ef4_channel *channel, u8 *eh, struct ef4_rx_buffer *rx_buf, unsigned int n_frags) ef4_rx_deliver() argument [all...] |
H A D | efx.h | 48 unsigned int n_frags, unsigned int len, u16 flags);
|
/kernel/linux/linux-6.6/net/mctp/test/ |
H 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 [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | niu.c | 6530 u64 n_frags) in niu_set_txd() 6535 (n_frags << TX_DESC_NUM_PTR_SHIFT) | in niu_set_txd() 6528 niu_set_txd(struct tx_ring_info *rp, int index, u64 mapping, u64 len, u64 mark, u64 n_frags) niu_set_txd() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | niu.c | 6548 u64 n_frags) in niu_set_txd() 6553 (n_frags << TX_DESC_NUM_PTR_SHIFT) | in niu_set_txd() 6546 niu_set_txd(struct tx_ring_info *rp, int index, u64 mapping, u64 len, u64 mark, u64 n_frags) niu_set_txd() argument
|