git: Importing slightly modified virtio-net by vsrinivas

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Apr 21 14:57:23 PDT 2014


commit faa875a424df6c2018178b84f5b73a0971999fde
Author: Imre Vadasz <imre at vdsz.com>
Date:   Sat Apr 19 18:44:45 2014 +0200

    Importing slightly modified virtio-net by vsrinivas
    
    * TSO and LRO are off for now by default.
    
    * Makefile changes. Adapting manpages. Fixing a typo in vtnet_tx_offload.
    
    * Allocating tx headers with contigmalloc during attach instead of using
      kmalloc in the transmit path.
      In the worst case we need one tx header for two virtqueue ring entries.
    
    * Additionally some whitespace fixes

Summary of changes:
 share/man/man4/Makefile                 |    2 +
 share/man/man4/virtio.4                 |   10 +-
 share/man/man4/vtnet.4                  |  115 ++
 sys/conf/files                          |    1 +
 sys/config/GENERIC                      |    1 +
 sys/config/LINT                         |    1 +
 sys/config/LINT64                       |    1 +
 sys/config/X86_64_GENERIC               |    1 +
 sys/dev/virtual/virtio/Makefile         |    2 +-
 sys/dev/virtual/virtio/net/Makefile     |    6 +
 sys/dev/virtual/virtio/net/if_vtnet.c   | 2714 +++++++++++++++++++++++++++++++
 sys/dev/virtual/virtio/net/virtio_net.h |  179 ++
 12 files changed, 3027 insertions(+), 6 deletions(-)
 create mode 100644 share/man/man4/vtnet.4
 create mode 100644 sys/dev/virtual/virtio/net/Makefile
 create mode 100644 sys/dev/virtual/virtio/net/if_vtnet.c
 create mode 100644 sys/dev/virtual/virtio/net/virtio_net.h

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list