From owner-soc-status@freebsd.org Sun Jun 5 18:34:47 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 201C2B6B895 for ; Sun, 5 Jun 2016 18:34:47 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 9EC601D17 for ; Sun, 5 Jun 2016 18:34:46 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id s186so17367779lfs.1 for ; Sun, 05 Jun 2016 11:34:46 -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=MYuPovTXYScPYIzLQQSTTNI405uFVcVXIgqYX2mwrcw=; b=1IWTi1BqQc7yKD3l6txDfRBrhfdgC6xMyLbgWe4RS8vqrAkAbnkP6bP7xm0ZfIQ/6x 9LyT/oOCLYVfFzEP6MYikLRFoH52d9xzwFdzMfFolyC6hpDFgm5bBoOySYWoFwYNEYd0 ZML8BRdebuBKQSl9ZqNXwvuj/ohFiz9ewl+KQqLijtbKLZUuq8BHQGh/z1brD7IuUB1Q DDM8Li7IqW4PocMfBMQxkXPxPSOOxkY3RTCpZdw/xbLCoqFp1bpm50/8GflygNxNqdEN J802oYncxR6wxkQJpsT27IdshY8hQ4WUY6djmpjJRQqQbXg0UtshFK3YZUhlpRDfUZII e7Ag== 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=MYuPovTXYScPYIzLQQSTTNI405uFVcVXIgqYX2mwrcw=; b=TCuft2EIMG2nsJIIhrIghYN/zoAJoyBi4tqWox3PGU/lmPi4tDTVf0imHvRh4goqzj VbQzF8ViZJJzK+MrGYCKgp//mgUBDxJOGRirI/YzkovVGEwdPSWl9HGzRlMpGP/a4yzn eRzpZMES90mpaQe+0nkbL52k5CmCfD6bZIy/ffsVp/jAh3Cf4EjY4sHS/AnE2xY4aYMw pqBUHBDBfeKzIwBqS4IKjS2osz3nz71L4Zsp5DGZ9NtQJEvH421li2U6z9db+gIHhBLx xYnAtJqyj8qJiqP6VTHP4ihomxLtrwc/BftPpF10Q1E4z3bcajiS7YtcpsSIa7gqINBF n4eg== X-Gm-Message-State: ALyK8tJsB4Z3g6j/S2KR1PqamIjdopwaqoJ/m6/1XsxJHNiKmvd1eMQVOYvEwFJapbIwFIiERuCLFhClyhzfdA== X-Received: by 10.25.41.144 with SMTP id p138mr393797lfp.7.1465151684852; Sun, 05 Jun 2016 11:34:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.23.103 with HTTP; Sun, 5 Jun 2016 11:34:44 -0700 (PDT) From: Adam Starak Date: Sun, 5 Jun 2016 20:34:44 +0200 Message-ID: Subject: libnv improvements 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: Sun, 05 Jun 2016 18:34:47 -0000 Hello! Here are some useful links Wiki Github libnv My project focuses on improving libnv structure. I'm going to create additional nvlist API, port it on other OS, improve complexity of some function and use it for some tools. If you want to read more about my project, feel free to visit my wiki page. This week, I was implementing cnv API (functions, which depend on cookie parameter). Unfortunately, I was not able to finish my milestone this week due to my university duties. I've already talked to my mentor about the situation. I'll speed up this and next week in order to catch up my timeline! Best regards, Adam Starak From owner-soc-status@freebsd.org Mon Jun 6 02:45:24 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 28327B6A5BF for ; Mon, 6 Jun 2016 02:45:24 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (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 991B81E29; Mon, 6 Jun 2016 02:45:23 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f51.google.com with SMTP id w16so85819800lfd.2; Sun, 05 Jun 2016 19:45:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:cc:to:mime-version; bh=fmQYH0G66ttQJHvlSo38/2ONM/2gS3LU4Oishgw842I=; b=OmFe+ta20QBAfYlx6hwHZA943sUlcwlft6PrUB10dVzIWcEbWZRmFWINLP1EVLCcXj tLbYIQsWuiUNVgkJAVN1rlpIcHpMJx4hhbv7CjcQXnv2pwWABfAJReaqgsO63S74dRAp VDEnZfYMLKHFpBpHp76x2CdsuNXPzBsZebnJxFsXYjSIrGh3b9+CwDm29Oa3x7ExMdBK P6U0fewZOsM6UpvhvFe3ZqHUj2KxqNlLuyOfAdRLxGQZk8PmteZWazSwdlPFhEDGZmaX OKbACIgqDR3VxG23V13XO8NJz8385Rg3i8nPEQjQAzo2WvN/0SC0/QMZhCpDuwP9cgIz ryCA== X-Gm-Message-State: ALyK8tKqNXC+TTQIQBs+hjkY5H7QeBReq/Pn4ngYqSVpM8FMVnbnFOisMHPpqLdvmAWT2Q== X-Received: by 10.25.37.9 with SMTP id l9mr696908lfl.70.1465181121149; Sun, 05 Jun 2016 19:45:21 -0700 (PDT) Received: from [192.168.0.15] (87-207-152-10.dynamic.chello.pl. [87.207.152.10]) by smtp.gmail.com with ESMTPSA id 83sm1523710ljj.1.2016.06.05.19.45.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 19:45:20 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Week 2 / Non-BSM to BSM Conversion Tools / Problems with mapping and NFS Date: Mon, 6 Jun 2016 04:45:18 +0200 Message-Id: <777F3D4D-60FC-4D20-9555-3C9FF01356E4@FreeBSD.org> To: soc-status@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 02:45:24 -0000 Hello, Mapping =3D=3D=3D=3D=3D I read some contrib/openbsm source code to get the idea of how I should = implement the conversion from the Linux Audit format to the BSM format.=20= It turns out it is a little bit more complicated than I thought at the = beginning. It is not obvious to me yet how I should map the Linux Audit = format to the BSM format.=20 On one hand I can try to map as many Linux Audit audit fields to the BSM = fields as possible; it seems to be rather troublesome. On the other hand = I can ignore the whole mapping issue and just create a proper BSM trail = using the header token, trailer token and a bunch of arbitrary data = tokens to pack all the Linux audit events there.=20 The best approach would be something in the middle I guess. I wasn=E2=80=99= t able to come up with a neat solution on my own yet however; I=E2=80=99ve= got to present my research to my mentor and ask for advice since I=E2=80=99= m stuck. Here=E2=80=99s an email I=E2=80=99ve sent to freebsd-hackers@ where I = asked for help with understaing how the /etc/security/audit_event file = works = (https://lists.freebsd.org/pipermail/freebsd-hackers/2016-June/049550.html= = ). I didn=E2=80=99t receive any answer yet. Parsing =3D=3D=3D=3D=3D I felt a little bad about the fact that I=E2=80=99ve not wrote a single = line of code yet. This is why I decided to start writing a parser for = the Linux Audit trails. I=E2=80=99ve got to ask my mentor if it = wouldn=E2=80=99t be smarter if I adopt the code which parses Linux Audit = trails since it is already written = (http://people.redhat.com/sgrubb/audit/audit-parse.txt = ). NFS =3D=3D=3D=3D=3D My mentor suggested me to set up FreeBSD with NFS. I tried really hard = to get it working. My virtual machine fails to boot basically. I created = a step-by-step tutorial for future reference: = https://github.com/0mp/freebsd/wiki/Set-up-FreeBSD-with-NFS = . It is = mainly based on the oshogbo=E2=80=99s tutorial = (http://oshogbo.vexillium.org/blog/28/ = ).=20 I=E2=80=99ll update the tutorial as soon as I fix my NFS. New repository =3D=3D=3D=3D=3D I have a new repository: https://github.com/0mp/freebsd = . Midterm evaluation is coming =3D=3D=3D=3D=3D Hopefully, I=E2=80=99ll manage to catch up with at least some of my = milestones which I planned to reach before the midterm evaluation. I = simply cannot work full-time on my GSoC project due to the exams coming = soon. Outdated Wiki =3D=3D=3D=3D=3D I didn=E2=80=99t update my Wiki page in a while because I=E2=80=99m = struggling with the mapping issue. The link to the project=E2=80=99s = Wiki: = https://wiki.freebsd.org/SummerOfCode2016/NonBSMtoBSMConversionTools = . Cheers! -Mateusz= 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 From owner-soc-status@freebsd.org Mon Jun 6 19:01:11 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 14222B6D4F7 for ; Mon, 6 Jun 2016 19:01:11 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (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 D1A0613E2 for ; Mon, 6 Jun 2016 19:01:10 +0000 (UTC) (envelope-from ionutalex.teaca@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id k23so241280752oih.0 for ; Mon, 06 Jun 2016 12:01: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=Z1nRkoHEZSk+IaFaqZQdJ1JWxafy4F2KihHorI5u6aQ=; b=Z6ZVWt9WODwXAGBOjisQ+dK/oxHuMJkaIYwT3J9xCPeD5PegK67b+xUpXKW22E6vSm PQ0k7E4daDresBmaw8j43RMfsyHa/tvzeUQCfjDv9wwofFXn0Isx7ukFVO31fvUnGeEm FXUKYupvcDdoE+K22GXVTU+Wmvsu+55QVvTbXrdESKqwgsQSnFyWTAsQyVGID2cpQIqf qubWbB0L7/YplTioQpCptenoM55QPc1i9H81nXVeKMAwancoSDbjCtojYvZCUVF0C0rq 0K/0Ib41sUJNQUpS/Ik/YxZbWwRv2eRX74r3tw8TzVg7aZgS5aat+FyIoBGwRVAe2QrW i2vw== 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=Z1nRkoHEZSk+IaFaqZQdJ1JWxafy4F2KihHorI5u6aQ=; b=VR4YKS7/ipG/VCKdhujuI5EvWuryMierEyrmaU48ZkEmxhV71OZppwJkjf8Ieb+EqX VymU8DRGilKgmfsOcjBmhVkNQLlU9foNX9sQa69wQuWMJb5xBsQg3ypFI3ao0jYd8S6K QnkHooEQQ7n5BAIKpiJNZ19gZelHxTCDtMXNl1DiWucpJoTF0txyiNuh3g3DaaW3aVrj FVcZLEusoPtolxVzkZIsVVjZk0rcPiROCBKtgfzcHLh3479yTyWlgAqVAGJdi+72JIcj Ne1TH1oFxVVzUnR6JRZUazPx7a7HTHWUmNzeuLIIg9RDk/KbpwBLY82Vche9KrOmtXyB lk6A== X-Gm-Message-State: ALyK8tL5RJxTSXH5QRvsUAvYlWbysT2uA5iTmA5y7QBuck7Y7Kri+JYUiklFTvHwmn7d7KQEOLOJ5ooGUaB/aQ== X-Received: by 10.157.56.38 with SMTP id i35mr5910008otc.26.1465239670169; Mon, 06 Jun 2016 12:01:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.16.166 with HTTP; Mon, 6 Jun 2016 12:01:09 -0700 (PDT) From: Alex Teaca Date: Mon, 6 Jun 2016 22:01:09 +0300 Message-ID: Subject: [GSOC 2016] HD Audio Emulation For Bhyve Status 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 19:01:11 -0000 Hi, Here is the status with the features I have implemented so far. - set up the HDA controller as a PCI device in bhyve - design the layout of registers and implement the read and write access to the registers - implement the CORB and RIRB mechanisms in order to get commands from driver and respond back - add the hdac_codec module and implement the interface of communication between the hda controller and codec - describe the hda codec parameters for each node (ROOT, FG and AUDIO OUTPUT) - handle the GET_PARAMETER verb At the moment there is only one widget: the Autio Output Widget and the hda driver has disabled it because it does not find any Pin widget. The plan is to add the Pin output widget and to continue with the streams data in order to play some samples. Thanks, Alex From owner-soc-status@freebsd.org Tue Jun 7 12:56:01 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 06141B6D727 for ; Tue, 7 Jun 2016 12:56:01 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 964721D74 for ; Tue, 7 Jun 2016 12:56:00 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id k204so67954996wmk.0 for ; Tue, 07 Jun 2016 05:56:00 -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=gJUCpt7usk0Cz3rmpMHQXiRYjnzz8acVT+Lgv6SqAMc=; b=xR1KjnQ6gSact8uA22vfijKXk0+1jlaIZvXiQMK4jtc8u2lFcJY4Bzeyp5LvDYWwQ+ G45DKEEG/Tdrkc8qf6dXZ3fslcg/P525541fwWn64t+s0gOdduI7w4880qw7lZVgOvcE vd96PtyJFaA7kyn2tFAcWYSd3KskdOigYkwugkokdbqtTMqO3mN79uJc9qWGTQxgxTTJ VkmCPlKm9eb1K7H9q6YsqPkiEfO+MxArOq/2GrXCP4FRQiZNMF+KxVDPivQlKKojuZHH 6m87r1Yn/6/5OWI7/8UqztYdGnlTfKk0ju74b4V1byJGyVsiTp086vesZ8U1AT1Xs5YW n6Eg== 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=gJUCpt7usk0Cz3rmpMHQXiRYjnzz8acVT+Lgv6SqAMc=; b=VyF/STalm9gTIaXObfmZC3Lamz52PaWaeRPVTRCpxX9Gnv5CAzYcgSU1K3USOupK39 1FbrMk66jmNsdvzD1AbPtiuTEKMvN8J8+g/ObmeEuQ6f71ZAGKsZsQm4FmPULIXjtOyP yPsTTLyB2HGTqC3d5u71Pl/oQYxo5sBqnkJF8mArez2WSPIzMe4U4P8LXqJQPgJG+GwT ForeutA3wJeRwYl6De18OOrKs028vLiIoEhvkoWSg+Cd0u81A0ZgdAwH8R+J2fSaoY7b UhTxk+qHydwMYaPJqennjEzgKaCfuasess3tzTHNjokbY0izOrKEXrLEpfjihXOCjJN0 H0pw== X-Gm-Message-State: ALyK8tJvDi1huiHh12AijhNwkaoXRZeLthTuCptsTNC4HItZ+Q5UNzHLDdJ6XF7ULJtaReEfVfibHIz5pibyCA== X-Received: by 10.194.5.7 with SMTP id o7mr20546334wjo.145.1465304158815; Tue, 07 Jun 2016 05:55:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.17.15 with HTTP; Tue, 7 Jun 2016 05:55:58 -0700 (PDT) From: Yuri Iozzelli Date: Tue, 7 Jun 2016 14:55:58 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 2 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: Tue, 07 Jun 2016 12:56:01 -0000 Hi Project summary ======================== In this project I would like to implement a modified version of the reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude speed (current reference implementation is limited to 150 Kpps for a simple l2 switch with 2 hosts). Week 2 ========================= I fixed compilation in freebsd and tested it successfully. I added support for netmap in packet I/O handling, and it is switchable with original pcap with a command line argument. I added some functions to collect performance data and using netmap indeed speeds up the system. Overall it is still slow so I am working to find the new bottlenecks. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* brances): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli