diff options
author | 2018-08-21 16:07:03 +0200 | |
---|---|---|
committer | 2018-09-20 09:12:12 +0000 | |
commit | ee2e58f6ea802437ed52cc3e4d59b89d92757135 (patch) | |
tree | 9c84a87979cf99a89635446a9868f88c84fe14df /src/vpp | |
parent | fe0aa7648703f63159be8362836b39d4727fbb0c (diff) |
vhost-user: Add disable feature support in api
Two flags to disable mergable rx buffers and indirect
descriptors are added to api.
Change-Id: Iba0ee9c48d19dfc3d3420a3fdaf44a1a1d325e99
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 85296bb2953..44aaf82a73c 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1982,6 +1982,10 @@ static void *vl_api_create_vhost_user_if_t_print s = format (s, "server "); if (mp->renumber) s = format (s, "renumber %d ", ntohl (mp->custom_dev_instance)); + if (mp->disable_mrg_rxbuf) + s = format (s, "disable_mrg_rxbuf "); + if (mp->disable_indirect_desc) + s = format (s, "disable_indirect_desc "); if (mp->tag[0]) s = format (s, "tag %s", mp->tag); |