CESNET / ndk-sw

Linux driver and SW tools for Network Development Kit (NDK)

Home Page:https://www.liberouter.org/ndk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The NDK software framework

This repository contains software framework for the Network Development Kit (NDK). The NDK allows users to quickly and easily develop new network applications based on FPGA acceleration cards. You can build the FPGA firmware for this card using the NDK-APP-Minimal application. The NDK-APP-Minimal is a reference FPGA application based on the NDK. The NDK software framework is used to manage and control FPGA cards with NDK firmware. It includes:

  • Linux kernel driver
  • libnfb userspace library
  • nfb & ndp tools for basic usage

Documentation

The NDK software documentation is automatically generated documentation based on the Sphinx (public GitHub Pages - built from main branch).

Prebuilt RPM packages

The prebuilt RPM packages can be obtained via Copr:

sudo dnf copr enable @CESNET/nfb-framework

sudo dnf install nfb-framework

Build instructions

  1. Clone the repository from GitHub.

    git clone https://github.com/CESNET/ndk-sw.git

    cd ndk-sw

  2. Install all prerequisites on supported Linux distributions.

    sudo ./build.sh --bootstrap

  3. Download and extract 3rd party code archive from the GitHub Release page.

    ./build.sh --prepare

  4. Compile library and tools to the cmake-build folder.

    ./build.sh --make

  5. Compile Linux driver.

    cd drivers; ./configure; make; cd ..

  6. Load Linux driver manually.

    sudo insmod drivers/kernel/drivers/nfb/nfb.ko

License

Unless otherwise noted, the content of this repository is available under the BSD 3-Clause License. Please read LICENSE file.

Repository Maintainer

  • Martin Spinler (spinler AT cesnet.cz)

About

Linux driver and SW tools for Network Development Kit (NDK)

https://www.liberouter.org/ndk/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 85.3%Language:Cython 4.7%Language:Python 4.3%Language:CMake 2.3%Language:Shell 1.7%Language:C++ 0.7%Language:M4 0.6%Language:Makefile 0.3%Language:Dockerfile 0.1%