tap: misc fixes 42/25542/2
authorMohsin Kazmi <[email protected]>
Fri, 28 Feb 2020 13:21:25 +0000 (14:21 +0100)
committerAndrew Yourtchenko <[email protected]>
Wed, 4 Mar 2020 20:08:24 +0000 (20:08 +0000)
commit488e74adf48406441434ba5ea7e03339e9c09751
tree6fde7ff40034985f0e91c720d46dcf1739124ccc
parent03bcbd3621867dac4c5dcb32b59f70424a7bc4d9
tap: misc fixes

Ticket: VPPSUPP-58

1) Previously, host mtu can't be set if tap interface is in namespace.
2) generate the host mac address, if it is not provided.
3) fix the parameters for tap_create_v2 in vat.
4) fix the pretty print of parameters for tap_create_v2 in custom dump.

Type: fix

Change-Id: I18898af90dbd37d773a40b6535dd9c03c9984679
Signed-off-by: Mohsin Kazmi <[email protected]>
src/vat/api_format.c
src/vnet/devices/tap/tap.c
src/vnet/devices/virtio/virtio.c
src/vpp/api/custom_dump.c