Damjan Marion
96a56244a5
vppinfra: devicetree improvements
...
Type: improvement
Change-Id: If20ae74658702399f626b1af7bd3519e05a5d422
Signed-off-by: Damjan Marion <damarion@cisco.com>
2024-10-09 08:39:33 +00:00
Damjan Marion
78925604e9
vlib: stack trace and signal handler improvements
...
- use libunwrap which seems to be industry standard
- display traceback on console if running interactive or with syslog
disabled (color output unless nocolor specified)
- print hexdump of offending code
- print library filename for each stack frame
Type: improvement
Change-Id: I61d3056251b87076be0578ccda300aa311c222ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
2024-05-29 09:50:18 +00:00
Damjan Marion
69768d99ee
dev: device and port specific args
...
Type: improvement
Change-Id: I26124a50d8e05d6f01a2e6dbc4bc8183fb5a09c4
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-11-16 16:01:35 +00:00
Damjan Marion
38c619115b
dev: new device driver infra
...
Type: feature
Change-Id: I20c56e0d3103624407f18365c2bc1273dea5c199
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-11-02 13:41:32 +00:00
Damjan Marion
08057947f3
vppinfra: add foreach_int macro
...
foreach_int(x, 1, 3, 5, 7)
{
fformat(stdout, "x is %u\n", x);
}
Type: improvement
Change-Id: Idc355f4a284f421b150e3acb7a3a57bcede408c7
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-10-03 12:19:58 +00:00
Damjan Marion
993735913c
vppinfra: add vec_foreach_pointer macro
...
works with vectors of pointers...
Type: improvement
Change-Id: I530653978fcf981be299cf42a1133be000d74d0c
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-08-07 17:33:25 +00:00
Damjan Marion
91ff0e965a
vppinfra: add pool_foreach_pointer()
...
Works on pools of pointers...
Type: improvement
Change-Id: I194dec389ca4c5ec2ce3361b54a9968c9caecefc
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-08-02 17:41:22 +00:00
Damjan Marion
7e58d9b625
vlib: add foreach_vlib_frame_bitmap_set_bit_index to .clang-format
...
Type: improvement
Change-Id: I6b999bcc6394bcc9325de1568dba98d1eb5a7b15
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-05-27 17:41:45 +00:00
Damjan Marion
f8b61fb538
vppinfra: add FOREACH_ARRAY_ELT macro
...
Type: improvement
Change-Id: Iac1b3a66176c9a38a161246159140f30a1c168da
Signed-off-by: Damjan Marion <damarion@cisco.com>
2023-03-17 16:20:02 +00:00
Damjan Marion
5b12d2694e
build: update .clang-format
...
Type: make
Change-Id: Iedf7af3f070cc3875f44adba38523b72f5e5ab43
Signed-off-by: Damjan Marion <damarion@cisco.com>
2022-03-25 21:07:38 +00:00
Damjan Marion
7b90f669d8
vppinfra: bitops cleanup
...
Type: refactor
Change-Id: I7fa113e924640f9d798c1eb6ae64b9c0a9e2104c
Signed-off-by: Damjan Marion <damarion@cisco.com>
2022-01-16 18:54:52 +00:00
Damjan Marion
7c11bd7a87
dpdk: move port config to single struct
...
Type: refactor
Change-Id: I0bce385c7e391fa2b74646d001980610f80f7062
Signed-off-by: Damjan Marion <damarion@cisco.com>
2022-01-05 17:43:34 +00:00
Damjan Marion
23c3488b9b
misc: add StatementMacros to .clang-format
...
Type: make
Change-Id: I79d8d0aa8b8349df0b3c1f338861350e8df31ca6
Signed-off-by: Damjan Marion <damarion@cisco.com>
2021-04-27 14:29:23 +00:00
Damjan Marion
92ccf9bcd2
vlib: convert foreach_vlib_main macro to be more gdb and clang-format friendly
...
Type: improvement
Change-Id: I1152e58d7bfcb3c4347147f87a834d45ad51cdfe
Signed-off-by: Damjan Marion <damarion@cisco.com>
2021-03-26 16:35:22 +01:00
Damjan Marion
942542f7c1
misc: migrate from GNU indent to clang-format
...
Type: make
Change-Id: I085dcd6fe826da14d456f84a23355310bdc5d1e9
Signed-off-by: Damjan Marion <damarion@cisco.com>
2020-12-18 11:06:33 +01:00
Klement Sekera
dc15be2ca7
Add C++ API
...
Change-Id: Iff634f22d43470e2dc028387b3816257fd7b4156
Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-09-19 20:06:08 +00:00