From owner-soc-status@freebsd.org Mon Jun 20 07:05:10 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 BE002A7BE62 for ; Mon, 20 Jun 2016 07:05:10 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::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 9664B29A6 for ; Mon, 20 Jun 2016 07:05:10 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ob0-x22f.google.com with SMTP id y7so2438869obt.1 for ; Mon, 20 Jun 2016 00:05:10 -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=EqybdMU+Q/sUmexTdHLp5U8O74/7I5qRWE8DxrlPRxA=; b=rJPE3eEBzgxbjcA4xs3tpDIHCmEqxGDGfxR/XdsIz1cgGjURCxezSuBZIynltjhH3E JuRa1RX5As0I3g5SpGO0QGkZP2faVEsMoLrqwKFyWDFjX0o5d0G4BRMjJs28Bp/3O4XV C0/7OczK0cP1Qkm2Er9J68D7Q6+Lb9KPiTWP6nVif0Ixw4XDIY28bQN9qhuoVTkmpXft /1RGR7pVtytM51np7cRzfVUYqK+5pL/nTG6t3tBMRDgiCDc8UD2Bz+vOSJ3QagKafe+D zjgJktv3ghTMfslPKmzr7VPKobq/Q7GBPZTKWoaXYOPL65WG+rBA44X5TT0CUcU2U8pF WKPg== 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=EqybdMU+Q/sUmexTdHLp5U8O74/7I5qRWE8DxrlPRxA=; b=J1r968usd4cz0Hy4mZQsh0NE9nPqIONaVioV91hEmkkqRjJl9bL1R6OV6lY01kSpif vBDJI0Gs+C1gDOwnL+ctjF4vNCT38tMSNHbzlgA+JtPTX+1/p/r2jh2EJE/WkePmSES5 gSyLhxKQo2PiUkVGynpVeO4DFp/ONYNdOd7RKX2Pb4iALy1sRHWmPgAglJtFweN5mNQl GsDbF0iAkRijoLpEOfh0TDJpTlvLD6HZMtR657eCw5fAyhI8c/KvBpEoEtuYTH+46XN6 A0tqYGPwuYcy9o/F8zmNz6Ci4GjA9Fl4WsSiLWQePBk63j8FWK2DY6uYAEDYZPqANghc 4h/w== X-Gm-Message-State: ALyK8tJ16ggpJMTi+zlNI+UKlwI/8e18Ar13Wi4o8eKZgpXaGvC7alqWhr3ILlhExgHaE1i1Dw+ASh5TrNMMjg== X-Received: by 10.157.35.22 with SMTP id j22mr8591518otb.98.1466406309853; Mon, 20 Jun 2016 00:05:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.46.21 with HTTP; Mon, 20 Jun 2016 00:05:09 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 20 Jun 2016 09:05:09 +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, 20 Jun 2016 07:05:10 -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 4 =================== I've started to extend the ptnet driver, implementing the network interface methods: the ioctl routine (IFF_UP/IFF_DOWN, ...), the transmission routine and reception routine, together with interrupt handling. Plan for week 5 is to complete the implementation (add per-queue taskqueues, complete ioctl, revise TX/RX routines), so that experimentation and bug-fixing can start in week 6. 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