[dpdk-dev] [PATCH v6 1/2] tools: Add support for handling built-in kernel modules

2016-01-20 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski Currently dpdk_nic_bind.py detects Linux kernel modules via reading /proc/modules. Built-in ones aren't listed there and therefore they are not being found by the script. Add support for checking built-in modules with parsing the sysfs files. This commit obsoletes the /pr

[dpdk-dev] [PATCH v6 2/2] eal/linux: Add support for handling built-in kernel modules

2016-01-20 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski Currently rte_eal_check_module() detects Linux kernel modules via reading /proc/modules. Built-in ones aren't listed there and therefore they are not being found by the script. Add support for checking built-in modules with parsing the sysfs files This commit obsoletes th

[dpdk-dev] [PATCH v7 1/2] tools: Add support for handling built-in kernel modules

2016-01-28 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski Currently dpdk_nic_bind.py detects Linux kernel modules via reading /proc/modules. Built-in ones aren't listed there and therefore they are not being found by the script. Add support for checking built-in modules with parsing the sysfs files. This commit obsoletes the /pr

[dpdk-dev] [PATCH v7 2/2] eal/linux: Add support for handling built-in kernel modules

2016-01-28 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski Currently rte_eal_check_module() detects Linux kernel modules via reading /proc/modules. Built-in ones aren't listed there and therefore they are not being found by the script. Add support for checking built-in modules with parsing the sysfs files This commit obsoletes th

[dpdk-dev] [PATCH 1/2] ethdev: Allow to overload pci_drv.devinit and pci_drv.devuninit

2016-02-02 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski This change enables drivers needing custom pci (de)initialization functions through the standard callback overloading. For example: /* * virtual function driver struct */ static struct eth_driver rte_DRIVER_pmd = { { .name = "rte_DRIVER_pmd",

[dpdk-dev] [PATCH 2/2] ethdev: Export rte_eth_dev_create_unique_device_name() to public API

2016-02-02 Thread krytarow...@caviumnetworks.com
From: Kamil Rytarowski Once pci_drv.devinit is overloaded, it's a function used in the original rte_eth_dev_init(), still reusable in altered versions. Signed-off-by: Kamil Rytarowski --- lib/librte_ether/rte_ethdev.c | 2 +- lib/librte_ether/rte_ethdev.h | 18 ++ 2 files chan