Add custom mac address option to vhost interfaces. 62/362/3
authorPierre Pfister <ppfister@cisco.com>
Fri, 19 Feb 2016 13:52:44 +0000 (13:52 +0000)
committerGerrit Code Review <gerrit@fd.io>
Fri, 19 Feb 2016 15:58:07 +0000 (15:58 +0000)
commitef65cb0696b3ee42834a72a35c1eb08da75eed99
treef949c0aea6b0d3ffd9059287c94bb9e20522338a
parentb44e9bc90b634b07d5f93a731a95028adc73bcbc
Add custom mac address option to vhost interfaces.

Generating a new MAC address everytime vpp reboots can quickly
become cumbersome (e.g. in test scenarios).
This commit allows vhost mac addresses to be configured
manually.

Change-Id: Ic6d16a2d14cdf8e49dc29041bbafde39d9fc8370
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/dpdk/dpdk.h
vnet/vnet/devices/dpdk/vhost_user.c
vnet/vnet/devices/virtio/vhost-user.c
vnet/vnet/devices/virtio/vhost-user.h
vpp-api-test/vat/api_format.c
vpp/api/api.c
vpp/api/vpe.api