Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
"autoreply" flag: autogenerate standard xxx_reply_t messages
[vpp.git]
/
src
/
vnet
/
devices
/
virtio
/
vhost_user.api
diff --git
a/src/vnet/devices/virtio/vhost_user.api
b/src/vnet/devices/virtio/vhost_user.api
index
4f604e4
..
df7ce7a
100644
(file)
--- a/
src/vnet/devices/virtio/vhost_user.api
+++ b/
src/vnet/devices/virtio/vhost_user.api
@@
-53,7
+53,7
@@
define create_vhost_user_if_reply
@param sock_filename - unix socket filename, used to speak with frontend
@param operation_mode - polling=0, interrupt=1, or adaptive=2
*/
@param sock_filename - unix socket filename, used to speak with frontend
@param operation_mode - polling=0, interrupt=1, or adaptive=2
*/
-define modify_vhost_user_if
+
autoreply
define modify_vhost_user_if
{
u32 client_index;
u32 context;
{
u32 client_index;
u32 context;
@@
-65,36
+65,16
@@
define modify_vhost_user_if
u8 operation_mode;
};
u8 operation_mode;
};
-/** \brief vhost-user interface modify response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define modify_vhost_user_if_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief vhost-user interface delete request
@param client_index - opaque cookie to identify the sender
*/
/** \brief vhost-user interface delete request
@param client_index - opaque cookie to identify the sender
*/
-define delete_vhost_user_if
+
autoreply
define delete_vhost_user_if
{
u32 client_index;
u32 context;
u32 sw_if_index;
};
{
u32 client_index;
u32 context;
u32 sw_if_index;
};
-/** \brief vhost-user interface delete response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define delete_vhost_user_if_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Vhost-user interface details structure (fix this)
@param sw_if_index - index of the interface
@param interface_name - name of interface
/** \brief Vhost-user interface details structure (fix this)
@param sw_if_index - index of the interface
@param interface_name - name of interface