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/vat | |
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/vat')
-rw-r--r-- | src/vat/api_format.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index da1892a1580..3654cd663bd 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -19,7 +19,6 @@ #include <vat/vat.h> #include <vppinfra/socket.h> -#include <svm/memfd.h> #include <vlibapi/api.h> #include <vlibmemory/api.h> #include <vnet/ip/ip.h> @@ -2206,7 +2205,7 @@ static void vl_api_memfd_segment_create_reply_t_handler socket_client_main_t *scm = vam->socket_client_main; int my_fd = -1; clib_error_t *error; - memfd_private_t memfd; + ssvm_private_t memfd; i32 retval = ntohl (mp->retval); if (retval == 0) @@ -2224,7 +2223,7 @@ static void vl_api_memfd_segment_create_reply_t_handler vam->client_index_invalid = 1; /* 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); |