X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Ftap%2Fcli.c;h=c74d24a12a9f891fc849bf92a2ba21769ac2cb01;hb=97d54ed43eb69f6ea731c02305ebe0ca0b1a5cc4;hp=084fb908dc928c3372c73d8fa41a825ec3f3b419;hpb=3a9f11e6d93c9839c7bb0aaa62662299165123d8;p=vpp.git diff --git a/src/vnet/devices/tap/cli.c b/src/vnet/devices/tap/cli.c index 084fb908dc9..c74d24a12a9 100644 --- a/src/vnet/devices/tap/cli.c +++ b/src/vnet/devices/tap/cli.c @@ -76,6 +76,10 @@ tap_create_command_fn (vlib_main_t * vm, unformat_input_t * input, ; else if (unformat (line_input, "tx-ring-size %d", &args.tx_ring_sz)) ; + else + if (unformat + (line_input, "host-mtu-size %d", &args.host_mtu_size)) + args.host_mtu_set = 1; else if (unformat (line_input, "no-gso")) args.tap_flags &= ~TAP_FLAG_GSO; else if (unformat (line_input, "gso")) @@ -114,7 +118,8 @@ VLIB_CLI_COMMAND (tap_create_command, static) = { "[rx-ring-size ] [tx-ring-size ] [host-ns ] " "[host-bridge ] [host-ip4-addr ] " "[host-ip6-addr ] [host-ip4-gw ] " - "[host-ip6-gw ] [host-if-name ] [no-gso|gso]", + "[host-ip6-gw ] [host-mac-addr ] " + "[host-if-name ] [host-mtu-size ] [no-gso|gso]", .function = tap_create_command_fn, }; /* *INDENT-ON* */