From owner-soc-status@freebsd.org Mon Jul 18 09:15:06 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4180CB9CA47 for ; Mon, 18 Jul 2016 09:15:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0971A1361 for ; Mon, 18 Jul 2016 09:15:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x233.google.com with SMTP id l72so97695958oig.2 for ; Mon, 18 Jul 2016 02:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=62CR/DE6FvdLyAPhLXmycGaN4L0CjeksVHt4Ati4/Bo=; b=V62j2OKXJ6OPUq5nrM1kY7B1EZBNd1RdDijSM/wMjAvI2eTvoC8u37MFuOaJSvRd4Q Jc9QXXrKiORjKcRC8lxMIJ5iWLu8VguCwLInLO/buba8/bwZb4s+xb/nvA3QVyLq9lBM ksXsh1vFwveLuIdedy82sOYbWKtSNYmiKPzFXPg3fhRk32rixjchyiFL4TF4AbPMkiZm m83vyVEbdjU9LembR30UkC8YflphJkcDUq80hWsZxe8T+Rc7szYQDwCngzGxxC1Il5fb VOYClaevh4UADKpAWDq1NQyPuHHokM/yI2jOQcdDzmOiN0g9+cyjQ6wfVm7Zg/QpXIj2 4FQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=62CR/DE6FvdLyAPhLXmycGaN4L0CjeksVHt4Ati4/Bo=; b=a6ZCK+Urz99+9ppdRicOJn+3+UPJ4xC5Ic0N5NWRenOPJuvHuSs5a3I7rHEWWc58pG s7zwaHg/lbpQ/aNP1DVuMg4frgAD5Vx/GBVJ6CrAtmyeNnP24KEzy6g+BWhtZsEd2YUx cI6LpJlCWrGD9TGcM9Md1AjOgs/nc7WNqNLDSttDhI3QAdHabG3AEnS8d8Sh3SB6+Gp6 dQwhhrRD4lsyyiz2obFFQvFh4Lql+MkJvoZb57wts/tfoGVitsJf3z+nrLcxF7RQ86+w IHWcsUNrC6pitLsXx7olyJDwbdIIMqEBhM+dwBz6KrViSpL3j9tp2pv4shTGf/qrbtWy O7vg== X-Gm-Message-State: ALyK8tJNzW5Jw1muXK3lIq1YeuUxTCHvSObCeA2fJbYXRsbTwEBc/5ieFFOlAN28pAOwesCo/QHuaGhcdP3rRg== X-Received: by 10.157.18.142 with SMTP id g14mr19281097otg.1.1468833305276; Mon, 18 Jul 2016 02:15:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.6 with HTTP; Mon, 18 Jul 2016 02:15:04 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 18 Jul 2016 11:15:04 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 09:15:06 -0000 Hello Project summary ================= ptnet is a new multi-queue paravirtualized device that builds on ptnetmap to allow VMs to exchange TCP traffic at 20 Gbps, while still offering the same ptnetmap performance (10-100 Mpps) to native netmap applications. The purpose of this SOC project is to write a ptnet driver for FreeBSD and a corresponding device model for the bhyve hypervisor. Status update for week 8 =================== In week 8 I advanced the implementation of virtio-net header support for the ptnet driver and tested the implementation using the QEMU hypervisor. I also added support for optional virtio-net-header selection, interface statistics and polling. During next week I will finalize the driver implementation and start to study bhyve code to adapt it to netmap. Links: Project wiki page: https://wiki.freebsd.org/SummerOfCode2016/PtnetDriverAndDeviceModel Code: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c?view=markup -- Vincenzo Maffione