From owner-soc-status@freebsd.org Sun Jun 7 15:06:57 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05DDB32EB8E for ; Sun, 7 Jun 2020 15:06:57 +0000 (UTC) (envelope-from denis.sale@gmail.com) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49g08v59NLz4045 for ; Sun, 7 Jun 2020 15:06:55 +0000 (UTC) (envelope-from denis.sale@gmail.com) Received: by mail-lf1-f65.google.com with SMTP id 202so8663989lfe.5 for ; Sun, 07 Jun 2020 08:06:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+VRB7KAJ+1xY27NT8ytFlfY7fNYsKd3mM0C4I9qF8b0=; b=bsAxECuk69/27JDq/un6Vhm3DV8ej7W7uERA8rfnKBUQZpG4awMXPEipaHDySV2tzE gu1mh3huQaAw0iWCGNns6aCEY5o0VFWHXLBwcDYcgJQNTejWjhzuC/Z/9GrKStuebR+o m4VP+Qa9nA1XJJKzSP/bLREieLqI1Di6hy6FaQKoaQFf7kCUn4cjSGMiB5fouw50TKBu WG6QAZhz7Uh+LFo5kZTvd94yIyoOa7TNjmEmvZ/i6VyqW0pn6GhBcrvxsBMxA/GL+ty8 wZ3t/eN4P7uzXHDBB4smPMM1G2KSMVsHy7vRifPQ/pulvOX9816FpcD0wPMv0jruMGip P72Q== X-Gm-Message-State: AOAM530oST91iygoOE5bN3aZPPEvXAebDnnFTqz4/rVR2NK+uzHyQR9j eQgsnfJhoGozHf9a9UVFeBYnfLe2WRM= X-Google-Smtp-Source: ABdhPJwFWkvZ0eum9TbjBob67gIoB7jw/HjvIeuW/UE9zvYzLbodkIQVj+wpcHRsM1462s0lDltpRA== X-Received: by 2002:a19:c751:: with SMTP id x78mr10504380lff.82.1591542412907; Sun, 07 Jun 2020 08:06:52 -0700 (PDT) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id b17sm2978195ljd.125.2020.06.07.08.06.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2020 08:06:52 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id e4so17384264ljn.4 for ; Sun, 07 Jun 2020 08:06:52 -0700 (PDT) X-Received: by 2002:a2e:b17a:: with SMTP id a26mr9630386ljm.348.1591542412200; Sun, 07 Jun 2020 08:06:52 -0700 (PDT) MIME-Version: 1.0 From: Denis Salopek Date: Sun, 7 Jun 2020 17:06:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC'20 intro & progress] NetFPGA SUME reference NIC device driver To: soc-status@freebsd.org X-Rspamd-Queue-Id: 49g08v59NLz4045 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of denissale@gmail.com designates 209.85.167.65 as permitted sender) smtp.mailfrom=denissale@gmail.com X-Spamd-Result: default: False [-0.74 / 15.00]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.14)[0.135]; NEURAL_SPAM_LONG(0.03)[0.031]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.65:from]; NEURAL_HAM_MEDIUM(-0.90)[-0.902]; FORGED_SENDER(0.30)[denissal@freebsd.org,denissale@gmail.com]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.65:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[denissal@freebsd.org,denissale@gmail.com]; TAGGED_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 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, 07 Jun 2020 15:06:57 -0000 Hi all, The aim of this project is to create a device driver for NetFPGA SUME (a development board with a Virtex-7 FPGA and 4 SFP+ 10 Gbps ports). This would enable the use of this board as a 4x 10Gbps NIC on FreeBSD, along with Netmap support for fast-throughput packet processing. *Mentors* Marko Zec, Bjoern A. Zeeb (zec@fer.hr, bz@freebsd.org) *My progress in the last few weeks* - set up the environment (fresh FreeBSD 12.1 installation for NetFPGA testing and another computer with an Intel X520 connected to the NetFPGA for RX/TX testing in the later stage), - researched iflib(4) and netgraph(4) in order to figure out how to work with them, - created an iflib/netgraph mockup driver just to see if I could make iflib work before trying it with the real hardware, - researched the existing Linux SUME driver, - decided that iflib is not the real tool for the job, decided to abandon the idea and start writing a device driver from scratch (modeled by the Linux driver), - created a dummy driver which loads/unloads when the board is connected and disconnected. *My Wiki page* https://wiki.freebsd.org/DenisSalopek *Project Wiki page* https://wiki.freebsd.org/SummerOfCode2020Projects/NetFPGA_SUME_Driver *Github* https://github.com/denisSal/ng-sume https://github.com/denisSal/freebsd-sume Suggestions and feedback are welcome, of course! Best regards, Denis