[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
n be > 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 f

[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

[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

[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
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

[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 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 *), > > -

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

2015-10-27 Thread Matej Vido
nd. 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 dependenci

[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