misc: binary-api sw_interface_vhost_user_dump is broken
[vpp.git] / src / vat / api_format.c
index 2f8218e..02e1c8d 100644 (file)
@@ -7341,6 +7341,8 @@ api_tap_create_v2 (vat_main_t * vam)
        tap_flags &= ~TAP_FLAG_GSO;
       else if (unformat (i, "gso"))
        tap_flags |= TAP_FLAG_GSO;
+      else if (unformat (i, "csum-offload"))
+       tap_flags |= TAP_FLAG_CSUM_OFFLOAD;
       else
        break;
     }
@@ -12636,6 +12638,7 @@ api_sw_interface_vhost_user_dump (vat_main_t * vam)
 
   /* Get list of vhost-user interfaces */
   M (SW_INTERFACE_VHOST_USER_DUMP, mp);
+  mp->sw_if_index = ntohl (~0);
   S (mp);
 
   /* Use a control ping for synchronization */