summaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.c
AgeCommit message (Expand)AuthorFilesLines
2019-08-19vlib: fix vlib_buffer_main_init_numa_node memory leak.Guanghua Zhang1-3/+8
2019-06-24vlib: packet tracer support for pkt thread handoffsDave Barach1-1/+1
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-1/+1
2019-03-06vlib: coverity woesSteven Luong1-2/+1
2019-03-04buffers: support cases where numa node memory is not availableDamjan Marion1-37/+77
2019-03-04stats: fix crash on early initFilip Tehlar1-4/+18
2019-02-26stats: buffer gauge callbacks use index instead of name.Ole Troan1-26/+20
2019-02-22stats: add buffer gaugesFilip Tehlar1-1/+87
2019-02-09buffers: fix typoDamjan Marion1-6/+8
2019-02-06buffers: make buffer data size configurable from startup configDamjan Marion1-16/+25
2019-02-06buffers: improve buffer init performanceDamjan Marion1-17/+14
2019-01-31assert on double-free in debug buildKlement Sekera1-4/+2
2019-01-31buffers: reinitialize metadata, add additional validationDamjan Marion1-0/+1
2019-01-30buffers: major cleanup and improvementsDamjan Marion1-375/+224
2019-01-20buffers: remove VLIB_BUFFER_DEFAULT_FREE_LIST macro and fl->n_data_bytesDamjan Marion1-17/+10
2019-01-20buffers: remove vlib_buffer_delete_free_listDamjan Marion1-43/+0
2019-01-20buffers: don't init metadata, as it is already initializedDamjan Marion1-1/+0
2019-01-20buffers: keep buffer_main in vlib_main_tDamjan Marion1-16/+17
2019-01-19buffers: remove free-list information from buffer metadataDamjan Marion1-14/+7
2019-01-18buffers: remove freelist argument from vlib_buffer_add_dataDamjan Marion1-9/+5
2019-01-07Handle buffer alloc failure in vlib_buffer_add_dataDave Barach1-6/+7
2019-01-01buffers: remove unused codeDamjan Marion1-63/+1
2018-11-25vlib:init free list buffers vecEyal Bari1-0/+4
2018-11-14Remove c-11 memcpy checks from perf-critical codeDave Barach1-9/+10
2018-11-13vlib:remove unused argumentEyal Bari1-1/+1
2018-10-25pmalloc: support for 4K pagesDamjan Marion1-4/+24
2018-10-23physmem coverity issuesDamjan Marion1-1/+1
2018-10-23vlib: alloc buffers on local numa, not on numa 1Damjan Marion1-1/+2
2018-10-23vlib: reduce default buffer memory size to be below RLIMIT_MEMLOCKDamjan Marion1-1/+5
2018-10-23Numa-aware, growable physical memory allocator (pmalloc)Damjan Marion1-54/+21
2018-10-23c11 safe string handling supportDave Barach1-4/+4
2018-10-16Fix coverity issue for potentially overflowing of page sizeHaiyang Tan1-1/+1
2018-09-03Deprecate old buffer replication schemeDamjan Marion1-49/+14
2018-03-16Fix a long-latent bi=0 bug in vlib_buffer_add_dataDave Barach1-1/+1
2018-03-14vlib: internal buffer manager reworkDamjan Marion1-163/+112
2018-03-05vlib: vlib_buffer_free_internal optimizationsDamjan Marion1-53/+88
2018-03-05vlib: vfio code reworkDamjan Marion1-8/+10
2018-02-07Refactor vlib_buffer flagsDamjan Marion1-17/+30
2018-01-31vlib: allocating buffers on thread-x and freeing them on thread-y causesSteven1-6/+5
2017-11-27vlib: make vlib_buffer_alloc inline functionDamjan Marion1-63/+8
2017-10-25vlib: add support for multiple buffer poolsDamjan Marion1-12/+24
2017-10-04[aarch64] Fixes CLI crashes on dpaa2 platform.Christophe Fontaine1-1/+1
2017-09-15dpdk: cli to check for buffer leakageFlorin Coras1-1/+1
2017-09-07vlib physmem reworkDamjan Marion1-7/+65
2017-08-30Thread safe internal buffer manager, take twoDamjan Marion1-0/+19
2017-07-27Thread safe internal buffer managerDamjan Marion1-6/+1
2017-07-14Introduce l{2,3,4}_hdr_offset fields in the buffer metadataDamjan Marion1-6/+10
2017-07-10vlib: store buffer memory information in the buffer_mainDamjan Marion1-24/+33
2017-07-05Buffer name inconsistently used a cstring/vec (VPP-901)Chris Luke1-3/+3
2017-04-06Use thread local storage for thread indexDamjan Marion1-3/+3
o all DUTs \| main-core 0 \ | | ... | \| rxqueues 2 | | [Arguments] | ${cpu} | ${rxqueues} | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Add CPU config | ${nodes['${dut}']} | | | ... | ${cpu} | | | Add rxqueues config | ${nodes['${dut}']} | | | ... | ${rxqueues} | Add all PCI devices to all DUTs | | [Documentation] | Add all available PCI devices from topology file to VPP | | ... | startup configuration to all DUTs | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Add PCI device | ${nodes['${dut}']} | Add PCI device to DUT | | [Documentation] | Add PCI device to VPP startup configuration | | ... | to DUT specified as argument | | ... | | ... | *Arguments:* | | ... | - ${node} - DUT node. Type: dictionary | | ... | - ${pci_address} - PCI address. Type: string | | ... | | ... | *Example:* | | ... | | ... | \| Add PCI device to DUT \| ${nodes['DUT1']} \ | | ... | \| 0000:00:00.0 | | [Arguments] | ${node} | ${pci_address} | | Add PCI device | ${node} | ${pci_address} | Add No Multi Seg to all DUTs | | [Documentation] | Add No Multi Seg to VPP startup configuration to all | | ... | DUTs | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Add No Multi Seg Config | ${nodes['${dut}']} | Remove startup configuration of VPP from all DUTs | | [Documentation] | Remove VPP startup configuration from all DUTs | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Remove All PCI Devices | ${nodes['${dut}']} | | | Remove All CPU Config | ${nodes['${dut}']} | | | Remove Socketmem Config | ${nodes['${dut}']} | | | Remove Heapsize Config | ${nodes['${dut}']} | | | Remove Rxqueues Config | ${nodes['${dut}']} | | | Remove No Multi Seg Config | ${nodes['${dut}']} | Setup default startup configuration of VPP on all DUTs | | [Documentation] | Setup default startup configuration of VPP to all DUTs | | Remove startup configuration of VPP from all DUTs | | Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | Add all PCI devices to all DUTs | | Apply startup configuration on all VPP DUTs | Apply startup configuration on all VPP DUTs | | [Documentation] | Apply startup configuration of VPP and restart VPP on all | | ... | DUTs | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Apply Config | ${nodes['${dut}']}