An open API service indexing awesome lists of open source software.

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

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=master

This 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 $?
0

Otherwise::

$ dpdktest
You don't have NICs supported by DPDK
$ echo $?
255

How 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**.