From owner-soc-status@freebsd.org Tue Jun 23 17:46:10 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 2B1EC334297 for ; Tue, 23 Jun 2020 17:46:10 +0000 (UTC) (envelope-from ankur.kothiwal99@gmail.com) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (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 49rtxF07qhz3cbm for ; Tue, 23 Jun 2020 17:46:08 +0000 (UTC) (envelope-from ankur.kothiwal99@gmail.com) Received: by mail-qv1-f52.google.com with SMTP id a14so3755466qvq.6 for ; Tue, 23 Jun 2020 10:46:08 -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=LG11SCFb3IerxfR10bfCLkKlwFcPTCq8JoALA5OWAQA=; b=jdpa1lrWc8Wv1HHuYkgWAf1UHTy1YIx4BGpu73sU6A4LZM/UNzb3O//2NdT+QM8l/z 9JImLaioyFNDn2FfbJJF0SifuOSJ+DU/SLCcgassu4Y73Tq6W+/moCrre5/uNtm//7eo UYXDWTdJk40653lrOyTXALXD+0CS2Kv2N1MXJckNa6mS3xSSJykKNRItCxZ5x4zgda7y XNs3SY6vTOoK298Yxbrf3pS0YZb9YGM4ICAwxsZOghw9VaThmYkkngB/vouXKKQxOYXQ 2IsnP/1LeMpCjNPvvgKQqWOH/HSmMxXegCHzJ8hXtFg5m4QigasYK6S1s3iWQby4M2xA Q2Xg== X-Gm-Message-State: AOAM533DVjNYWCj7a5IyB4AgqeEUFVbb2P54sNDKKzeyv6N6VT91Ns2c rYjZp4nPHZXWDCxcH8sYiu8ke7QqfA4= X-Google-Smtp-Source: ABdhPJx/C8ovHtkK3cMQynD173bvd0ZTWYcw2Z3zJ3ng/f2dYSExbj4+Fc6UTI0XVwbfYKa9RpLz+Q== X-Received: by 2002:a05:6214:1447:: with SMTP id b7mr28412869qvy.83.1592934367715; Tue, 23 Jun 2020 10:46:07 -0700 (PDT) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com. [209.85.222.170]) by smtp.gmail.com with ESMTPSA id c24sm1305557qtd.82.2020.06.23.10.46.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jun 2020 10:46:07 -0700 (PDT) Received: by mail-qk1-f170.google.com with SMTP id q198so11783352qka.2 for ; Tue, 23 Jun 2020 10:46:06 -0700 (PDT) X-Received: by 2002:a05:620a:68a:: with SMTP id f10mr21206189qkh.419.1592934366693; Tue, 23 Jun 2020 10:46:06 -0700 (PDT) MIME-Version: 1.0 From: Ankur Kothiwal Date: Tue, 23 Jun 2020 23:15:37 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC'20 Weekly Update - Week 2] eBPF XDP Hook To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49rtxF07qhz3cbm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ankurkothiwal99@gmail.com designates 209.85.219.52 as permitted sender) smtp.mailfrom=ankurkothiwal99@gmail.com X-Spamd-Result: default: False [-1.38 / 15.00]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(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)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.67)[-0.672]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.23)[0.234]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.52:from]; NEURAL_HAM_MEDIUM(-0.94)[-0.940]; FORGED_SENDER(0.30)[ankur@freebsd.org,ankurkothiwal99@gmail.com]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.52:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ankur@freebsd.org,ankurkothiwal99@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[] 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: Tue, 23 Jun 2020 17:46:10 -0000 Hi all, Project: Implement eBPF XDP for FreeBSD by extending VirtIO ethernet driver if_vtnet The goal of this project is to extend an existing FreeBSD network driver,VirtIO if_vtnet to be able to call into an eBPF program when processing a newly received packet. The driver will perform the basic actions of XDP like PASS and DROP the packet as specified by the program. The project will also implement new map type and other eBPF helper functions.The aim of this project is to add new probe sites into the kernel that will call eBPF functions. Mentor: Ryan Stone and Hiroki Sato This week I fixed the compilation errors we were getting while compiling the kernel due to the changes made for activating probes. Also we tested that the probes are correctly listed and activated. Project GSoC Wiki: https://wiki.freebsd.org/SummerOfCodeIdeas#eBPF_XDP_Hooks Github Repo for the code: https://github.com/rysto32/freebsd/tree/ebpf-import For above related commits refer: https://github.com/Ankurk99/freebsd/tree/ebpf-import Thank you for reading. Please feel free to share your feedback and suggestions. Thanks and Regards