memif: Enhance show memif descriptors to display region 15/34115/2
authorSteven Luong <sluong@cisco.com>
Fri, 15 Oct 2021 15:35:56 +0000 (08:35 -0700)
committerDamjan Marion <dmarion@me.com>
Sat, 16 Oct 2021 08:33:09 +0000 (08:33 +0000)
commit27c56681d81c814be15f69bd41f98ef7b3606564
treed3bca27626f9e542e068ed283ca0adbbbacc7605
parent0d27e3e7a1d5ddd572718818a56270bac639ea2e
memif: Enhance show memif descriptors to display region

memif descriptors table may have more than one shared memory region.
To see whether a descriptor's memory address is valid or not, it
is beneficial to also display the descriptor's region. While at it,
fix the truncation problem for the offset field.

Type: improvement

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ia3b7062ac0323c39ade6f3a58333c6405889148f
src/plugins/memif/cli.c