From owner-soc-status@freebsd.org Mon Jul 4 07:53:43 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 36EADB91E4B for ; Mon, 4 Jul 2016 07:53:43 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 EBF2A2928 for ; Mon, 4 Jul 2016 07:53:42 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id r2so185294295oih.2 for ; Mon, 04 Jul 2016 00:53:42 -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=rfVT58BImGvl88NpPh92YjS0QJN2DWo4RHmDjAbTLQE=; b=M/SSitGnzuKqA1zKD4YTn97uagn/6AqsJ+b7W99tltrKNJsAFBs5UipJFEVd8Ylmfd dkJbmWNVErlWkiWhV3T7UehuH2SkAIhqjtRB0azlhJZYGQiu7kYl/m3Yde5u/RqRX4Lm 2fS7ly02SOlR9MlftetQancMABTIg9DBm3E+hewEcHD2m0XbtVE9hAUUMAxQD71RHkZc zVV3NMbsoA+7wb95VPuXFEwiVXql/Tz73LTQV2ZUBqtd5+8lgE8US+D8cHFtrProeDJA 2NK0wBSeQmU+By301C7lMEhrsjq4o4CPIP0ZTEH9Os3yHy+9J4HsYKkbiEnxnGkCK746 31Qg== 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=rfVT58BImGvl88NpPh92YjS0QJN2DWo4RHmDjAbTLQE=; b=ZzPw8KeedtCyUmiZC/ndCfC0Ae6bZTAIv5+6zxbUNV1gM6TbQlPftVzhorXY2YJsdo W3q0sBHnaxAQaF/Ik9fG59e8Gh/QybhmyWiJjYf5RiXXq3V2hlLQnK/iiLhRxsNuuAVs 8R0iCiqTRuEkUln8elucC/FwUVEsY09oJ3cqXrl6pK+gOh6tJulNZuNx4REdZisuyANl ZXM9TiCQCzwSUNX4doJGYE6DfQOnx1LHisLyBBANyOvfz7Ah0x1WyQD35HwCto/leCYP wzhIUiOYo6zu2EU1yJnqrqmurqWq2SB8PsD5PzfNZCcldlkkNhjLuhPgy3xDq/twnw2H E6nw== X-Gm-Message-State: ALyK8tI7PLTEJfZhZd4bmeaW/5i+eUqfDhNV6o6ZiaK1GeV4NComBdwpnRpeKutqmDLP1h0wpsMve1+ahfVq/Q== X-Received: by 10.202.187.139 with SMTP id l133mr5655095oif.150.1467618821820; Mon, 04 Jul 2016 00:53:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.69 with HTTP; Mon, 4 Jul 2016 00:53:41 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 4 Jul 2016 09:53:41 +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, 04 Jul 2016 07:53:43 -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 6 =================== In this week I've added support for multi-queue netmap devices, done some important bug-fixes in the datapth, and did several tests (ping, netperf) to make sure the basic driver is working. In the next week I will study how the virtio-net header works in FreeBSD and start to extend the ptnet driver to support it. 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