[dpdk-dev] [PATCH] ethdev: Support VFs on the different PCI domains

2016-10-12 Thread Kamil Rytarowski
W dniu 11.10.2016 o 18:52, David Marchand pisze: > On Tue, Oct 11, 2016 at 3:49 PM, Kamil Rytarowski > wrote: >> diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c >> index 382c959..01d5fb0 100644 >> --- a/lib/librte_ether/rte_ethdev.c &

[dpdk-dev] [PATCH v2 14/15] ethdev: Support VFs on the different PCI domains

2016-10-11 Thread Kamil Rytarowski
W dniu 10.10.2016 o 15:27, Ferruh Yigit pisze: > On 10/10/2016 2:01 PM, Kamil Rytarowski wrote: >> >> W dniu 10.10.2016 o 12:19, Ferruh Yigit pisze: >>> Hi Kamil, >>> >>> On 9/30/2016 1:05 PM, Kamil Rytarowski wrote: >>>> It's possib

[dpdk-dev] [PATCH] ethdev: Support VFs on the different PCI domains

2016-10-11 Thread Kamil Rytarowski
It's possible to have the same numbers for bus, device id and function, therefore we need to differentiate on domain. This enables DPDK with multiple VFs on ThunderX 2-socket hardware. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-o

[dpdk-dev] [PATCH v2 14/15] ethdev: Support VFs on the different PCI domains

2016-10-10 Thread Kamil Rytarowski
W dniu 10.10.2016 o 12:19, Ferruh Yigit pisze: > Hi Kamil, > > On 9/30/2016 1:05 PM, Kamil Rytarowski wrote: >> It's possible to have the same numbers for bus, device id and function, >> therefore we need to differentiate on domain. >> >> This enables DPDK

[dpdk-dev] [PATCH v2 15/15] net/thunderx: Bump driver version to 2.0

2016-09-30 Thread Kamil Rytarowski
Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH v2 14/15] ethdev: Support VFs on the different PCI domains

2016-09-30 Thread Kamil Rytarowski
It's possible to have the same numbers for bus, device id and function, therefore we need to differentiate on domain. This enables DPDK with multiple VFs on ThunderX 2-socket hardware. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-o

[dpdk-dev] [PATCH v2 13/15] net/thunderx: document secondary queue set support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- doc/guides/nics/thunderx.rst | 148 --- 1

[dpdk-dev] [PATCH v2 12/15] net/thunderx: add final bits for secondary queue support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Summary: - add secondary qset support in device stats - add support for releasing mbufs from RBDR for >8 queues - add support for releasing mbufs from RX queues for >8 queues - support >8 queues in tx_queue_setup - support >8 queues in rx_queue_setup - s

[dpdk-dev] [PATCH v2 11/15] net/thunderx: add secondary qset support in device configure

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 65 + 1

[dpdk-dev] [PATCH v2 10/15] net/thunderx: add secondary qset support in device start

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 266 +++- 1

[dpdk-dev] [PATCH v2 09/15] net/thunderx: add secondary qset support in dev stop/close

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 142 +++- 1

[dpdk-dev] [PATCH v2 08/15] net/thunderx: add helper utils for secondary qset support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.h | 39 + 1

[dpdk-dev] [PATCH v2 07/15] net/thunderx: remove problematic private_data->eth_dev link

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski In case of the multiprocess mode a shared nicvf struct between processes cannot point with the eth_dev pointer to master device, therefore remove it allong with references to it refactoring the code where needed. This change fixes multiprocess issues detected in stats

[dpdk-dev] [PATCH v2 06/15] net/thunderx: add secondary queue set in interrupt functions

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 41 ++--- 1

[dpdk-dev] [PATCH v2 05/15] net/thunderx: add family of functions to store DPDK qsets

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski These functions (nicvf_svf) are DPDK specialization of base/nicvf_bsvf.[ch] ones. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob

[dpdk-dev] [PATCH v2 04/15] net/thunderx/base: add secondary queue set support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Changes: - add new message sqs_alloc in mailbox - add a queue container to hold secondary qsets. - add nicvf_mbox_request_sqs - handle new mailbox messages for secondary queue set support - register secondary queue sets for furthe reuse - register the number

[dpdk-dev] [PATCH v2 03/15] net/thunderx/base: add family of functions to store qsets

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski This interface (nicvf_bsvf) will be used for secondary queue set support. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers

[dpdk-dev] [PATCH v2 02/15] net/thunderx: correct transmit checksum handling

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski The symbols PKT_TX_TCP_CKSUM and PKT_TX_UDP_CKSUM are not bits on a bitmask. Set l3_offset always for TX offloads, not just for PKT_TX_IP_CKSUM being true. Fixes: 1c421f18e095 ("net/thunderx: add single and multi-segment Tx") Signed-off-by: Maciej Czekaj Sig

[dpdk-dev] [PATCH v2 01/15] net/thunderx: cleanup the driver before adding new features

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Refactored features: - enable nicvf_qset_rbdr_precharge to handle secondary queue sets - rte_free already handles NULL pointer - check mempool flags to predict being contiguous in memory - prohibit to use mempool with multiple memory chunks - simplify local construct

[dpdk-dev] [PATCH v2 00/15] Add support for secondary queue set in nicvf thunderx driver

2016-09-30 Thread Kamil Rytarowski
http://dpdk.org/dev/patchwork/patch/14963/ [dpdk-dev,2/3] net/thunderx: introduce cqe_rx2 HW capability flag http://dpdk.org/dev/patchwork/patch/14964/ [dpdk-dev,3/3] net/thunderx: add 81xx SoC support http://dpdk.org/dev/patchwork/patch/14965/ Kamil Rytarowski (15): net/thunderx: cleanup the

[dpdk-dev] [PATCH 00/13] Add support for secondary queue set in nicvf thunderx driver

2016-09-19 Thread Kamil Rytarowski
ping W dniu 12.09.2016 o 12:59, Kamil Rytarowski pisze: > ping > > > W dniu 26.08.2016 o 18:53, Kamil Rytarowski pisze: >> This series of patches adds support for secondary queue set in nicvf >> thunderx >> driver >> >> There are two types of

[dpdk-dev] [PATCH 00/13] Add support for secondary queue set in nicvf thunderx driver

2016-09-12 Thread Kamil Rytarowski
ping W dniu 26.08.2016 o 18:53, Kamil Rytarowski pisze: > This series of patches adds support for secondary queue set in nicvf thunderx > driver > > There are two types of VFs: > - Primary VF > - Secondary VF > > Each port consist of a primary VF and n secondary V

[dpdk-dev] [PATCH 13/13] net/thunderx: document secondary queue set support

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- doc/guides/nics/thunderx.rst | 114 --- 1

[dpdk-dev] [PATCH 12/13] net/thunderx: add final bits for secondary queue support

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 178 +--- 1

[dpdk-dev] [PATCH 11/13] net/thunderx: add secondary qset support in device configure

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 65 + 1

[dpdk-dev] [PATCH 10/13] net/thunderx: add secondary qset support in device start

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 266 +++- 1

[dpdk-dev] [PATCH 09/13] net/thunderx: add secondary qset support in dev stop/close

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 142 +++- 1

[dpdk-dev] [PATCH 08/13] net/thunderx: add helper utils for secondary qset support

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.h | 39 + 1

[dpdk-dev] [PATCH 07/13] net/thunderx: fix multiprocess support in stats

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski In case of the multiprocess mode a shared nicvf struct between processes cannot point with the eth_dev pointer to master device, therefore remove it allong with references to it refactoring the code where needed. Fixes: 7413feee662d ("net/thunderx: add device start

[dpdk-dev] [PATCH 06/13] net/thunderx: add secondary queue set in interrupt functions

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 41 ++--- 1

[dpdk-dev] [PATCH 05/13] net/thunderx: add family of functions to store DPDK qsets

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski These functions (nicvf_svf) are DPDK specialization of base/nicvf_bsvf.[ch] ones. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob

[dpdk-dev] [PATCH 04/13] net/thunderx/base: add secondary queue set support

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Changes: - add new message sqs_alloc in mailbox - add a queue container to hold secondary qsets. - add nicvf_mbox_request_sqs - handle new mailbox messages for secondary queue set support - register secondary queue sets for furthe reuse - register the number

[dpdk-dev] [PATCH 03/13] net/thunderx/base: add family of functions to store qsets

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski This interface (nicvf_bsvf) will be used for secondary queue set support. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers

[dpdk-dev] [PATCH 02/13] net/thunderx: correct transmit checksum handling

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski The symbols PKT_TX_TCP_CKSUM and PKT_TX_UDP_CKSUM are not bits on a bitmask. Set l3_offset always for TX offloads, not just for PKT_TX_IP_CKSUM being true. Fixes: 1c421f18e095 ("net/thunderx: add single and multi-segment Tx") Signed-off-by: Maciej Czekaj Sig

[dpdk-dev] [PATCH 01/13] net/thunderx: cleanup the driver before adding new features

2016-08-26 Thread Kamil Rytarowski
From: Kamil Rytarowski Refactored features: - enable nicvf_qset_rbdr_precharge to handle handle secondary queue sets - rte_free already handles NULL pointer - check mempool flags to predict being contiguous in memory - allow to use mempool with multiple memory chunks - simplify local

[dpdk-dev] [PATCH 00/13] Add support for secondary queue set in nicvf thunderx driver

2016-08-26 Thread Kamil Rytarowski
http://dpdk.org/dev/patchwork/patch/14963/ [dpdk-dev,2/3] net/thunderx: introduce cqe_rx2 HW capability flag http://dpdk.org/dev/patchwork/patch/14964/ [dpdk-dev,3/3] net/thunderx: add 81xx SoC support http://dpdk.org/dev/patchwork/patch/14965/ Kamil Rytarowski (13): net/thunderx: cleanup the

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

2016-02-09 Thread Kamil Rytarowski
Thank you! W dniu 09.02.2016 o 15:56, Thomas Monjalon pisze: > 2016-01-28 14:13, krytarowski at caviumnetworks.com: >> From: Kamil Rytarowski >> >> Currently rte_eal_check_module() detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't lis

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

2016-02-08 Thread Kamil Rytarowski
ping? W dniu 29.01.2016 o 08:21, Yuanhan Liu pisze: > On Thu, Jan 28, 2016 at 02:13:53PM +0100, krytarowski at caviumnetworks.com > wrote: >> From: Kamil Rytarowski >> >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading >> /proc/modules. Built-i

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

2016-02-03 Thread Kamil Rytarowski
W dniu 03.02.2016 o 16:49, Kamil Rytarowski pisze: > > > W dniu 03.02.2016 o 15:08, David Marchand pisze: >> On Wed, Feb 3, 2016 at 12:39 PM, Kamil Rytarowski >> wrote: >>> W dniu 03.02.2016 o 09:47, David Marchand pisze: >>>> And do your custo

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

2016-02-03 Thread Kamil Rytarowski
W dniu 03.02.2016 o 15:08, David Marchand pisze: > On Wed, Feb 3, 2016 at 12:39 PM, Kamil Rytarowski > wrote: >> W dniu 03.02.2016 o 09:47, David Marchand pisze: >>> And do your custom things in its devinit function ? >> I'm requesting from PF the mode of the dev

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

2016-02-03 Thread Kamil Rytarowski
W dniu 03.02.2016 o 09:47, David Marchand pisze: > Hello, Hello, > On Tue, Feb 2, 2016 at 3:27 PM, wrote: >> From: Kamil Rytarowski >> >> This change enables drivers needing custom pci (de)initialization functions >> through the standard callback

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

2016-01-28 Thread Kamil Rytarowski
W dniu 28.01.2016 o 14:52, Thomas Monjalon pisze: > 2016-01-28 12:17, Kamil Rytarowski: > [...] >>>> +# special case for vfio_pci (module is named vfio-pci, >>>> +# but its .ko is named vfio_pci) >>> Isn't it common to have dash replace

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

2016-01-28 Thread Kamil Rytarowski
W dniu 28.01.2016 o 12:22, Panu Matilainen pisze: > On 01/28/2016 01:17 PM, Kamil Rytarowski wrote: >> I retained the logic for special case of vfio-pci. At the moment >> (according to my knowledge) there are no other DPDK modules with this >> name replacement. >> >

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

2016-01-28 Thread Kamil Rytarowski
W dniu 26.01.2016 o 16:23, Thomas Monjalon pisze: > 2016-01-20 10:48, krytarowski at caviumnetworks.com: >> --- a/tools/dpdk_nic_bind.py >> +++ b/tools/dpdk_nic_bind.py >> -for line in loaded_mods: >> +try: >> +# Get list of syfs modules, some of them might be builtin and merge >

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

2016-01-28 Thread Kamil Rytarowski
W dniu 26.01.2016 o 16:12, Thomas Monjalon pisze: > 2016-01-19 17:35, Kamil Rytarowski: >> W dniu 18.01.2016 o 15:32, Thomas Monjalon pisze: >>> Hi Kamil, >>> >>> 2015-12-09 14:19, Kamil Rytarowski: >>>> Currently dpdk_nic_bind.py detects Lin

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

2016-01-26 Thread Kamil Rytarowski
ping? W dniu 20.01.2016 o 10:48, krytarowski at caviumnetworks.com pisze: > 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 scr

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

2016-01-19 Thread Kamil Rytarowski
W dniu 18.01.2016 o 15:22, Yuanhan Liu pisze: > On Wed, Dec 09, 2015 at 02:19:58PM +0100, Kamil Rytarowski wrote: >> 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 &

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

2016-01-19 Thread Kamil Rytarowski
W dniu 18.01.2016 o 15:32, Thomas Monjalon pisze: > Hi Kamil, > > 2015-12-09 14:19, 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 >> bein

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

2016-01-19 Thread Kamil Rytarowski
> Another thing is that there is no maintainer for tools code. > > On Wed, Dec 09, 2015 at 02:19:57PM +0100, Kamil Rytarowski wrote: >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't listed there and therefo

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

2016-01-18 Thread Kamil Rytarowski
ping? W dniu 16.12.2015 o 15:14, Kamil Rytarowski pisze: > ping? > > W dniu 09.12.2015 o 14:19, Kamil Rytarowski pisze: >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't listed there and therefore they >&g

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

2015-12-16 Thread Kamil Rytarowski
ping? W dniu 09.12.2015 o 14:19, Kamil Rytarowski pisze: > 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 modu

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

2015-12-09 Thread Kamil Rytarowski
W dniu 09.12.2015 o 17:38, Stephen Hemminger pisze: > On Wed, 9 Dec 2015 14:19:58 +0100 > Kamil Rytarowski wrote: > >> +/* Check if there is sysfs mounted */ >> +if (stat("/sys/module", &st) != 0) { >> +RTE_LOG(DEBUG, EA

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

2015-12-09 Thread Kamil Rytarowski
W dniu 09.12.2015 o 08:30, Panu Matilainen pisze: > On 12/08/2015 05:33 PM, Kamil Rytarowski wrote: >> Currently rte_eal_check_module() detects Linux kernel modules via >> reading >> /proc/modules. Built-in ones aren't listed there and therefore they >> are

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

2015-12-09 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski Signed-off-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c

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

2015-12-09 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski Signed-off-by: David Marchand --- tools/dpdk_nic_bind.py | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py index f02454e..e161062 100755 --- a/

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

2015-12-08 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski Signed-off-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c

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

2015-12-08 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski Signed-off-by: David Marchand --- tools/dpdk_nic_bind.py | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py index f02454e..e161062 100755 --- a/

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

2015-12-08 Thread Kamil Rytarowski
W dniu 08.12.2015 o 08:25, Panu Matilainen pisze: > On 12/07/2015 10:55 PM, Stephen Hemminger wrote: >> On Mon, 7 Dec 2015 19:36:05 +0100 >> Kamil Rytarowski wrote: >> >>> +/* Check if there is sysfs mounted */ >>> +if (stat("/sys/module&qu

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

2015-12-07 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski --- lib/librte_eal/linuxapp/eal/eal.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 635ec36..539188f 100644 ---

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

2015-12-07 Thread Kamil Rytarowski
rsing approach. Signed-off-by: Kamil Rytarowski --- tools/dpdk_nic_bind.py | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py index f02454e..0318598 100755 --- a/tools/dpdk_nic_bind.py +++ b/

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

2015-12-07 Thread 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 Signed-off-by: Kamil Rytarowski ---

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

2015-12-07 Thread 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. Signed-off-by: Kamil Rytarowski ---

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

2015-12-07 Thread 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. Signed-off-by: Kamil Rytarowski ---