From owner-soc-status@freebsd.org Sat Jul 9 10:53:54 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 11E61B834BF for ; Sat, 9 Jul 2016 10:53:54 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 CDB171E79 for ; Sat, 9 Jul 2016 10:53:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id r2so91118418oih.2 for ; Sat, 09 Jul 2016 03:53:53 -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=E1InMbIDFCRcbpGjuRqU8E5FCgur2b7XgA/4TVb2siM=; b=IgtWPeuiU4qEsJGVIIpjZe2XqYPxI/XBuUnLwT5UE78Sl11+w8EufRWp5D9WkniZa8 wzAARhXLYEkNMPyXkSHKa3UbPcGV/9SMLSpUZ2TXIh4lYlm9OrVwF5dnh6zaLeOtsB4J uVceVh/xDJhdVgfs8N6XDoUXsG2rf8Lxlkhjh33shrcmEX0XHsGuRbPAWs4OziLmuBm3 fgqrihnyHOCPu3DPqOYSVb+zU8S/TnDu2YLn6Dq3hIsGZ8ilfTZEhCwvfqDYCWkMSR36 JgxM+lpriPcTVBp9lv3ibQb1Oyogok2+NCxFy1TdgayAhdqyFpHEX+E+j7eyxJreSzj8 JXaA== 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=E1InMbIDFCRcbpGjuRqU8E5FCgur2b7XgA/4TVb2siM=; b=S3Ultjd1tWc9e1k0sQuuQ6ZC5MMq2g/8G55s72YJlZYlIgH/XQRc2kKB5S8/9OduOw RE1v0MeRzBiFf/GYdQLliE+5ro8SrXZBaBJRLQdwSV+tnMcHCBoN11xU/6Lbyzs6i4Ah 1fVbKMIm/eCSCYuFkECtfp1niwWWNqX/OiBVc/K/0/bEs00gf2DmJZMbfUTHxLyYCz57 rMNuDOSQoC4NFWi4/g8VwJ9SfnsDb81HOA59qCH93F6dtsHIYY51bAROq88B731BDh7f EExHbE1l1E7nzmeGGJv3V3ME0cvImGkcPydV6EZEM6iZP6YOL/3hGFvv9Ocll6P4XVOY VhIQ== X-Gm-Message-State: ALyK8tJkc8WK7tg4EcyEyHm9MspjUbu3rUFECQWc5CY2kaPi1GK5iTEnJHCw+j/EwwUS3vOd07SjNwNJVmj+LQ== X-Received: by 10.202.187.139 with SMTP id l133mr5121503oif.150.1468061632692; Sat, 09 Jul 2016 03:53:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.69 with HTTP; Sat, 9 Jul 2016 03:53:51 -0700 (PDT) From: Vincenzo Maffione Date: Sat, 9 Jul 2016 12:53:51 +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: Sat, 09 Jul 2016 10:53:54 -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 7 =================== In this week I've explored the FreeBSD code that deals with virtio-net headers and related offloadings, so that I could start to incorporate them into the ptnet driver. Together with various code improvements, I started to implement virtio-net-header-aware datapath, both for the TX and RX side. Next week will be used to complete the virtio-net header support and start testing them through the QEMU hypervisor. 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