git: if_vtnet, sync 6/x: refactor rx_- and update_vlan_filter functions.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Oct 29 14:35:08 PDT 2015


commit bff3ad503cb8e042771d084221eac6aea24c3687
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Oct 29 22:10:53 2015 +0100

    if_vtnet, sync 6/x: refactor rx_- and update_vlan_filter functions.
    
    * Also, remove IFCAP_TSO4 and IFCAP_TSO6 #define-s, they are available
      in sys/net/if.h.
    
    * Renames vtnet_set_vlan_filter() to vtnet_update_vlan_filter().
    
    * Refactors vtnet_ctrl_rx_cmd(), making the usage of stack variables for
      DMA and the sglist_append() usage safer.
    
    Taken-From: FreeBSD

Summary of changes:
 sys/dev/virtual/virtio/net/if_vtnet.c | 96 +++++++++++++++++------------------
 1 file changed, 46 insertions(+), 50 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bff3ad503cb8e042771d084221eac6aea24c3687


-- 
DragonFly BSD source repository



More information about the Commits mailing list