From owner-soc-status@freebsd.org Mon Jun 6 08:52:19 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 175E0B6DA0A for ; Mon, 6 Jun 2016 08:52:19 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 D4C011864 for ; Mon, 6 Jun 2016 08:52:18 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id e72so215860038oib.1 for ; Mon, 06 Jun 2016 01:52:18 -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=56xqZIec9Ngv05/Vt+ulBwGlgV//m/FRx73DICdb14s=; b=TWxqY6Dz2vh6/cutWxeqCIoKZiJTPdgbKOYUcYucY4gcZVi8le5SPjZYp6V8SrEwa6 qEHW/xx3S/Hpbak6DMauCC5Jd9zFAW+++Z7XRVPqLWyQQ/XI8BvpViEaa6DBlFYEioOn WuH+u3WUMr18Dq+zfHOLcBdZ+/El+E9NplK0dCPKov8vuKqApHZR7V0znqaH9vQ8zxQQ eGgJeKxIJOCBVCmNp2jc/5survKSHYRWHUgfbGq0wGAyTVUt+RBZezo9zAbbEJmWM1Gy y768nCiSHwb4Z1eewZvsK0pNqRa5qDHh1oVhK4IDEyiNJ6sd1xE40mXAjoScry4rkj1V TkaA== 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=56xqZIec9Ngv05/Vt+ulBwGlgV//m/FRx73DICdb14s=; b=WX0a+0q7j3FFVkVArfKmDla9jkpLZEut+KRW2g2m9SihanvZLixwIcuZWNl5C3lfHi RlbcIfDr63ZDnbLecp079DPG3ITj7ysvUQm+/x6d3Ac50NBSmehD9bebrLE5bPEBVuRN rr9nkBVCfigpYkQlP+DAzkqyl10Uh7oeTXKlaFH+ecvVk2xmaUJ7ecR0F9JRM+ziNBYX gp5BNWNRYILpVRDTVuK3S8OYMEa4yZK07NJgKdv1w9yBa4QnCi6zD7A7HDMfqIFTg1YD 9FncGIjuHd/r2LIHSpOAhnPamjwe/WG2A3ooG8/jF1XUysOa2hJsd0Bp04VSKSR+REcg LWLA== X-Gm-Message-State: ALyK8tL6P4n83r+i/yOdFHqJjvmw3kVtFB/YPC0Ktl1DaFj6RuU2Zp1pAqG1s9efAGMmoa5Ie5WQpuhmEe3GpQ== X-Received: by 10.157.27.212 with SMTP id v20mr7513041otv.82.1465203137867; Mon, 06 Jun 2016 01:52:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.105 with HTTP; Mon, 6 Jun 2016 01:52:17 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 6 Jun 2016 10:52:17 +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, 06 Jun 2016 08:52:19 -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 2 =================== I've implemented the netmap methods for the ptnet driver: register, unregister, txsync, rxsync, attach, config, krings_create, krings_delete and the attach/detach code in the corresponding driver routines. In this week I will test the code and bug-fix in order to get to a point where the ptnet driver correctly works in netmap mode. 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