From owner-soc-status@freebsd.org Mon May 30 08:22:16 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 1BB17B4EEB1 for ; Mon, 30 May 2016 08:22:16 +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 D92491E1C for ; Mon, 30 May 2016 08:22:15 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id j1so259200741oih.3 for ; Mon, 30 May 2016 01:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=wfxecPDjpoh+wOryDA8RGY1WrWrBahoArwG1IBfJw2s=; b=GzmuypOkgox0zp2KSEMi9MQENjQf456vpUKZyDN3H/LerpExi1x6EbF2weM8FvLyiB VbKBg3526fgq42+1q//JDcx/nqrudLIE+n5Ede8QWertwccWbHNqQQDWg+Z4QXp8b+gi SCWFFIqYMvvjbql/F8xGZ0906d7M4sRxGtm2sWgEwwMoJvQ1HvWLd4t3v6a1se3bDcfI x+8A8suOXm/fbDnFAgdzzqbOChnJR91MDsxwYle+QQn2fSvbOJcRmnPUhOa4ItXN2j3z qCpWneyPrGHdRzNxh65juJrZUO+I5QI/4vZXv8wu+dJ7GplCZ7pWD7qcPrrAjCYjzzsv 4h2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=wfxecPDjpoh+wOryDA8RGY1WrWrBahoArwG1IBfJw2s=; b=JLt+1FkLcSh44oMI/EIp55t0W6VetfmgF9IgUaCXbyGg0k30jRctukGVi7Y9Kw2fi1 4BxE2f1T+HQFwxg57kIdXRpXurhYU+pQ85Bu6HOYcw1AjG/yavLudl2Vc84fMXKHe9lh PQ1/7inRc2NF9WjWs00OpeMQ07vCPAJHu92CRTSau4wluu+qf80LJOTE5WFM1sjXTOOE riswa7PM611+1SJV+op0q4AYjRO6jOoNiKmH72TZy+HMKmLafrQwRUSH+3GK0QY5L0/2 y/bm56SAHh0wr39Q4+zJtBwGgO/xF24qvhZGUpISHO4ez+WXu668d0TV2yded8nU7bkd x50g== X-Gm-Message-State: ALyK8tKTOfr31JzVqS0YZ5bkyFfS37PbA9nBYrEUq17Cg7hG607EEJ1Mjns9vlwMUanXG1dUTKIoIo5hgckceA== MIME-Version: 1.0 X-Received: by 10.202.232.194 with SMTP id f185mr17630857oih.168.1464596535226; Mon, 30 May 2016 01:22:15 -0700 (PDT) Received: by 10.157.29.105 with HTTP; Mon, 30 May 2016 01:22:15 -0700 (PDT) Date: Mon, 30 May 2016 10:22:15 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough From: Vincenzo Maffione 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, 30 May 2016 08:22:16 -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 1 =================== I've studied the structure of a freebsd PCI NIC driver and implemented the basic device methods for ptnet (device probe attach, detach), including device capabilities discovery, ethernet interface initialization and MSI-X interrupt service routine setup. 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 Best Regards, Vincenzo Maffione