[dpdk-dev] [PATCH] maintainers: update for szedata2 PMD

2018-07-17 Thread Matej Vido
I will no longer be maintaining szedata2 PMD. Jan will take over this role. Signed-off-by: Matej Vido --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 227e32c..43b0a3e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -617,7 +617,7

[dpdk-dev] [PATCH 1/1] doc: update doc and release notes for szedata2 driver

2018-04-27 Thread Matej Vido
New version of the packages with dependencies for the szedata2 driver is needed due to the new API of the libsze2 library which is used in the driver. The documentation and the release notes are updated to contain the information about the required versions. Signed-off-by: Matej Vido Acked-by

Re: [dpdk-dev] [PATCH v2 2/3] net/szedata2: add support for new NIC

2018-04-18 Thread Matej Vido
On 13.04.2018 18:29, Ferruh Yigit wrote: On 4/13/2018 4:03 PM, Jan Remeš wrote: It is mentioned on the website with the packages itself. The current version works with the reworked PMD - there is a headline which says: "DPDK from 18.05" (since we expect the patches to land in the upcoming releas

Re: [dpdk-dev] [PATCH 1/3] net/szedata2: do not affect Ethernet interfaces

2018-04-13 Thread Matej Vido
On 13.04.2018 06:25, Yasufumi Ogawa wrote: On 2018/04/12 16:38, Matej Vido wrote: On 11.04.2018 12:51, Ferruh Yigit wrote: On 4/11/2018 10:36 AM, Matej Vido wrote: On 10.04.2018 17:28, Ferruh Yigit wrote: On 4/6/2018 3:12 PM, Matej Vido wrote: NFB cards employ multiple Ethernet ports. Until

[dpdk-dev] [PATCH v2 3/3] net/szedata2: add kernel module dependency

2018-04-12 Thread Matej Vido
New kernel module dependency is required to support NFB-200G2QL card. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c

[dpdk-dev] [PATCH v2 2/3] net/szedata2: add support for new NIC

2018-04-12 Thread Matej Vido
This patch adds support for new NIC NFB-200G2QL. At the probing stage numa nodes for the DMA queues are identified and the appropriate number of ports is allocated. DMA queues residing on the same numa node are grouped in the same port. Signed-off-by: Matej Vido --- v2: Rebased on top of dpdk

[dpdk-dev] [PATCH v2 1/3] net/szedata2: do not affect Ethernet interfaces

2018-04-12 Thread Matej Vido
, and since a single card can be represented as two ports in DPDK, there is no way of telling which (if any) physical ports should be associated with individual ports in DPDK. This is also described in documentation in more detail. Signed-off-by: Matej Vido Signed-off-by: Jan Remes --- v2: Rebased

[dpdk-dev] [PATCH v2 0/3] net/szedata2: patch set for new card support

2018-04-12 Thread Matej Vido
This patch set adds support for new card NFB-200G2QL. v2: Rebased on top of dpdk-next-net/master (conflict in release notes for patch 2). Svg image in patch 1 replaced by redrawn image to avoid too long lines. Matej Vido (3): net/szedata2: do not affect Ethernet interfaces net/szedata2: add

Re: [dpdk-dev] [PATCH 1/3] net/szedata2: do not affect Ethernet interfaces

2018-04-12 Thread Matej Vido
On 11.04.2018 12:51, Ferruh Yigit wrote: On 4/11/2018 10:36 AM, Matej Vido wrote: On 10.04.2018 17:28, Ferruh Yigit wrote: On 4/6/2018 3:12 PM, Matej Vido wrote: NFB cards employ multiple Ethernet ports. Until now, Ethernet port-related operations were performed on all of them (since the

Re: [dpdk-dev] [PATCH 1/3] net/szedata2: do not affect Ethernet interfaces

2018-04-11 Thread Matej Vido
On 10.04.2018 17:28, Ferruh Yigit wrote: On 4/6/2018 3:12 PM, Matej Vido wrote: NFB cards employ multiple Ethernet ports. Until now, Ethernet port-related operations were performed on all of them (since the whole card was represented as a single port). With new NFB-200G2QL card, this is no

[dpdk-dev] [PATCH 3/3] net/szedata2: add kernel module dependency

2018-04-06 Thread Matej Vido
New kernel module dependency is required to support NFB-200G2QL card. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c

[dpdk-dev] [PATCH 2/3] net/szedata2: add support for new NIC

2018-04-06 Thread Matej Vido
This patch adds support for new NIC NFB-200G2QL. At the probing stage numa nodes for the DMA queues are identified and the appropriate number of ports is allocated. DMA queues residing on the same numa node are grouped in the same port. Signed-off-by: Matej Vido --- doc/guides/rel_notes

[dpdk-dev] [PATCH 0/3] net/szedata2: patch set for new card support

2018-04-06 Thread Matej Vido
This patch set adds support for new card NFB-200G2QL. Matej Vido (3): net/szedata2: remove operations affecting Ethernet interfaces net/szedata2: add support for new NIC net/szedata2: add kernel module dependency config/common_base | 5 - .../nics/img

[dpdk-dev] [PATCH 1/3] net/szedata2: do not affect Ethernet interfaces

2018-04-06 Thread Matej Vido
, and since a single card can be represented as two ports in DPDK, there is no way of telling which (if any) physical ports should be associated with individual ports in DPDK. This is also described in documentation in more detail. Signed-off-by: Matej Vido Signed-off-by: Jan Remes --- config

[dpdk-dev] [PATCH 1/1] net/szedata2: implement dynamic logging

2018-04-04 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 82 - drivers/net/szedata2/szedata2_logs.h| 22 + 2 files changed, 71 insertions(+), 33 deletions(-) create mode 100644 drivers/net/szedata2/szedata2_logs.h diff --git a/drivers

[dpdk-dev] [PATCH 2/2] net/szedata2: convert license headers to SPDX tags

2018-04-04 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/Makefile | 32 ++-- drivers/net/szedata2/rte_eth_szedata2.c | 33 ++--- drivers/net/szedata2/rte_eth_szedata2.h | 33 ++--- drivers/net/szedata2

[dpdk-dev] [PATCH 1/2] doc: convert license header to SPDX tag for szedata2 doc

2018-04-04 Thread Matej Vido
Signed-off-by: Matej Vido --- doc/guides/nics/szedata2.rst | 29 + 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/doc/guides/nics/szedata2.rst b/doc/guides/nics/szedata2.rst index 1a5d413..4327e4e 100644 --- a/doc/guides/nics/szedata2.rst +++ b/doc

[dpdk-dev] [PATCH 4/4] net/szedata2: fix format string for pci address

2018-04-04 Thread Matej Vido
For fscanf() function SCN macros should be used but PRI macros were wrongly used. Also use correct sizes of variables for read values. Fixes: 83556fd2c0fc ("szedata2: change to physical device type") Cc: sta...@dpdk.org Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szed

[dpdk-dev] [PATCH 2/4] net/szedata2: use dynamically allocated queues

2018-04-04 Thread Matej Vido
Previously the queues were the part of private data structure of the Ethernet device. Now the queues are allocated at setup thus numa-aware allocation is possible. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 99 - 1 file changed, 74

[dpdk-dev] [PATCH 3/4] net/szedata2: add stat of mbuf allocation failures

2018-04-04 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c index f41716d..8278780 100644 --- a

[dpdk-dev] [PATCH 0/4] net/szedata2: fixes or improvements

2018-04-04 Thread Matej Vido
Matej Vido (4): net/szedata2: fix total stats net/szedata2: use dynamically allocated queues net/szedata2: add stat of mbuf allocation failures net/szedata2: fix format string for pci address drivers/net/szedata2/rte_eth_szedata2.c | 171 ++-- 1 file changed

[dpdk-dev] [PATCH 1/4] net/szedata2: fix total stats

2018-04-04 Thread Matej Vido
Counters from all queues have to be summed up for total stats even though the number of queue stats counters is not sufficient. Fixes: 83556fd2c0fc ("szedata2: change to physical device type") Cc: sta...@dpdk.org Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szeda

[dpdk-dev] [PATCH 1/1] net/szedata2: convert to new offload API

2018-04-03 Thread Matej Vido
Offload API is currently used only to setup correct receive function for scattered packets. Use offloads member instead of bitfield and advertise correct capabilities. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 15 --- 1 file changed, 8 insertions(+), 7

[dpdk-dev] [PATCH] net/szedata2: fix check of mmap return value

2017-12-07 Thread Matej Vido
Fixes: 9eddbdb4b094 ("szedata2: support link state operations") Cc: sta...@dpdk.org Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/ne

Re: [dpdk-dev] [PATCH] mmap(2) returns MAP_FAILED, not NULL, on failure

2017-12-03 Thread Matej Vido
On 02.12.2017 01:54, Ferruh Yigit wrote: On 11/30/2017 10:51 PM, Michael McConville wrote: Signed-off-by: Michael McConville --- lib/librte_eal/bsdapp/eal/eal_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal_memory.c b/lib/librte_eal/bsd

Re: [dpdk-dev] [PATCH v3 0/4] increase port_id range

2017-09-13 Thread Matej Vido
On 11.09.2017 12:23, Ferruh Yigit wrote: On 9/9/2017 3:47 PM, Zhiyong Yang wrote: port_id is currently defined as uint8_t, which is limited to the range 0 to 255. A larger range is required for vdev scalability. It is necessary for a redefinition of port_id to extend it from 1 bytes to 2 bytes.

[dpdk-dev] [PATCH] net/szedata2: use macro from common library

2017-06-14 Thread Matej Vido
Macro for alignment is defined in the common library. Use macro from the common library in own macro definition. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.h

[dpdk-dev] [PATCH] net/szedata2: remove unused macro

2017-06-14 Thread Matej Vido
Removed macro is not used since commit: 2f3193c ("pci: inherit common driver in PCI driver") Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_et

[dpdk-dev] [PATCH v2 3/5] net/szedata2: refactor ibuf and obuf address definition

2017-06-12 Thread Matej Vido
: Matej Vido --- v2: Added more detailed commit message. drivers/net/szedata2/Makefile | 1 + drivers/net/szedata2/rte_eth_szedata2.c | 121 +--- drivers/net/szedata2/rte_eth_szedata2.h | 64 - drivers/net/szedata2/szedata2_iobuf.c

[dpdk-dev] [PATCH v2 2/5] net/szedata2: refactor ibuf and obuf read and write

2017-06-12 Thread Matej Vido
Remove unused read and write functions. Use rte_read*, rte_write* functions to access ibuf and obuf address space. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 4 +- drivers/net/szedata2/rte_eth_szedata2.h | 184 +++- 2 files changed, 64

[dpdk-dev] [PATCH v2 4/5] net/szedata2: move ibuf and obuf to specific header

2017-06-12 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.h | 216 +- drivers/net/szedata2/szedata2_iobuf.h | 261 2 files changed, 264 insertions(+), 213 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.h b

[dpdk-dev] [PATCH v2 5/5] net/szedata2: add more supported firmwares

2017-06-12 Thread Matej Vido
Add IBUF and OBUF offsets definitions for new firmwares. Signed-off-by: Matej Vido --- v2: Added release note. Added description of AS = 5 in comment and in documentation. config/common_base | 8 +- doc/guides/nics/szedata2.rst | 32 +-- doc/guides

[dpdk-dev] [PATCH v2 1/5] net/szedata2: refactor ibuf and obuf names

2017-06-12 Thread Matej Vido
Prefix "cgmii" is removed because it is too specific. There are different ibuf/obuf modules in different firmwares but the address space definition is the same. This patch makes the name general. Signed-off-by: Matej Vido --- v2: Added more detailed commit message. drivers/ne

Re: [dpdk-dev] [PATCH 5/5] net/szedata2: add more supported firmwares

2017-05-31 Thread Matej Vido
On 29.05.2017 14:42, Ferruh Yigit wrote: On 5/26/2017 7:05 PM, Matej Vido wrote: Add IBUF and OBUF offsets definitions for new firmwares. just to double check, is it required to add new pci device ids to support these new cards? Is dpdk supported nics (http://dpdk.org/doc/nics) needs to be

Re: [dpdk-dev] [PATCH 3/5] net/szedata2: refactor ibuf and obuf address definition

2017-05-31 Thread Matej Vido
On 29.05.2017 14:41, Ferruh Yigit wrote: On 5/26/2017 7:05 PM, Matej Vido wrote: This is to prepare for firmwares with multiple ibufs and obufs. Offsets of ibufs and obufs are defined in array. I was thinking ibufs and obufs as queues, but since link functions updated per ibufs it looks like

Re: [dpdk-dev] [PATCH 1/5] net/szedata2: refactor ibuf and obuf names

2017-05-31 Thread Matej Vido
On 29.05.2017 14:40, Ferruh Yigit wrote: On 5/26/2017 7:05 PM, Matej Vido wrote: Signed-off-by: Matej Vido Hi Matej, Overall patchset looks good to me, but can you please provide a little more information in commit logs, please check comments on patches. For this patch, it seems refactor

[dpdk-dev] [PATCH 5/5] net/szedata2: add more supported firmwares

2017-05-26 Thread Matej Vido
Add IBUF and OBUF offsets definitions for new firmwares. Signed-off-by: Matej Vido --- config/common_base|8 +-- doc/guides/nics/szedata2.rst | 32 ++-- drivers/net/szedata2/szedata2_iobuf.c | 148 +++-- 3 files changed, 168

[dpdk-dev] [PATCH 3/5] net/szedata2: refactor ibuf and obuf address definition

2017-05-26 Thread Matej Vido
This is to prepare for firmwares with multiple ibufs and obufs. Offsets of ibufs and obufs are defined in array. Functions which operate on ibufs and obufs iterate over this array. Signed-off-by: Matej Vido --- drivers/net/szedata2/Makefile |1 + drivers/net/szedata2

[dpdk-dev] [PATCH 4/5] net/szedata2: move ibuf and obuf to specific header

2017-05-26 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.h | 216 +- drivers/net/szedata2/szedata2_iobuf.h | 261 +++ 2 files changed, 264 insertions(+), 213 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.h b

[dpdk-dev] [PATCH 2/5] net/szedata2: refactor ibuf and obuf read and write

2017-05-26 Thread Matej Vido
Remove unused read and write functions. Use rte_read*, rte_write* functions to access ibuf and obuf address space. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c |4 +- drivers/net/szedata2/rte_eth_szedata2.h | 184 +++ 2 files changed, 64

[dpdk-dev] [PATCH 1/5] net/szedata2: refactor ibuf and obuf names

2017-05-26 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 80 +++--- drivers/net/szedata2/rte_eth_szedata2.h | 48 +- 2 files changed, 64 insertions(+), 64 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net

[dpdk-dev] [PATCH 2/2] maintainers: change section name for szedata2 driver

2017-04-07 Thread Matej Vido
The name of company is listed for other drivers. Use the company name also for szedata2 driver. Cards are available from Netcope rather than Cesnet. Signed-off-by: Matej Vido --- MAINTAINERS | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[dpdk-dev] [PATCH 1/2] doc: update szedata2 guide

2017-04-07 Thread Matej Vido
NICs are available from Netcope under the names NFB-*. Change names and direct the links to Netcope web. Signed-off-by: Matej Vido --- doc/guides/nics/szedata2.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/guides/nics/szedata2.rst b/doc/guides

Re: [dpdk-dev] [PATCH] net/szedata2: fix incorrect device memory access

2017-01-24 Thread Matej Vido
On 24.01.2017 16:24, Ferruh Yigit wrote: On 1/24/2017 10:49 AM, Matej Vido wrote: Fixes: 8acba705b119 ("net/szedata2: localize handling of PCI resources") Signed-off-by: Matej Vido Reviewed-by: Ferruh Yigit Cc: sta...@dpdk.org Applied to dpdk-next-net/master, thanks. I'm

Re: [dpdk-dev] [PATCH] net/szedata2: fix incorrect device memory access

2017-01-24 Thread Matej Vido
On 24.01.2017 16:11, Ferruh Yigit wrote: On 1/24/2017 2:02 PM, Matej Vido wrote: On 24.01.2017 12:58, Ferruh Yigit wrote: On 1/24/2017 10:49 AM, Matej Vido wrote: Fixes: 8acba705b119 ("net/szedata2: localize handling of PCI resources") Signed-off-by: Matej Vido Unrelated from

[dpdk-dev] [PATCH] maintainers: update email address

2017-01-24 Thread Matej Vido
Signed-off-by: Matej Vido --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index f071138..21d0ef9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -311,7 +311,7 @@ F: drivers/net/enic/ F: doc/guides/nics/enic.rst Combo szedata2 -M

Re: [dpdk-dev] [PATCH] net/szedata2: fix incorrect device memory access

2017-01-24 Thread Matej Vido
On 24.01.2017 12:58, Ferruh Yigit wrote: On 1/24/2017 10:49 AM, Matej Vido wrote: Fixes: 8acba705b119 ("net/szedata2: localize handling of PCI resources") Signed-off-by: Matej Vido Unrelated from this patch, in maintainers file, you have your other mail address: "Matej Vido &q

[dpdk-dev] [PATCH] net/szedata2: fix incorrect device memory access

2017-01-24 Thread Matej Vido
Fixes: 8acba705b119 ("net/szedata2: localize handling of PCI resources") Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.h b/drivers/net/szedata2/rte_eth_

[dpdk-dev] [PATCH v11 00/24] Introducing rte_driver/rte_device generalization

2016-09-21 Thread Matej Vido
Hi Shreyansh, I have tested this patch-set with szedata2 driver and it works fine. Regards, Matej On 20.09.2016 14:41, Shreyansh Jain wrote: > Based on master (e15922d75) > > Background: > === > > It includes two different patch-sets floated on ML earlier: > * Original patch series is

[dpdk-dev] [RFC] drivers: advertise kmod dependencies in pmdinfo

2016-08-30 Thread Matej Vido
On 26.08.2016 15:20, Olivier Matz wrote: > Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to > declare the list of kernel modules required to run properly. > > Today, most PCI drivers require uio/vfio. > > Signed-off-by: Olivier Matz > --- > > In this RFC, I supposed that all PCI

[dpdk-dev] [PATCH 1/2] szedata2: new poll mode driver

2016-03-24 Thread Matej Vido
D?a 21.03.2016 o 18:45 Stephen Hemminger nap?sal(a): > On Fri, 19 Jun 2015 10:25:00 +0200 > Matej Vido wrote: > >> +static struct ether_addr eth_addr = { >> +.addr_bytes = { 0, 0, 0, 0x1, 0x2, 0x3 } >> +}; > ... > >> static int >> rte_

[dpdk-dev] [PATCH v11 0/8] ethdev: 100G and link speed API refactoring

2016-03-24 Thread Matej Vido
> improved in a separate patch. > > It will be integrated in 16.04-rc2. > Please test and review shortly, thanks! > > [...] Tested-by: Matej Vido Correct speed is displayed for COMBO-100G card. Regards, Matej

[dpdk-dev] [PATCH 4/4] szedata2: add 100G link speed

2016-03-15 Thread Matej Vido
D?a 15.03.2016 o 14:41 Thomas Monjalon nap?sal(a): > Thanks for the series completing the ethdev rework with the same splitting. > > 2016-03-15 14:12, Matej Vido: >> Temporary 10G constant is replaced with 100G constant. >> Item speed_capa from struct rte_eth_dev_info

[dpdk-dev] [PATCH 4/4] szedata2: add 100G link speed

2016-03-15 Thread Matej Vido
D?a 15.03.2016 o 14:41 Thomas Monjalon nap?sal(a): > Thanks for the series completing the ethdev rework with the same splitting. > > 2016-03-15 14:12, Matej Vido: >> Temporary 10G constant is replaced with 100G constant. >> Item speed_capa from struct rte_eth_dev_info

[dpdk-dev] [PATCH 4/4] szedata2: add 100G link speed

2016-03-15 Thread Matej Vido
Temporary 10G constant is replaced with 100G constant. Item speed_capa from struct rte_eth_dev_info is set with 100G flag. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2

[dpdk-dev] [PATCH 3/4] szedata2: redesign link speed config

2016-03-15 Thread Matej Vido
This patch sets value of flag link_autoneg in struct rte_eth_link to ETH_LINK_SPEED_FIXED. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2

[dpdk-dev] [PATCH 2/4] szedata2: rename link speed constants

2016-03-15 Thread Matej Vido
The speed numbers ETH_LINK_SPEED_ are renamed ETH_SPEED_NUM_. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c

[dpdk-dev] [PATCH 1/4] szedata2: use constants for link state

2016-03-15 Thread Matej Vido
Use ETH_LINK_UP and ETH_LINK_DOWN constants. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c index 81c806e..c65067e 100644

[dpdk-dev] [PATCH 0/4] szedata2: 100G and link speed API refactoring

2016-03-15 Thread Matej Vido
This patch series adds link speed API changes to szedata2 driver based on current dpdk-next-net/rel_16_04 tree. Changes are split into commits as in v10 of patch series: http://dpdk.org/ml/archives/dev/2016-March/035731.html Matej Vido (4): szedata2: use constants for link state szedata2

[dpdk-dev] [PATCH v10 0/8] ethdev: 100G and link speed API refactoring

2016-03-15 Thread Matej Vido
D?a 15.03.2016 o 08:12 Thomas Monjalon nap?sal(a): > 2016-03-15 01:04, Matej Vido: >> Hi, >> >> patch http://dpdk.org/dev/patchwork/patch/10202/ >> which was applied to dpdk-next-net/rel_16_04 tree changes filling >> of items in rte_eth_link structure for szed

[dpdk-dev] [PATCH v10 0/8] ethdev: 100G and link speed API refactoring

2016-03-15 Thread Matej Vido
Hi, patch http://dpdk.org/dev/patchwork/patch/10202/ which was applied to dpdk-next-net/rel_16_04 tree changes filling of items in rte_eth_link structure for szedata2 driver. These changes for szedata2 driver are not compliant with changes in this patch series. I'm not sure how it should be addres

[dpdk-dev] [PATCH] doc: add szedata2 features into networking driver matrix

2016-03-08 Thread Matej Vido
Signed-off-by: Matej Vido --- doc/guides/nics/overview.rst | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index d4c6ff4..177393a 100644 --- a/doc/guides/nics/overview.rst +++ b/doc/guides/nics

[dpdk-dev] [PATCH v2] doc: introduce networking driver matrix

2016-03-01 Thread Matej Vido
Hi Thomas, D?a 27.01.2016 o 21:07 Thomas Monjalon nap?sal(a): > In order to better compare the drivers and check what is missing > for a common baseline, we need to fill a matrix. > > A CSS trick is used to fit the HTML page. > The PDF output needs some LaTeX wizardry. > > Signed-off-by: Thomas Mo

[dpdk-dev] [PATCH v8 3/4] ethdev: redesign link speed config API

2016-02-16 Thread Matej Vido
D?a 14.02.2016 o 23:17 Marc Sune nap?sal(a): > This patch redesigns the API to set the link speed/s configure > for an ethernet port. Specifically: > > - it allows to define a set of advertised speeds for >auto-negociation. > - it allows to disable link auto-negociation (single fixed speed). >

[dpdk-dev] [PATCH 4/4] szedata2: update documentation and release notes

2016-01-28 Thread Matej Vido
Add info about change from virtual PMD_VDEV to PMD_PDEV and new functions to release notes. Signed-off-by: Matej Vido --- doc/guides/nics/szedata2.rst | 93 + doc/guides/rel_notes/release_2_3.rst |9 +++ 2 files changed, 68 insertions(+), 34

[dpdk-dev] [PATCH 3/4] szedata2: add functions for enabling/disabling promiscuous, allmulticast modes

2016-01-28 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 45 +++ drivers/net/szedata2/rte_eth_szedata2.h | 39 ++ 2 files changed, 84 insertions(+), 0 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b

[dpdk-dev] [PATCH 2/4] szedata2: add functions for setting link up/down and updating link info

2016-01-28 Thread Matej Vido
according to configuration option CONFIG_RTE_LIBRTE_PMD_SZEDATA2_AS. Setting link up/down and getting info about link status is done through mmapped PCI resource address space. Signed-off-by: Matej Vido --- config/common_linuxapp | 11 + drivers/net/szedata2/rte_eth_szedata2.c | 152

[dpdk-dev] [PATCH 1/4] szedata2: rewrite PMD from virtual PMD_VDEV type to PMD_PDEV type

2016-01-28 Thread Matej Vido
. Unnecessary items are removed from ethernet device private data structure. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 900 --- drivers/net/szedata2/rte_eth_szedata2.h |8 + 2 files changed, 366 insertions(+), 542 deletions(-) diff --git

[dpdk-dev] [PATCH] doc: announce ABI change for link speed

2015-12-15 Thread Matej Vido
Acked-by: Matej Vido D?a 15.12.2015 o 08:21 Thomas Monjalon nap?sal(a): > A rework was prepared by Marc Sune: > http://dpdk.org/ml/archives/dev/2015-October/026037.html > The goal is to retrieve the supported link speed of a device > and to allow 100G devices while having a co

[dpdk-dev] [PATCH] szedata2: update documentation

2015-11-24 Thread Matej Vido
Add note to the documentation that only x86_64 versions of the external libraries are currently provided. Signed-off-by: Matej Vido --- doc/guides/nics/szedata2.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/nics/szedata2.rst b/doc/guides/nics/szedata2.rst index b952b46

[dpdk-dev] [PATCH v3 1/6] szedata2: add new poll mode driver

2015-11-20 Thread Matej Vido
only on x86-64. > I agree. Should I update the documentation and send a patch? > > > 2015-11-10 15:18, Matej Vido: > > +static void > > +eth_stats_get(struct rte_eth_dev *dev, > > + struct rte_eth_stats *igb_stats) > > +{ > > igb_stats is a n

[dpdk-dev] [PATCH v3 6/6] doc: update 2.2 release notes

2015-11-10 Thread Matej Vido
Add szedata2 PMD to 2.2 release notes. Signed-off-by: Matej Vido --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index ca8471b..2ae9ba3 100644 --- a/doc/guides/rel_notes

[dpdk-dev] [PATCH v3 5/6] doc: add documentation for szedata2 PMD

2015-11-10 Thread Matej Vido
v3: Edit formatting. Add links. Signed-off-by: Matej Vido --- doc/guides/nics/index.rst| 1 + doc/guides/nics/szedata2.rst | 127 +++ doc/guides/prog_guide/source_org.rst | 1 + 3 files changed, 129 insertions(+) create mode 100644 doc

[dpdk-dev] [PATCH v3 4/6] szedata2: add support for scattered packets in RX

2015-11-10 Thread Matej Vido
Add new RX function for handling scattered packets. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 351 +++- 1 file changed, 349 insertions(+), 2 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2

[dpdk-dev] [PATCH v3 3/6] szedata2: add TX function

2015-11-10 Thread Matej Vido
TX function handles scattered and non-scattered packets. Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 216 +++- 1 file changed, 215 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2

[dpdk-dev] [PATCH v3 2/6] szedata2: add non-scattered RX function

2015-11-10 Thread Matej Vido
Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 235 +++- 1 file changed, 234 insertions(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c index 7edaefc..785ac88 100644 --- a

[dpdk-dev] [PATCH v3 1/6] szedata2: add new poll mode driver

2015-11-10 Thread Matej Vido
, TX functions to separate patches. v2: Code cleanup. Fix error handling by initialization of rx, tx dma channels. Add uninit function. Signed-off-by: Matej Vido --- config/common_bsdapp | 5 + config/common_linuxapp| 5 + drivers/net

[dpdk-dev] [PATCH v3 0/6] Virtual PMD using sze2 layer for COMBO cards

2015-11-10 Thread Matej Vido
: code cleanup add handling scattered packets update release notes Matej Vido (6): szedata2: add new poll mode driver szedata2: add non-scattered RX function szedata2: add TX function szedata2: add support for scattered packets in RX doc: add documentation for szedata2 PMD doc: update 2.2

[dpdk-dev] [PATCH v2 4/5] doc: add documentation for szedata2 PMD

2015-11-06 Thread Matej Vido
Hi John, Thank you for your comments and advice. I will follow them in the new version. Regards, Matej Vido 2015-10-30 13:16 GMT+01:00 Mcnamara, John : > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matej Vido > > Sent: Friday, Se

[dpdk-dev] [PATCH v2 4/5] doc: add documentation for szedata2 PMD

2015-11-02 Thread Matej Vido
Hi Thomas, 2015-10-27 19:00 GMT+01:00 Thomas Monjalon : > 2015-10-27 18:33, Matej Vido: > > 2015-10-26 16:09 GMT+01:00 Thomas Monjalon : > > > SZEDATA2 is not a vdev. Is it possible to probe it as a standard PCI > > > device? > > > > > It would be pos

[dpdk-dev] [PATCH v2 3/5] szedata2: add handling of scattered packets in TX

2015-10-27 Thread Matej Vido
Hi Thomas, 2015-10-26 15:55 GMT+01:00 Thomas Monjalon : > Hi Matej, > > 2015-09-18 10:32, Matej Vido: > > - rte_memcpy(tmp_dst, > > - rte_pktmbuf_mtod(mbuf, const void *), > > - pkt_len); &

[dpdk-dev] [PATCH v2 4/5] doc: add documentation for szedata2 PMD

2015-10-27 Thread Matej Vido
around. Please help. > > > 2015-09-18 10:32, Matej Vido: > > +- **libsze2** > > + > > + This library provides API for initialization of sze2 transfers, > receiving and > > + transmitting data segments. > > Please provide more information to help installing the depen

[dpdk-dev] [PATCH v2 5/5] doc: update 2.2 release notes

2015-09-18 Thread Matej Vido
Add szedata2 PMD to 2.2 release notes. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 682f468..c78f94d 100644

[dpdk-dev] [PATCH v2 4/5] doc: add documentation for szedata2 PMD

2015-09-18 Thread Matej Vido
Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- doc/guides/nics/index.rst| 1 + doc/guides/nics/szedata2.rst | 105 +++ doc/guides/prog_guide/source_org.rst | 1 + 3 files changed, 107 insertions(+) create mode 100644 doc/guides

[dpdk-dev] [PATCH v2 3/5] szedata2: add handling of scattered packets in TX

2015-09-18 Thread Matej Vido
TX function modified to handle chained mbufs. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- drivers/net/szedata2/rte_eth_szedata2.c | 108 +++- 1 file changed, 91 insertions(+), 17 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b

[dpdk-dev] [PATCH v2 2/5] szedata2: add handling of scattered packets in RX

2015-09-18 Thread Matej Vido
Add new RX function for handling scattered packets. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- drivers/net/szedata2/rte_eth_szedata2.c | 356 +++- 1 file changed, 354 insertions(+), 2 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b

[dpdk-dev] [PATCH v2 1/5] szedata2: add new poll mode driver

2015-09-18 Thread Matej Vido
by initialization of rx, tx dma channels. Add uninit function. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- config/common_bsdapp |5 + config/common_linuxapp|5 + drivers/net/Makefile |1

[dpdk-dev] [PATCH v2 0/5] Virtual PMD using sze2 layer for COMBO cards

2015-09-18 Thread Matej Vido
installed and kernel modules (combov3, szedata2_cv3) loaded. Therefore in default configuration PMD compilation is disabled. To compile szedata2 PMD, it is necessary to enable CONFIG_RTE_LIBRTE_PMD_SZEDATA2=y. v2: code cleanup add handling scattered packets update release notes Matej Vido (5): szedata2

[dpdk-dev] DPDK 2.2 roadmap

2015-09-14 Thread Matej Vido
Hi, 2015-09-14 16:02 GMT+02:00 Thomas Monjalon : > Hi, > > 2015-09-14 15:44, Matej Vido: > > CESNET would like to submit new virtual poll mode driver for COMBO-80G > and > > COMBO-100G cards. This PMD requires libsze2 library and kernel modules > > (combov3,

[dpdk-dev] DPDK 2.2 roadmap

2015-09-14 Thread Matej Vido
-2015-09-11.pdf Regards, Matej Mon, 14 Sep 2015, Thomas Monjalon : > Thanks for the details. > The roadmap is updated: > http://dpdk.org/dev/roadmap > > Maybe the keep-alive feature needs some design discussion. > > Anyone else to share his plan? > -- Matej Vido CESNET, a. l. e.

[dpdk-dev] [PATCH 2/2] doc: added documentation for szedata2 PMD

2015-06-19 Thread Matej Vido
Signed-off-by: Matej Vido --- doc/guides/nics/index.rst| 1 + doc/guides/nics/szedata2.rst | 105 +++ doc/guides/prog_guide/source_org.rst | 1 + 3 files changed, 107 insertions(+) create mode 100644 doc/guides/nics/szedata2.rst diff

[dpdk-dev] [PATCH 1/2] szedata2: new poll mode driver

2015-06-19 Thread Matej Vido
Added virtual PMD which communicates with COMBO cards through sze2 layer using libsze2 library. Signed-off-by: Matej Vido --- config/common_bsdapp |5 + config/common_linuxapp|5 + drivers/net/Makefile

[dpdk-dev] [PATCH 0/2] Virtual PMD using sze2 layer for COMBO cards

2015-06-19 Thread Matej Vido
://www.liberouter.org/wp-content/uploads/2015/06/pmd_szedata2_dpdk_measurement.pdf Measurement was not done with final version of firmware. Performance will be increased soon with new firmware version. Matej Vido (2): szedata2: new poll mode driver doc: added documentation for szedata2 PMD config