git: if_vtnet: Use SetMacAddress feature; Add some new feature flags.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Oct 25 16:33:02 PDT 2015


commit 23ff515ae3dab4cad2f1893b5e142259fc02e80d
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Oct 26 00:11:30 2015 +0100

    if_vtnet: Use SetMacAddress feature; Add some new feature flags.
    
    * If the VTNET_FLAG_CTRL_MAC and VTNET_FLAG_CTRL_RX features are
      available, we should set the MAC address via a control message.
    
    * Add VIRTIO_NET_F_GUEST_ANNOUNCE feature flag.
    * Add VIRTIO_CONFIG_STATUS_DEVICE_NEEDS_RESET device status bit.
    
    * Do some reordering of function declarations/implementations to reduce
      differences to FreeBSD's code a bit.
    
    Taken-From: FreeBSD

Summary of changes:
 sys/dev/virtual/virtio/net/if_vtnet.c   | 98 +++++++++++++++++++++++++++------
 sys/dev/virtual/virtio/net/virtio_net.h |  2 +
 sys/dev/virtual/virtio/virtio/virtio.h  | 11 ++--
 3 files changed, 88 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/23ff515ae3dab4cad2f1893b5e142259fc02e80d


-- 
DragonFly BSD source repository



More information about the Commits mailing list