https://github.com/povilasb/dpdktest
Tool to test if your NIC is supported by DPDK
https://github.com/povilasb/dpdktest
Last synced: 3 months ago
JSON representation
Tool to test if your NIC is supported by DPDK
- Host: GitHub
- URL: https://github.com/povilasb/dpdktest
- Owner: povilasb
- Created: 2016-12-05T19:58:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-07T18:07:27.000Z (over 8 years ago)
- Last Synced: 2025-03-16T00:14:24.009Z (3 months ago)
- Language: C
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=====
About
=====.. image:: https://travis-ci.org/povilasb/dpdktest.svg?branch=master
:target: https://travis-ci.org/povilasb/dpdktest
.. image:: https://coveralls.io/repos/github/povilasb/dpdktest/badge.svg?branch=master
:target: https://coveralls.io/github/povilasb/dpdktest?branch=masterThis is a small tool that tests if you have NICs (Network Interface Cards)
that are supported by http://dpdk.org/ framework.It works only on python 3::
$ pip3 install dpdktest
If you're lucky, you'll see something like this::
$ dpdktest
NICs supported by DPDK: ['eth0', 'eth1']
$ echo $?
0Otherwise::
$ dpdktest
You don't have NICs supported by DPDK
$ echo $?
255How It Works?
=============First of all supported devices vedor:device ID list is constructed from
`rte_pci_dev_ids.h
`_.Then `dpdktest` find all network interfaces in your computer, gets
vendor:device ID pairs for every interfaces and checks if ID is in
**dpdktest/supported_devices.txt**.