dpdktest-0.1.1
توضیحات
Tool to test if your NIC is supported by DPDK framework.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | dpdktest-0.1.1 |
| نام | dpdktest |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Povilas Balciunas |
| ایمیل نویسنده | balciunas90@gmail.com |
| آدرس صفحه اصلی | https://github.com/povilasb/dpdktest |
| آدرس اینترنتی | https://pypi.org/project/dpdktest/ |
| مجوز | MIT |
=====
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
<https://github.com/scylladb/dpdk/blob/cc7e6ed22c0fc08e3ff37b3e68a61979d8214547/lib/librte_eal/common/include/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**.
نحوه نصب
نصب پکیج whl dpdktest-0.1.1:
pip install dpdktest-0.1.1.whl
نصب پکیج tar.gz dpdktest-0.1.1:
pip install dpdktest-0.1.1.tar.gz