summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/mem.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-09-17 13:29:33 +0200
committerDamjan Marion <dmarion@me.com>2020-09-17 13:36:50 +0000
commit5ef25165b505f761a099e6c3bc06569cfef74f26 (patch)
tree1f160dd7ef2ca2a1b58831179865b44747354bf1 /src/vppinfra/mem.h
parent256b67bc8873f268d2cecd16183398352b9fcd16 (diff)
vlib: show FD in 'show memory map'
Type: improvement Change-Id: I04752c011e4ca58f56aa53f6ae27bae93a5c4590 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/mem.h')
-rw-r--r--src/vppinfra/mem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vppinfra/mem.h b/src/vppinfra/mem.h
index e6f019cd097..9d0aa0997fc 100644
--- a/src/vppinfra/mem.h
+++ b/src/vppinfra/mem.h
@@ -83,6 +83,9 @@ typedef struct _clib_mem_vm_map_hdr
/* page size (log2) */
clib_mem_page_sz_t log2_page_sz;
+ /* file descriptor, -1 if memory is not shared */
+ int fd;
+
/* allocation mame */
#define CLIB_VM_MAP_HDR_NAME_MAX_LEN 64
char name[CLIB_VM_MAP_HDR_NAME_MAX_LEN];