diff options
author | Florin Coras <fcoras@cisco.com> | 2018-01-14 12:25:50 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-01-15 16:39:12 +0000 |
commit | 4d9b9d8e74f12a26404ccdd8baf46c61b44584db (patch) | |
tree | 2c9e0314664fca52722431f14928e1b3fd0017fb /src/vlibmemory/socket_client.c | |
parent | 149a1433b0e6301a34989f5e8c7ebed3fa5bf74e (diff) |
svm: refactor memfd and remove ssvm_eth
Change-Id: Icde296e956eb89ea3a17d547f04a833916ec6440
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlibmemory/socket_client.c')
-rw-r--r-- | src/vlibmemory/socket_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vlibmemory/socket_client.c b/src/vlibmemory/socket_client.c index 4567f65e6e1..44d21228bfe 100644 --- a/src/vlibmemory/socket_client.c +++ b/src/vlibmemory/socket_client.c @@ -21,7 +21,7 @@ #define __USE_GNU #include <sys/socket.h> -#include <svm/memfd.h> +#include <svm/ssvm.h> #include <vlibmemory/socket_client.h> #include <vlibmemory/memory_client.h> @@ -231,7 +231,7 @@ static void vl_api_sock_init_shm_reply_t_handler int my_fd = -1; clib_error_t *error; i32 retval = ntohl (mp->retval); - memfd_private_t memfd; + ssvm_private_t memfd; api_main_t *am = &api_main; u8 *new_name; @@ -255,7 +255,7 @@ static void vl_api_sock_init_shm_reply_t_handler memfd.fd = my_fd; /* Note: this closes memfd.fd */ - retval = memfd_slave_init (&memfd); + retval = ssvm_slave_init_memfd (&memfd); if (retval) clib_warning ("WARNING: segment map returned %d", retval); |