Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2020 01:03:41 +0530
From:      Ankur Kothiwal <ankur@freebsd.org>
To:        soc-status@freebsd.org, rstone@freebsd.org
Subject:   [GSoC'20 Weekly Update - Week 5] eBPF XDP Hook
Message-ID:  <CA%2BQRpiHgDTqazP_DJ7YWWCZe4BYTz_dj0MX1D%2BvgjzUG08GGWA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 <rstone@> and Hiroki Sato <hrs@>

Progress made this week:
This week most of the time was spent figuring about how the XDP hook
will be implemented using pfil framework and a basic design for
implementation was created.

Currently I am on:
- XDP hook - This week's goal is to create a basic XDP hook.

Project GSoC Wiki: https://wiki.freebsd.org/SummerOfCodeIdeas#eBPF_XDP_Hooks
Github Repo for the code: https://github.com/rysto32/freebsd/tree/ebpf-import

Github repo including the changes made so far:
https://github.com/Ankurk99/freebsd/tree/ebpf-import

Thank you for reading. Please feel free to share your feedback and suggestions.

Thanks and Regards
Ankur Kothiwal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BQRpiHgDTqazP_DJ7YWWCZe4BYTz_dj0MX1D%2BvgjzUG08GGWA>