[dpdk-dev] [PATCH v2 0/6] Link Bonding mode 6 support (ALB)

2015-02-13 Thread Michal Jastrzebski
-robin policy to assign slave to client IP address. Michal Jastrzebski (6): net: changed arp_hdr struct declaration bond: add link bonding mode 6 implementation bond: add debug info for mode 6 link bonding bond: add example application for link bonding mode 6 bond: modify TLB unit tests

[dpdk-dev] [PATCH v2 1/6] net: changed arp_hdr struct declaration

2015-02-13 Thread Michal Jastrzebski
Changed MAC address type from uint8_t[6] to struct ether_addr and IP address type from uint8_t[4] to uint32_t. Also removed union from arp_hdr struct. Updated test-pmd to match new arp_hdr version. Signed-off-by: Maciej Gajdzica --- app/test-pmd/icmpecho.c | 27 ++-

[dpdk-dev] [PATCH v2 2/6] bond: add link bonding mode 6 implementation

2015-02-13 Thread Michal Jastrzebski
Gajdzica Signed-off-by: Michal Jastrzebski Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_bond/Makefile |1 + lib/librte_pmd_bond/rte_eth_bond.h |9 + lib/librte_pmd_bond/rte_eth_bond_alb.c | 256 +++ lib/librte_pmd_bond

[dpdk-dev] [PATCH v2 3/6] bond: add debug info for mode 6 link bonding

2015-02-13 Thread Michal Jastrzebski
. If CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1 is enabled instead of previous one, use show command to see IPv4 balancing from clients. Signed-off-by: Michal Jastrzebski --- config/common_linuxapp |3 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 199 +++- 2 files

[dpdk-dev] [PATCH v2 4/6] bond: add example application for link bonding mode 6

2015-02-13 Thread Michal Jastrzebski
: [PATCH 3/4] bond: add debug info for mode 6 link bonding. Connect clients thru switch to bonding machine and send: arping -c 1 bond_ip or generate IPv4 traffic to bond_ip (IPv4 traffic from different clients should be then balanced on slaves in round robin manner). Signed-off-by: Michal Jastrzebski

[dpdk-dev] [PATCH v2 5/6] bond: modify TLB unit tests

2015-02-13 Thread Michal Jastrzebski
This patch modify mode older name from BONDING_MODE_ADAPTIVE_TRANSMIT_LOAD_BALANCING to BONDING_MODE_TLB that was used in unittests. It also changes Signed-off-by: Daniel Mrzyglod --- app/test/test_link_bonding.c| 27 ++-

[dpdk-dev] [PATCH v2 6/6] bond: add unit tests for link bonding mode 6.

2015-02-13 Thread Michal Jastrzebski
Added 4 unit tests checking link bonding mode 6 behavior. Also modified virtual_pmd so it is possible to provide packets, that should be received with rx_burst and to inspect packets transmitted by tx_burst. In packet_burst_generator.c function creating eth_header is modified, so it accepts

[dpdk-dev] [PATCH v3 0/6] Link Bonding mode 6 support (ALB)

2015-02-19 Thread Michal Jastrzebski
Mrzyglod (1): bond: modify TLB unit tests Maciej Gajdzica (3): net: changed arp_hdr struct declaration bond: add link bonding mode 6 implementation bond: add unit tests for link bonding mode 6. Michal Jastrzebski (2): bond: add debug info for mode 6 link bonding bond: add example

[dpdk-dev] [PATCH v3 1/6] net: changed arp_hdr struct declaration

2015-02-19 Thread Michal Jastrzebski
From: Maciej Gajdzica Changed MAC address type from uint8_t[6] to struct ether_addr and IP address type from uint8_t[4] to uint32_t. Also removed union from arp_hdr struct. Updated test-pmd to match new arp_hdr version. Signed-off-by: Maciej Gajdzica ---

[dpdk-dev] [PATCH v3 2/6] bond: add link bonding mode 6 implementation

2015-02-19 Thread Michal Jastrzebski
slave interfaces. When local system sends ARP request, it saves IP information from it. When ARP reply from that peer is received, its MAC is stored, one of slave MACs assigned and ARP reply send to that peer. Signed-off-by: Maciej Gajdzica Signed-off-by: Michal Jastrzebski Signed-off-by: Daniel Mr

[dpdk-dev] [PATCH v3 3/6] bond: add debug info for mode 6 link bonding

2015-02-19 Thread Michal Jastrzebski
command to see IPv4 balancing from clients. Signed-off-by: Michal Jastrzebski --- config/common_linuxapp |3 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 199 +++- 2 files changed, 198 insertions(+), 4 deletions(-) diff --git a/config

[dpdk-dev] [PATCH v3 5/6] bond: modify TLB unit tests

2015-02-19 Thread Michal Jastrzebski
From: Daniel Mrzyglod This patch modify mode older name from BONDING_MODE_ADAPTIVE_TRANSMIT_LOAD_BALANCING to BONDING_MODE_TLB This patch also changes order of TEST_ASSERT macro in test_tlb_verify_slave_link_status_change_failover. Signed-off-by: Daniel Mrzyglod

[dpdk-dev] [PATCH v3 6/6] bond: add unit tests for link bonding mode 6.

2015-02-19 Thread Michal Jastrzebski
From: Maciej Gajdzica Added 4 unit tests checking link bonding mode 6 behavior. Also modified virtual_pmd so it is possible to provide packets, that should be received with rx_burst and to inspect packets transmitted by tx_burst. In packet_burst_generator.c

[dpdk-dev] [PATCH v3 4/6] bond: add example application for link bonding mode 6

2015-02-19 Thread Michal Jastrzebski
: arping -c 1 bond_ip or generate IPv4 traffic to bond_ip (IPv4 traffic from different clients should be then balanced on slaves in round robin manner). Signed-off-by: Michal Jastrzebski Signed-off-by: Maciej Gajdzica --- examples/bond/Makefile | 57 examples/bond/main.c | 796

[dpdk-dev] [PATCH v3 0/2] testpmd: check return value of rte_eth_dev_vlan_filter()

2015-02-20 Thread Michal Jastrzebski
can be enabled by the driver. Number of vlanids is limited by the NIC and thus the NIC do not allow to enable more vlanids than it can allocate in VFTA table. tespmd_funcs.rst file is modified to provide a brief description why enabling all vlan ids may not be possible. Michal Jastrzebski (2

[dpdk-dev] [PATCH v3 1/2] doc: add information about limited number of vlan_ids

2015-02-20 Thread Michal Jastrzebski
This patch adds information to testpmd_funcs.rst file, about limited number of vlan_ids possible to be enabled in a filter. This is limited to the maximum number of entries possible in the VFTA table. Signed-off-by: Michal Jastrzebski --- doc/guides/testpmd_app_ug/testpmd_funcs.rst |2 ++ 1

[dpdk-dev] [PATCH v3 2/2] testpmd: check return value of rte_eth_dev_vlan_filter()

2015-02-20 Thread Michal Jastrzebski
to enable more vlanids than it can allocate in VFTA table. Signed-off-by: Michal Jastrzebski --- app/test-pmd/config.c | 15 +-- app/test-pmd/testpmd.h|2 +- lib/librte_ether/rte_ethdev.c |4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git

[dpdk-dev] [PATCH v4 0/6] Link Bonding mode 6 support (ALB)

2015-02-20 Thread Michal Jastrzebski
for link bonding mode 6. Michal Jastrzebski (2): bond: add debug info for mode 6 link bonding bond: add example application for link bonding mode 6 app/test-pmd/icmpecho.c| 27 +- app/test/packet_burst_generator.c | 41 +- app/test/packet_burst_generator.h

[dpdk-dev] [PATCH v4 1/6] net: changed arp_hdr struct declaration

2015-02-20 Thread Michal Jastrzebski
From: Maciej Gajdzica Changed MAC address type from uint8_t[6] to struct ether_addr and IP address type from uint8_t[4] to uint32_t to make it consistent with other DPDK code using MAC and IP addresses. It allows us to use is_same_ether_addr and ether_addr_copy

[dpdk-dev] [PATCH v4 2/6] bond: add link bonding mode 6 implementation

2015-02-20 Thread Michal Jastrzebski
slave interfaces. When local system sends ARP request, it saves IP information from it. When ARP reply from that peer is received, its MAC is stored, one of slave MACs assigned and ARP reply send to that peer. Signed-off-by: Maciej Gajdzica Signed-off-by: Michal Jastrzebski Signed-off-by: Daniel Mr

[dpdk-dev] [PATCH v4 3/6] bond: add debug info for mode 6 link bonding

2015-02-20 Thread Michal Jastrzebski
command to see IPv4 balancing from clients. Signed-off-by: Michal Jastrzebski --- config/common_linuxapp |3 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 199 +++- 2 files changed, 198 insertions(+), 4 deletions(-) diff --git a/config

[dpdk-dev] [PATCH v4 4/6] bond: add example application for link bonding mode 6

2015-02-20 Thread Michal Jastrzebski
: arping -c 1 bond_ip or generate IPv4 traffic to bond_ip (IPv4 traffic from different clients should be then balanced on slaves in round robin manner). Signed-off-by: Michal Jastrzebski Signed-off-by: Maciej Gajdzica --- examples/bond/Makefile | 57 examples/bond/main.c | 796

[dpdk-dev] [PATCH v4 5/6] bond: modify TLB unit tests

2015-02-20 Thread Michal Jastrzebski
From: Daniel Mrzyglod This patch modify mode older name from BONDING_MODE_ADAPTIVE_TRANSMIT_LOAD_BALANCING to BONDING_MODE_TLB This patch also changes order of TEST_ASSERT macro in test_tlb_verify_slave_link_status_change_failover. Signed-off-by: Daniel Mrzyglod

[dpdk-dev] [PATCH v4 6/6] bond: add unit tests for link bonding mode 6.

2015-02-20 Thread Michal Jastrzebski
From: Maciej Gajdzica Added 4 unit tests checking link bonding mode 6 behavior. Also modified virtual_pmd so it is possible to provide packets, that should be received with rx_burst and to inspect packets transmitted by tx_burst. In packet_burst_generator.c

[dpdk-dev] [PATCH] ethdev: fix missing parenthesis

2015-01-09 Thread Michal Jastrzebski
From: Pawel Wodkowski Signed-off-by: Pawel Wodkowski --- lib/librte_ether/rte_ethdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 4c1a494..d13301a 100644 ---

[dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:39 +0100 Message-Id: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 From: Pawel Wodkowski Hi, this patchset enables DCB in SRIOV (ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB) for

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:40 +0100 Message-Id: <1421073581-6644-2-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> References:

[dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:41 +0100 Message-Id: <1421073581-6644-3-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> References:

[dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski Hi, this patchset enables DCB in SRIOV (ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB) for each VF and PF for ixgbe driver. As a side effect this allow to use multiple queues for TX in VF (8 if there is 16 or less VFs or 4 if there is 32 or less

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski This patch add support for DCB in SRIOV mode. When no PFC is enabled this feature might be used as multiple queues (up to 8 or 4) for VF. It incorporate following modifications: - Allow zero rx/tx queues to be passed to rte_eth_dev_configure().

[dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski This patch incorporate fixes to support DCB in SRIOV mode for testpmd. It also clean up some old code that is not needed or wrong. Signed-off-by: Pawel Wodkowski --- app/test-pmd/cmdline.c |4 ++-- app/test-pmd/testpmd.c | 39

[dpdk-dev] [PATCH] qos_sched: example modification to use librte_cfgfile

2015-06-05 Thread Michal Jastrzebski
This is a modification of qos_sched example to use librte_cfgfile for parsing configuration file. Signed-off-by: Michal Jastrzebski --- examples/qos_sched/cfg_file.c | 157 ++--- examples/qos_sched/cfg_file.h | 35 ++--- examples/qos_sched/init.c

[dpdk-dev] [PATCH] vpmd: rss hash ol_flag for unified packet type

2015-06-07 Thread Michal Jastrzebski
From: Tomasz Kulasek This patch adds management of PKT_RX_FDIR and PKT_RX_RSS_HASH ol_flags in vPMD for unified packet type as well as for 16 bit field packet_type when RTE_UNIFIED_PKT_TYPE is not defined. This patch depends of "unified packet type" patch set, and

[dpdk-dev] [PATCH v4 12/13] port: added port_source stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for source port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_source_sink.c | 35 1 file changed, 35 insertions(+) diff --git a/lib/librte_port/rte_port_source_sink.c

[dpdk-dev] [PATCH v4 13/13] port: added port_sink stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for sink port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_source_sink.c | 63 ++-- 1 file changed, 59 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH v4 00/13] port: added port statistics

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for every type of port. By default all port statistics are disabled, user must activate them in config file. Changes in v2: - added missing signoffs Changes in v3: - removed new config options to

[dpdk-dev] [PATCH v4 01/13] port: added structures for port stats and config option

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added common data structures for port statistics. Added config option to enable stats collecting. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_port/rte_port.h | 60

[dpdk-dev] [PATCH v4 02/13] port: added port_ethdev_reader stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ethdev reader port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ethdev.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v4 03/13] port: added port_ethdev_writer stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ethdev writer port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ethdev.c | 37 + 1 file changed, 37 insertions(+) diff --git a/lib/librte_port/rte_port_ethdev.c

[dpdk-dev] [PATCH v4 00/10] table: added table statistics

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for every type of table. By default all table statistics are disabled, user must activate them in config file. Changes in v2: - added missing signoffs Changes in v3: - removed new config options to

[dpdk-dev] [PATCH v4 02/10] table: added acl table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ACL table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_acl.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/lib/librte_table/rte_table_acl.c

[dpdk-dev] [PATCH v4 06/13] port: added port_ras stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for IPv4 and IPv6 reassembly ports. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ras.c | 38 ++ 1 file changed, 38 insertions(+) diff --git

[dpdk-dev] [PATCH v4 07/13] port: added port_ring_reader stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ring reader port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ring.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v4 08/13] port: added port_ring_writer stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for port writer port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ring.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/lib/librte_port/rte_port_ring.c

[dpdk-dev] [PATCH v4 09/13] port: added port_ring_writer_nodrop stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ring writer nodrop port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ring.c | 37 + 1 file changed, 37 insertions(+) diff --git a/lib/librte_port/rte_port_ring.c

[dpdk-dev] [PATCH v4 03/10] table: added array table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for array table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_array.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v4 10/13] port: added port_sched_reader stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for sched reader port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_sched.c | 39 +- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v4 11/13] port: added port_sched_writer stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for sched writer port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_sched.c | 57 ++ 1 file changed, 52 insertions(+), 5 deletions(-) diff --git

[dpdk-dev] [PATCH v4 04/10] table: added hash_ext table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash ext table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_hash_ext.c | 44 + 1 file changed, 44 insertions(+) diff --git a/lib/librte_table/rte_table_hash_ext.c

[dpdk-dev] [PATCH v4 01/10] table: added structure for storing table stats and config option

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added common structure for table statistics. Added config option to enable table stats collecting. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_table/rte_table.h

[dpdk-dev] [PATCH v4 06/10] table: added hash_key32 table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key32 table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_hash_key32.c | 41 +++ 1 file changed, 41 insertions(+) diff --git a/lib/librte_table/rte_table_hash_key32.c

[dpdk-dev] [PATCH v4 08/10] table: added hash_lru table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash_lru table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_hash_lru.c | 44 + 1 file changed, 44 insertions(+) diff --git a/lib/librte_table/rte_table_hash_lru.c

[dpdk-dev] [PATCH v4 05/10] table: added hash_key16 table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key16 table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_hash_key16.c | 41 +++ 1 file changed, 41 insertions(+) diff --git a/lib/librte_table/rte_table_hash_key16.c

[dpdk-dev] [PATCH v4 10/10] table: added lpm table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added lpm table statistics. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_lpm.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/lib/librte_table/rte_table_lpm.c

[dpdk-dev] [PATCH v4 1/1] pipeline: add statistics for librte_pipeline ports and tables

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica This patch adds statistics collection for librte_pipeline. Those statistics ale disabled by default during build time. Signed-off-by: Pawel Wodkowski --- config/common_bsdapp |1 + config/common_linuxapp |1

[dpdk-dev] [PATCH v4 09/10] table: added lpm_ipv6 table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added lpm ipv6 table statistics. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_lpm_ipv6.c | 34 + 1 file changed, 34 insertions(+) diff --git a/lib/librte_table/rte_table_lpm_ipv6.c

[dpdk-dev] [PATCH v4 07/10] table: added hash_key8 table stats

2015-06-08 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key8 table. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table_hash_key8.c | 52 1 file changed, 52 insertions(+) diff --git a/lib/librte_table/rte_table_hash_key8.c

[dpdk-dev] [PATCH] doc: fix doxygen warnings for QoS API

2015-06-17 Thread Michal Jastrzebski
This patch fix doxygen warnings when generating documentation for qos_meter and qos_sched Signed-off-by: Michal Jastrzebski --- lib/librte_meter/rte_meter.h | 8 lib/librte_sched/rte_bitmap.h | 10 +- lib/librte_sched/rte_red.h| 44

[dpdk-dev] [PATCH v2 0/3] port: added ethdev_writer_nodrop and ring_writer_nodrop ports

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica When nodrop writer port fails to send data, it retries until reach maximum number of retries. Also added new tx_bulk implementation for ring writer port. Maciej Gajdzica (3): port: added WRITER_APPROACH == 1 implementation to ring port

[dpdk-dev] [PATCH v2 3/3] port: added ring_writer_nodrop port

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica When ethdev_writer_nodrop port fails to send data, it tries to resend. Operation is aborted when maximum number of retries is reached. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ring.c | 226

[dpdk-dev] [PATCH v2 0/3] port: added frag_ipv6 and ras_ipv6 ports

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added ipv6 versions of ip fragmentation and ip reassembly ports. Maciej Gajdzica (3): port: removed IPV4_MTU_DEFAULT define port: added ipv6 fragmentation port port: added ipv6 reassembly port lib/librte_port/rte_port_frag.c | 67

[dpdk-dev] [PATCH v2 1/3] port: removed IPV4_MTU_DEFAULT define

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica p->mtu field should be used instead. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_frag.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/librte_port/rte_port_frag.c

[dpdk-dev] [PATCH v2 2/3] port: added ipv6 fragmentation port

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added new port type - IPv6 Fragmentation port Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_frag.c | 61 +-- lib/librte_port/rte_port_frag.h |9 +- 2 files changed, 54

[dpdk-dev] [PATCH v2 3/3] port: added ipv6 reassembly port

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added new port type - IPv6 reassembly port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ras.c | 142 +--- lib/librte_port/rte_port_ras.h |9 ++- 2 files changed, 112 insertions(+), 39

[dpdk-dev] [PATCH v2 00/13] port: added port statistics

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for every type of port. By default all port statistics are disabled, user must activate them in config file. Maciej Gajdzica (13): port: added structures for port stats port: added port_ethdev_reader stats port: added

[dpdk-dev] [PATCH v2 01/13] port: added structures for port stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added common data structures for port statistics. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port.h | 60 1 file changed, 55 insertions(+), 5 deletions(-) diff --git

[dpdk-dev] [PATCH v2 02/13] port: added port_ethdev_reader stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ethdev reader port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_port/rte_port_ethdev.c | 37

[dpdk-dev] [PATCH v2 03/13] port: added port_ethdev_writer stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ethdev writer port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_port/rte_port_ethdev.c | 38

[dpdk-dev] [PATCH v2 04/13] port: added port_ethdev_writer_nodrop stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ethdev writer nodrop port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_port/rte_port_ethdev.c | 38

[dpdk-dev] [PATCH v2 05/13] port: added port_frag stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for IPv4 and IPv6 fragmentation ports. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_port/rte_port_frag.c | 36

[dpdk-dev] [PATCH v2 06/13] port: added port_ras stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for IPv4 and IPv6 reassembly ports. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_port/rte_port_ras.c | 38

[dpdk-dev] [PATCH v2 07/13] port: added port_ring_reader stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ring reader port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_port/rte_port_ring.c | 39 ++- 3

[dpdk-dev] [PATCH v2 08/13] port: added port_ring_writer stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for port writer port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_port/rte_port_ring.c | 40 +++ 3

[dpdk-dev] [PATCH v2 09/13] port: added port_ring_writer_nodrop stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ring writer nodrop port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_port/rte_port_ring.c | 39

[dpdk-dev] [PATCH v2 11/13] port: added port_sched_writer stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for sched writer port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_port/rte_port_sched.c | 57 ++

[dpdk-dev] [PATCH v2 12/13] port: added port_source stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for source port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_port/rte_port_source_sink.c | 35

[dpdk-dev] [PATCH v2 13/13] port: added port_sink stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for sink port. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_port/rte_port_source_sink.c | 63

[dpdk-dev] [PATCH v2 00/10] table: added table statistics

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for every type of table. By default all table statistics are disabled, user must activate them in config file. Maciej Gajdzica (10): table: added structure for storing table stats table: added acl table stats table:

[dpdk-dev] [PATCH v2 01/10] table: added structure for storing table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added common structure for table statistics. Signed-off-by: Maciej Gajdzica --- lib/librte_table/rte_table.h | 25 + 1 file changed, 25 insertions(+) diff --git a/lib/librte_table/rte_table.h

[dpdk-dev] [PATCH v2 02/10] table: added acl table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for ACL table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_table/rte_table_acl.c | 35 +++ 3 files

[dpdk-dev] [PATCH v2 03/10] table: added array table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for array table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_table/rte_table_array.c | 34 +- 3

[dpdk-dev] [PATCH v2 04/10] table: added hash_ext table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash ext table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_table/rte_table_hash_ext.c | 44

[dpdk-dev] [PATCH v2 05/10] table: added hash_key16 table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key16 table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_table/rte_table_hash_key16.c | 41

[dpdk-dev] [PATCH v2 06/10] table: added hash_key32 table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key32 table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp|1 + config/common_linuxapp |1 + lib/librte_table/rte_table_hash_key32.c | 41

[dpdk-dev] [PATCH v2 07/10] table: added hash_key8 table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash key8 table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_table/rte_table_hash_key8.c | 52

[dpdk-dev] [PATCH v2 08/10] table: added hash_lru table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added statistics for hash_lru table. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_table/rte_table_hash_lru.c | 44

[dpdk-dev] [PATCH v2 09/10] table: added lpm_ipv6 table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added lpm ipv6 table statistics. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp|1 + lib/librte_table/rte_table_lpm_ipv6.c | 34

[dpdk-dev] [PATCH v2 10/10] table: added lpm table stats

2015-04-30 Thread Michal Jastrzebski
From: Maciej Gajdzica Added lpm table statistics. Signed-off-by: Maciej Gajdzica --- config/common_bsdapp |1 + config/common_linuxapp |1 + lib/librte_table/rte_table_lpm.c | 34 ++ 3 files changed,

[dpdk-dev] [PATCH v2] pipeline: add statistics for librte_pipeline ports and tables

2015-04-30 Thread Michal Jastrzebski
From: Pawel Wodkowski This patch adds statistics collection for librte_pipeline. Those statistics ale disabled by default during build time. Signed-off-by: Pawel Wodkowski --- config/common_bsdapp |1 + config/common_linuxapp |1 +

[dpdk-dev] [PATCH] test: fix test_tlb_tx_burst

2015-08-05 Thread Michal Jastrzebski
This patch fixes error in tlb_tx_burst function: Distribution is not even. A condition in TEST_ASSERT macro was changed, as the previous one was random. Also the time of generating packets can now be decreased. Signed-off-by: Michal Jastrzebski --- app/test/test_link_bonding.c | 12

[dpdk-dev] [PATCH v2] test: fix test_tlb_tx_burst

2015-08-07 Thread Michal Jastrzebski
to verify that with high load (2 seconds transsmission) all slaves are trasnitting so the traffic is balanced. v2 changes: - improved description - reverted number of packets generated (in v1 it was decreased, but to achieve balancing it has to be high load). Signed-off-by: Michal

[dpdk-dev] [PATCH] testpmd: bond port creation did not enable bond port

2015-03-06 Thread Michal Jastrzebski
fixed it. Signed-off-by: Michal Jastrzebski --- app/test-pmd/cmdline.c |1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index c8312be..8b0ac85 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4050,6 +4050,7 @@ static void

[dpdk-dev] [PATCH 0/3] bond mode 4: add unit tests

2014-12-12 Thread Michal Jastrzebski
These patches add unit tests for mode 4. They also changes ring pmd to behave more like ordinary pmd device. Pawel Wodkowski (3): bond-change-warning PMD-ring-MAC-management-fix-initialization-link-up-d unit-tests-add-mode-4-unit-test app/test/Makefile |1 +

[dpdk-dev] [PATCH 1/3] bond change warning

2014-12-12 Thread Michal Jastrzebski
Remove function name from warning. Signed-off-by: Pawel Wodkowski --- lib/librte_pmd_bond/rte_eth_bond_pmd.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c index 539baa4..9169040 100644

[dpdk-dev] [PATCH 2/3] PMD ring MAC management, fix initialization, link up/down

2014-12-12 Thread Michal Jastrzebski
* add MAC management per device * fix initialization procedure * add link up/down functions Signed-off-by: Pawel Wodkowski Signed-off-by: Tomasz Kulasek --- lib/librte_pmd_ring/rte_eth_ring.c | 62 +--- 1 file changed, 57 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH] fix rte_memcpy() macro: avoid unused value warning

2014-12-15 Thread Michal Jastrzebski
From: Pawel Wodkowski This change use statements in expressions C extension provided by gcc to avoid 'value computed is not used' warning/error when size is not known at compile time. Comments on possible side effects are welcome an tests are welcome. Reported-by:

[dpdk-dev] [PATCH] Change alarm cancel function to thread-safe.

2014-09-23 Thread Michal Jastrzebski
It eliminates a race between threads using rte_alarm_cancel and rte_alarm_set. Signed-off-by: Pawel Wodkowski Reviewed-by: Michal Jastrzebski --- lib/librte_eal/common/include/rte_alarm.h |3 +- lib/librte_eal/linuxapp/eal/eal_alarm.c | 68 +++-- 2 files changed

[dpdk-dev] [PATCH v2] Change alarm cancel function to thread-safe:

2014-09-25 Thread Michal Jastrzebski
Change alarm cancel function to thread-safe. It eliminates a race between threads using rte_alarm_cancel and rte_alarm_set. Signed-off-by: Pawel Wodkowski Reviewed-by: Michal Jastrzebski --- lib/librte_eal/common/include/rte_alarm.h |3 +- lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH] testpmd: check return value of rte_eth_dev_vlan_filter()

2015-01-23 Thread Michal Jastrzebski
to enable more vlanids than it can allocate in VFTA table. Signed-off by: Michal Jastrzebski --- app/test-pmd/config.c | 14 -- app/test-pmd/testpmd.h|2 +- lib/librte_ether/rte_ethdev.c |4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v2] testpmd check return value of rte_eth_dev_vlan_filter()

2015-01-27 Thread Michal Jastrzebski
to enable more vlanids than it can allocate in VFTA table. v2 - fix formatting errors Signed-off-by: Michal Jastrzebski --- app/test-pmd/config.c | 15 +-- app/test-pmd/testpmd.h|2 +- lib/librte_ether/rte_ethdev.c |4 ++-- 3 files changed, 12 insertions(+), 9

  1   2   >