Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 57) sorted by relevance

123

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-dma-engine.c384 int segments = 0; in __cvmx_dma_engine_build_internal_pointers() local
391 buffers[segments].u64 = 0; in __cvmx_dma_engine_build_internal_pointers()
396 segments++; in __cvmx_dma_engine_build_internal_pointers()
398 return segments; in __cvmx_dma_engine_build_internal_pointers()
416 int segments = 0; in __cvmx_dma_engine_build_external_pointers() local
427 segments++; in __cvmx_dma_engine_build_external_pointers()
438 segments+=2; in __cvmx_dma_engine_build_external_pointers()
452 segments+=3; in __cvmx_dma_engine_build_external_pointers()
469 segments+=4; in __cvmx_dma_engine_build_external_pointers()
489 segments+=4; in __cvmx_dma_engine_build_external_pointers()
[all …]
/f-stack/dpdk/doc/guides/prog_guide/
H A Dgeneric_segmentation_offload_lib.rst16 For example, GSO allows guest kernel stacks to transmit over-sized TCP segments
29 to free mbuf GSO segments attached after calling ``rte_gso_segment()``.
30 The size of GSO segments (``segsz``) is configurable by the application.
78 the elements produced by the API are also called 'segments', for clarity the
103 In one situation, the output segment may contain additional 'data' segments.
110 between segments of the input multi-segment mbuf.
113 numerous output segments; for optimal performance, the number of output
114 segments is kept to a minimum. Consequently, the GSO library maximizes the
179 used to store the GSO segments' packet headers.
182 used to locate GSO segments' packet payloads.
[all …]
/f-stack/freebsd/x86/x86/
H A Dbusdma_bounce.c77 bus_dma_segment_t *segments; member
203 newtag->segments = NULL; in bounce_bus_dma_tag_create()
273 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy()
303 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
307 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
417 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
421 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
735 segs = dmat->segments; in bounce_bus_dmamap_load_phys()
788 segs = dmat->segments; in bounce_bus_dmamap_load_buffer()
865 segs = dmat->segments; in bounce_bus_dmamap_load_ma()
[all …]
/f-stack/freebsd/mips/mips/
H A Dbusdma_machdep.c100 bus_dma_segment_t *segments; member
413 newtag->segments = NULL; in bus_dma_tag_create()
524 if (dmat->segments != NULL) in bus_dma_tag_destroy()
525 free(dmat->segments, M_BUSDMA); in bus_dma_tag_destroy()
553 if (dmat->segments == NULL) { in bus_dmamap_create()
557 if (dmat->segments == NULL) { in bus_dmamap_create()
665 if (dmat->segments == NULL) { in bus_dmamem_alloc()
669 if (dmat->segments == NULL) { in bus_dmamem_alloc()
925 segs = dmat->segments; in _bus_dmamap_load_phys()
990 segs = dmat->segments; in _bus_dmamap_load_buffer()
[all …]
/f-stack/freebsd/arm64/arm64/
H A Dbusdma_bounce.c79 bus_dma_segment_t *segments; member
266 newtag->segments = NULL; in bounce_bus_dma_tag_create()
356 if (dmat->segments != NULL) in bounce_bus_dma_tag_destroy()
357 free(dmat->segments, M_DEVBUF); in bounce_bus_dma_tag_destroy()
413 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
417 if (dmat->segments == NULL) { in bounce_bus_dmamap_create()
524 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
528 if (dmat->segments == NULL) { in bounce_bus_dmamem_alloc()
819 segs = dmat->segments; in bounce_bus_dmamap_load_phys()
908 segs = dmat->segments; in bounce_bus_dmamap_load_buffer()
[all …]
/f-stack/dpdk/app/test-bbdev/
H A Dtest_bbdev_vector.c396 op_data = vector->entries[type].segments; in parse_data_entry()
920 if (vector->entries[DATA_INPUT].segments[i].addr == NULL) in check_decoder_segments()
928 if (vector->entries[DATA_HARD_OUTPUT].segments[i].addr == NULL) in check_decoder_segments()
937 if (vector->entries[DATA_SOFT_OUTPUT].segments[i].addr == NULL) in check_decoder_segments()
950 if (vector->entries[DATA_INPUT].segments[i].addr == NULL) in check_ldpc_decoder_segments()
954 if (vector->entries[DATA_HARD_OUTPUT].segments[i].addr == NULL) in check_ldpc_decoder_segments()
962 if (vector->entries[DATA_SOFT_OUTPUT].segments[i].addr == NULL) in check_ldpc_decoder_segments()
970 if (vector->entries[DATA_HARQ_OUTPUT].segments[i].addr == NULL) in check_ldpc_decoder_segments()
1200 if (vector->entries[DATA_INPUT].segments[i].addr == NULL) in check_encoder()
1207 if (vector->entries[DATA_HARD_OUTPUT].segments[i].addr == NULL) in check_encoder()
[all …]
H A Dtest_bbdev_vector.h55 struct op_data_buf segments[RTE_BBDEV_TURBO_MAX_CODE_BLOCKS]; member
H A Dtest_bbdev_perf.c430 max_seg_sz = entries->segments[i].length; in create_mbuf_pool()
1809 orig_op->segments[i].length, data_len); in validate_op_chain()
1904 TEST_ASSERT(orig_op->segments[i].length < in validate_op_harq_chain()
1907 orig_op->segments[i].length, data_len); in validate_op_harq_chain()
2053 hard_data_orig->segments[0].addr, in validate_ldpc_bler()
2054 hard_data_orig->segments[0].length)) in validate_ldpc_bler()
2186 entry->segments[i].length; in create_reference_dec_op()
2199 entry->segments[i].length; in create_reference_ldpc_dec_op()
2205 entry->segments[i].length; in create_reference_ldpc_dec_op()
2220 entry->segments[i].length; in create_reference_enc_op()
[all …]
/f-stack/dpdk/doc/guides/nics/
H A Dmemif.rst49 …zero-copy client mode. Only relevant to client, requires '--single-file-segments' eal argument", "…
179 is only relevant to client and requires eal argument '--single-file-segments'.
182 With single file segments we can calculate offset from the beginning of the file
208 Only single file segments mode (EAL option --single-file-segments) is supported, as calculating
209 offset from multiple segments is too expensive.
225 … --proc-type=primary --file-prefix=pmd2 --vdev=net_memif,zero-copy=yes --single-file-segments -- -i
H A Dthunderx.rst399 Maximum packet segments
402 The ThunderX SoC family NICs support up to 12 segments per packet when working
404 frame size does not fit in the maximum number of segments.
H A Davp.rst42 * Chained mbufs may include up to 5 chained segments,
/f-stack/dpdk/doc/guides/cryptodevs/
H A Doverview.rst17 which means that an input buffer can consist of multiple segments,
23 (i.e. both can consists of multiple segments).
/f-stack/freebsd/contrib/device-tree/Bindings/cpufreq/
H A Dimx-cpufreq-dt.txt34 /* grade >= 1, all segments */
/f-stack/dpdk/drivers/net/ark/
H A Dark_ethdev_rx.c343 uint16_t segments; in eth_ark_rx_jumbo() local
347 segments = 1; in eth_ark_rx_jumbo()
359 segments += 1; in eth_ark_rx_jumbo()
370 mbuf0->nb_segs = segments; in eth_ark_rx_jumbo()
/f-stack/freebsd/mips/cavium/octe/
H A Dethernet-rx.c247 int segments = work->word2.s.bufs; in cvm_oct_tasklet_rx() local
251 while (segments--) { in cvm_oct_tasklet_rx()
H A Dethernet.c281 int segments = work->word2.s.bufs; in cvm_oct_free_work() local
284 while (segments--) { in cvm_oct_free_work()
/f-stack/dpdk/doc/guides/compressdevs/
H A Doverview.rst23 (i.e. both can consists of multiple segments).
/f-stack/freebsd/kern/
H A Duipc_mbuf.c2042 uintmax_t segments[MP_BUCKETS]; member
2058 int segments = 0; in m_profile() local
2063 segments++; in m_profile()
2077 if (segments > MP_BUCKETS - 1) in m_profile()
2078 segments = MP_BUCKETS - 1; in m_profile()
2085 mbprof.segments[segments]++; in m_profile()
2131 p = &mbprof.segments[0]; in mbprof_textify()
2140 p = &mbprof.segments[16]; in mbprof_textify()
/f-stack/dpdk/doc/guides/tools/
H A Dcomp_perf.rst30 if the max-num-sgl-segs x seg_sz > input size then segments number in
81 ``--max-num-sgl-segs N``: maximum number of segments for each mbuf (default: 16)
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dipv4_multicast.rst254 walk though all segments of the input packet and for each of segment,
277 Therefore, for a small number of outgoing ports (and segments in the input packet),
279 As the number of outgoing ports (and/or input segments) grows, the second approach becomes more pre…
281 Depending on the number of segments or the number of ports in the outgoing portmask,
/f-stack/freebsd/contrib/zstd/doc/educational_decoder/
H A DREADME.md10 so it can be used to understand how complex segments could be implemented.
/f-stack/dpdk/doc/guides/linux_gsg/
H A Dlinux_eal_parameters.rst78 * ``--single-file-segments``
/f-stack/dpdk/drivers/net/avp/
H A Davp_ethdev.c1704 unsigned int segments; in avp_xmit_scattered_pkts() local
1737 segments = 0; in avp_xmit_scattered_pkts()
1750 else if (unlikely(required + segments > avail)) in avp_xmit_scattered_pkts()
1752 segments += required; in avp_xmit_scattered_pkts()
1767 n = avp_fifo_get(alloc_q, (void **)&avp_bufs, segments); in avp_xmit_scattered_pkts()
1768 if (unlikely(n != segments)) { in avp_xmit_scattered_pkts()
1771 n, segments, orig_nb_pkts); in avp_xmit_scattered_pkts()
/f-stack/freebsd/arm/arm/
H A Dbusdma_machdep.c189 bus_dma_segment_t *segments; member
706 map->segments = (bus_dma_segment_t *)((uintptr_t)map + mapsize); in allocate_map()
1059 segs = map->segments; in _bus_dmamap_load_phys()
1153 segs = map->segments; in _bus_dmamap_load_buffer()
1261 segs = map->segments; in _bus_dmamap_complete()
/f-stack/freebsd/contrib/device-tree/src/arm64/ti/
H A Dk3-am65.dtsi120 /* Now include the peripherals for each bus segments */

123