X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvat%2Fapi_format.c;h=02e1c8d15176c9729bf6c638a9fa7c662621429c;hb=1bf83b9d9bd9013cd07435c5bf0c5a584906857a;hp=2f8218e590f59297650fe137342530fb5e7098b8;hpb=6d4af8918c8d14aa609d6488f0793152f9ed1927;p=vpp.git diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 2f8218e590f..02e1c8d1517 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -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 */