diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-09-06 11:56:43 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-12-08 16:10:20 +0200 |
commit | f0934af34212ad3ffa353643888d1da08bf742f7 (patch) | |
tree | 2371eee84c01616cc7472dcdcc03252d5cde2308 /helper/cli.c | |
parent | 0576df3d4a507358c2be7a17ffdf8119f2aac658 (diff) |
helper: remove usage of deprecated ODP_SHM_SW_ONLY flag
Stop using deprecated SHM flag ODP_SHM_SW_ONLY.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'helper/cli.c')
-rw-r--r-- | helper/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/cli.c b/helper/cli.c index 97fa232a3..0503da230 100644 --- a/helper/cli.c +++ b/helper/cli.c @@ -85,7 +85,7 @@ int odph_cli_init(const odph_cli_param_t *param) int shm_size = sizeof(cli_shm_t) + param->max_user_commands * sizeof(user_cmd_t); odp_shm_t shm_hdl = - odp_shm_reserve(shm_name, shm_size, 64, ODP_SHM_SW_ONLY); + odp_shm_reserve(shm_name, shm_size, 64, 0); if (shm_hdl != ODP_SHM_INVALID) shm = (cli_shm_t *)odp_shm_addr(shm_hdl); |