{"id":19756645,"url":"https://github.com/esnet/dpdk-plugin","last_synced_at":"2026-03-11T12:21:40.958Z","repository":{"id":44879798,"uuid":"417238047","full_name":"esnet/dpdk-plugin","owner":"esnet","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-15T19:34:23.000Z","size":98,"stargazers_count":22,"open_issues_count":4,"forks_count":13,"subscribers_count":13,"default_branch":"main","last_synced_at":"2024-05-09T12:11:52.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esnet.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-14T18:17:34.000Z","updated_at":"2023-10-17T14:49:28.000Z","dependencies_parsed_at":"2022-09-10T01:51:46.875Z","dependency_job_id":null,"html_url":"https://github.com/esnet/dpdk-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Fdpdk-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Fdpdk-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Fdpdk-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esnet%2Fdpdk-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esnet","download_url":"https://codeload.github.com/esnet/dpdk-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224207899,"owners_count":17273674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T03:16:32.391Z","updated_at":"2026-03-11T12:21:35.245Z","avatar_url":"https://github.com/esnet.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESnet DPDK Plugin\n\n## Motivation\n\nIntel's [DPDK](https://www.dpdk.org/) is a mature, highly-optimized\nlibrary for fast packet capture and generation. This plugin allows the\n[Zeek Network Security Monitor](https://zeek.org) to use it.\n\n## Install\n\n### Prerequisites\n\nInstall Zeek and zkg, and configure zkg.\n\n### Installing DPDK\n\nInstalling the DPDK libraries and kernel module differs based on your distribution:\n\n##### Ubuntu\n\n```\nsudo apt install dpdk\n```\n\n#### Bind the NIC to a DPDK-compatible driver\n\nDPDK ships with a helper script, which makes it easy to bind your network card. Start by viewing the current status:\n\n```\n$ dpdk-devbind.py --status\n\nNetwork devices using kernel driver\n===================================\n0000:00:05.0 'Elastic Network Adapter (ENA) ec20' if=ens5 drv=ena unused=igb_uio,vfio-pci *Active*\n0000:00:06.0 'Elastic Network Adapter (ENA) ec20' if=ens6 drv=ena unused=igb_uio,vfio-pci\n```\n\nOnce you've determined which network device you want to use for Zeek, you can bind it to your DPDK-aware driver:\n\n```\n$ sudo dpdk-devbind.py --bind=vfio-pci 00:06.0\n$ dpdk-devbind.py --status\n\nNetwork devices using DPDK-compatible driver\n============================================\n0000:00:06.0 'Elastic Network Adapter (ENA) ec20' drv=vfio-pci unused=ena,igb_uio\n\nNetwork devices using kernel driver\n===================================\n0000:00:05.0 'Elastic Network Adapter (ENA) ec20' if=ens5 drv=ena unused=igb_uio,vfio-pci *Active*\n```\n\n#### Install necessary build tools\n\n##### Ubuntu\n\n```\nsudo apt install cmake build-essentials\n```\n\n#### Enable hugepages\n\n`echo 1024 \u003e /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages`\n\n\n## Run Zeek\n\n### Manually\n\n```\nzeek -i dpdk::auto\n```\n\n### Via ZeekCtl\n\n```\n[worker-1]\ntype=worker\nhost=localhost\ninterface=dpdk::auto\nlb_method=custom\nlb_procs=8\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesnet%2Fdpdk-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesnet%2Fdpdk-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesnet%2Fdpdk-plugin/lists"}