diff options
author | Michal Mazur <mkm@semihalf.com> | 2018-02-20 17:48:07 +0100 |
---|---|---|
committer | Szymon Sliwa <szs@semihalf.com> | 2018-02-22 16:55:10 +0100 |
commit | 708ae49d7a1ff8341152dc7ee7f3a5abafb2d2c0 (patch) | |
tree | 4f918cb9f49b78dd739d1bf7619e8b480dd28add /src/vppinfra/macros.h | |
parent | 0f4208d9f30bb3bfea814383e8d1a3a254c14580 (diff) |
plugins: odp: [WA] Force inline mode of ODP timer
This is a workaround for following VPP error:
"Program terminated with signal SIGUSR1, User defined signal 1."
It changes mode of timers used by ODP schedule mode.
By default inline_timers is false and timer_res_init (odp_timer.c) is
called to adjust timer resolution. This function uses SIGUSR1 during
the process which collides with VPP as it uses the same signal for
communication with clients. This patch causes inline_timers to be set
and disables adjustment of timer resolution.
Change-Id: Ic2225ba736f506a86832519f9c4154cee9c06056
Signed-off-by: Michal Mazur <mkm@semihalf.com>
Diffstat (limited to 'src/vppinfra/macros.h')
0 files changed, 0 insertions, 0 deletions