vmxnet3: vmxnet3_dump is broken
control ping id was not set
Fixes: gerrit 22396 /
Type: fix
@@ -173,6 +173,9 @@ api_vmxnet3_dump (vat_main_t * vam)
S (mp);
/* Use a control ping for synchronization */
+ if (!vxm->ping_id)
+ vxm->ping_id =
+ vl_msg_api_get_msg_index ((u8 *) (VL_API_CONTROL_PING_CRC));
mp_ping = vl_msg_api_alloc_as_if_client (sizeof (*mp_ping));
mp_ping->_vl_msg_id = htons (vxm->ping_id);
mp_ping->client_index = vam->my_client_index;
