Damjan Marion
c3148b1be8
misc: remove GNU Indent directives
...
Type: refactor
Change-Id: I5235bf3e9aff58af6ba2c14e8c6529c4fc9ec86c
Signed-off-by: Damjan Marion <damarion@cisco.com >
2024-03-12 19:29:56 +00:00
Damjan Marion
af7fb04b81
misc: replace CLIB_PREFETCH with clib_prefetch_{load,store}
...
Type: refactor
Change-Id: Id10cbf52e8f2dd809080a228d8fa282308be84ac
Signed-off-by: Damjan Marion <damarion@cisco.com >
2021-07-15 11:25:08 +00:00
Neale Ranns
6e366be38f
misc: Purge unused pg includes
...
Type: style
Signed-off-by: Neale Ranns <nranns@cisco.com >
Change-Id: I26a19e42076e031ec5399d5ca05cb49fd6fbe1cd
2020-10-07 16:05:16 +00:00
Florin Coras
9811007f5f
nsim: limit tx burst size and refactor input node
...
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com >
Change-Id: Ic93a598051d437a5801d794b678edf6e73d42a47
2020-07-31 13:57:24 -07:00
John Lo
b966b96aa4
nsim: cross-connect mode crash at interface output node
...
Type: fix
Change-Id: If99c1d8a7ec97a726430a927eab0d3b57222af1f
Signed-off-by: John Lo <loj@cisco.com >
2019-07-12 18:04:20 +00:00
Dave Barach
7c91007e1e
Make the loss / delay sim available as an output feature
...
Add binary api and debug cli support.
Rewrite for speed: enqueue vlib_buffer_t's to the wheel, instead of
memcpy'ing data. Quad-loop the output feature / x-connect (interior)
node. Prefetch wheel entries in the input node.
Save packet-generator-based unit-test setup in extras/nsim.
Simple config example:
set nsim delay 20 ms bandwidth 1 gbit packet-size 1024
nsim output-feature enable-disable GigabitEthernet3/0/0
Change-Id: I852a32d4eb596e7e2aa1d9b30bf3b53525e39fd1
Signed-off-by: Dave Barach <dave@barachs.net >c
2019-04-11 01:19:56 +00:00
Damjan Marion
6434430fd5
buffers: don't init metadata, as it is already initialized
...
Change-Id: Ia083050389853c25b069f0f8286d50d3f4aef527
Signed-off-by: Damjan Marion <damarion@cisco.com >
2019-01-20 19:24:46 +00:00
Dave Barach
10c5ff143a
nsim: add packet loss simulation, docs
...
Change-Id: Ic9747541aad8148ebf7d520b525b99c4cc3961f3
Signed-off-by: Dave Barach <dave@barachs.net >
2018-12-06 18:28:47 +00:00
Dave Barach
178cf493d0
Remove c-11 memcpy checks from perf-critical code
...
Change-Id: Id4f37f5d4a03160572954a416efa1ef9b3d79ad1
Signed-off-by: Dave Barach <dave@barachs.net >
2018-11-14 15:54:01 +00:00
Damjan Marion
edb3a9bca8
nsim: fix multiple definitions of nsim_node
...
Change-Id: Iedd79eeba35fb7385c03a177f8ac7d3ddfeb6a84
Signed-off-by: Damjan Marion <damarion@cisco.com >
2018-09-24 20:02:48 +00:00
Dave Barach
9e3252b5ce
Network delay simulator plugin
...
Change-Id: I4a70c7df8f0cb368a4e1cb16f30eeef5c6058c79
Signed-off-by: Dave Barach <dave@barachs.net >
2018-09-24 08:08:34 +00:00