summaryrefslogtreecommitdiffstats
path: root/src/vnet/vxlan/vxlan.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/vxlan/vxlan.api')
-rw-r--r--src/vnet/vxlan/vxlan.api16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vnet/vxlan/vxlan.api b/src/vnet/vxlan/vxlan.api
index dae96af6e10..9e969de7bc5 100644
--- a/src/vnet/vxlan/vxlan.api
+++ b/src/vnet/vxlan/vxlan.api
@@ -86,3 +86,19 @@ autoreply define sw_interface_set_vxlan_bypass
u8 is_ipv6;
u8 enable;
};
+
+/** \brief Offload vxlan rx request
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param hw_if_index - rx hw interface
+ @param sw_if_index - vxlan interface to offload
+ @param enable - if non-zero enable, else disable
+*/
+autoreply define vxlan_offload_rx
+{
+ u32 client_index;
+ u32 context;
+ u32 hw_if_index;
+ u32 sw_if_index;
+ u8 enable;
+};