summaryrefslogtreecommitdiffstats
path: root/src/scvpp/src/interface.c
diff options
context:
space:
mode:
authorjackiechen1985 <xiaobo.chen@tieto.com>2019-06-19 15:00:10 +0800
committerTianyi Wang <tianyi.wang@tieto.com>2019-07-01 02:59:14 +0000
commitf086b6eec410b18daba34e6a0dd64f46c076bbe7 (patch)
tree347f0cc60dce7c79c087f9856ddc393efda03a0d /src/scvpp/src/interface.c
parent9577e763933b61cc34f77e8b8f886e78c00176fc (diff)
SCVPP callback helper function enhancement:
- Combine VAPI_RETVAL_CB and VAPI_COPY_CB. Replace them with VAPI_REQUEST_CB; - Add VAPI_REQUEST_CB2 to process VPP Variable-Length reply structure; Change-Id: Ib66003a40d98e4e0b159ae74c9cb8dcd88c34099 Signed-off-by: jackiechen1985 <xiaobo.chen@tieto.com>
Diffstat (limited to 'src/scvpp/src/interface.c')
-rw-r--r--src/scvpp/src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scvpp/src/interface.c b/src/scvpp/src/interface.c
index 8f3b30b..3a30dc5 100644
--- a/src/scvpp/src/interface.c
+++ b/src/scvpp/src/interface.c
@@ -125,7 +125,7 @@ struct elt* interface_dump_all()
return stack;
}
-VAPI_RETVAL_CB(sw_interface_set_flags);
+VAPI_REQUEST_CB(sw_interface_set_flags);
int interface_enable(const char *interface_name, const bool enable)
{