[dpdk-dev] [PATCH 2/5] cxgbe: add cxgbe poll mode driver.

2015-05-26 Thread Rahul Lakkireddy
On Tue, May 26, 2015 at 10:24:37 -0700, Stephen Hemminger wrote: > On Tue, 26 May 2015 22:32:07 +0530 > Rahul Lakkireddy wrote: > > > On Sat, May 23, 2015 at 11:27:56 +0530, Rahul Lakkireddy wrote: > > > On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote: > > > > On Fri, 22 May 2015

[dpdk-dev] [PATCH 2/5] cxgbe: add cxgbe poll mode driver.

2015-05-26 Thread Thomas Monjalon
2015-05-23 11:23, Rahul Lakkireddy: > We need to rebase anyway since PMDs now seem to have moved to > drivers/net directory. Yes. And the subdirectory should probably be renamed base/. It would be nice to introduce the PMD features in separate patches as it was done for fm10k. Thanks

[dpdk-dev] [PATCH 2/5] cxgbe: add cxgbe poll mode driver.

2015-05-26 Thread Rahul Lakkireddy
On Sat, May 23, 2015 at 11:27:56 +0530, Rahul Lakkireddy wrote: > On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote: > > On Fri, 22 May 2015 18:54:20 +0530 > > Rahul Lakkireddy wrote: > > > > > +#define pr_err(y, args...) dev_err(0, y, ##args) > > > +#define pr_warn(y, args...) dev_

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, May 26, 2015 10:48 PM > To: Dumitrescu, Cristian > Cc: Gajdzica, MaciejX T; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] pipeline: add statistics for > librte_pipeline > ports a

[dpdk-dev] [PATCH v2 2/2] Filling speed capability bitmaps in the PMDs

2015-05-26 Thread Marc Sune
Added speed capabilities to all pmds supporting physical NICs: * e1000 * ixgbe * i40 * mlx4 * fm10k Signed-off-by: Marc Sune --- drivers/net/e1000/em_ethdev.c| 6 ++ drivers/net/e1000/igb_ethdev.c | 6 ++ drivers/net/fm10k/fm10k_ethdev.c | 3 +++ drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v2 1/2] Added ETH_SPEED_CAP bitmap in rte_eth_dev_info

2015-05-26 Thread Marc Sune
Added constants and bitmap to struct rte_eth_dev_info to be used by PMDs. Signed-off-by: Marc Sune --- lib/librte_ether/rte_ethdev.h | 24 1 file changed, 24 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 16dbe00..f57676b

[dpdk-dev] [PATCH v2 0/2] ethdev: add port speed capability bitmap

2015-05-26 Thread Marc Sune
The current rte_eth_dev_info abstraction does not provide any mechanism to get the supported speed(s) of an ethdev. For some drivers (e.g. ixgbe), an educated guess can be done based on the driver's name (driver_name in rte_eth_dev_info), see: http://dpdk.org/ml/archives/dev/2013-August/000412.ht

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Tuesday, May 26, 2015 3:58 PM > To: Gajdzica, MaciejX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 01/10] table: added structure for storing > table stats > > On Tue,

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Tuesday, May 26, 2015 3:57 PM > To: Gajdzica, MaciejX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] pipeline: add statistics for > librte_pipeline > ports and tables

[dpdk-dev] [RFC PATCH 1/2] Added ETH_SPEED_CAP bitmap in rte_eth_dev_info

2015-05-26 Thread Marc Sune
On 26/05/15 17:03, Stephen Hemminger wrote: > On Tue, 12 May 2015 01:45:45 +0200 > Marc Sune wrote: > >> +/** >> + * Ethernet device information >> + */ >> struct rte_eth_dev_info { >> struct rte_pci_device *pci_dev; /**< Device PCI information. */ >> const char *driver_name; /**< De

[dpdk-dev] [PATCH 5/5] app/testpmd: add test cases for qinq stripping and insertion

2015-05-26 Thread Helin Zhang
If double vlan is detected, its stripped flag and vlan tags can be printed on rxonly mode. Test command of 'tx_vlan set' is expanded to set both single and double vlan tags on TX side for each packets to be sent out. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 78

[dpdk-dev] [PATCH 4/5] i40evf: add supported offload capability flags

2015-05-26 Thread Helin Zhang
Add checksum offload capability flags which have already been supported for a long time. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev_vf.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_eth

[dpdk-dev] [PATCH 3/5] i40e: support double vlan stripping and insertion

2015-05-26 Thread Helin Zhang
It configures specific registers to enable double vlan stripping on RX side and insertion on TX side. The RX descriptors will be parsed, the vlan tags and flags will be saved to corresponding mbuf fields if vlan tag is detected. The TX descriptors will be configured according to the configurations

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Helin Zhang
Use the reserved 16 bits in rte_mbuf structure for the outer vlan, also add QinQ offloading flags for both RX and TX sides. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/lib

[dpdk-dev] [PATCH 1/5] ixgbe: remove a discarded source line

2015-05-26 Thread Helin Zhang
Little endian to CPU order conversion had been added for reading vlan tag from RX descriptor, while its original source line was forgotten to delete. That's a discarded source line and should be deleted. Signed-off-by: Helin Zhang --- drivers/net/ixgbe/ixgbe_rxtx.c | 1 - 1 file changed, 1 delet

[dpdk-dev] [PATCH 0/5] support i40e QinQ stripping and insertion

2015-05-26 Thread Helin Zhang
As i40e hardware can be reconfigured to support QinQ stripping and insertion, this patch set is to enable that together with using the reserved 16 bits in 'struct rte_mbuf' for the second vlan tag. Corresponding command is added in testpmd for testing. Note that no need to rework vPMD, as nothings

[dpdk-dev] Build only rte_mempool

2015-05-26 Thread Dax Rawal
Hi, I am a new to DPDK and am interested in using just the rte_mempool and not the rest of it. I have these question if this is possible. -What else has to be build (apart from rte_mempool) as a mandatory minimum ? -What is the init function for rte_mempool ? -Any guideline as to how to integrate

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Ananyev, Konstantin
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, May 26, 2015 4:35 PM > To: Ananyev, Konstantin > Cc: Zhang, Helin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double > vlan > > On Tue, 26

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

2015-05-26 Thread Maciej Gajdzica
This patch adds statistics collection for librte_pipeline. Those statistics ale disabled by default during build time. Signed-off-by: Pawel Wodkowski --- lib/librte_pipeline/rte_pipeline.c | 185 +--- lib/librte_pipeline/rte_pipeline.h | 98 +++

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

2015-05-26 Thread Chris Wright
* Maciej Gajdzica (maciejx.t.gajdzica at intel.com) wrote: > @@ -187,6 +193,24 @@ typedef int (*rte_table_op_lookup)( > uint64_t *lookup_hit_mask, > void **entries); > > +/** > + * Lookup table stats read > + * > + * @param port Parameter is actually called table > + * Handle to l

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Ananyev, Konstantin
Hi Stephen, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > Sent: Tuesday, May 26, 2015 3:55 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double > vlan > > On Tue, 2

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Zhang, Helin
Hi Stephen > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, May 26, 2015 10:55 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for > double vlan > > On Tue, 26 May 2015 1

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

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 21:40:42 + "Dumitrescu, Cristian" wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > > Hemminger > > Sent: Tuesday, May 26, 2015 3:58 PM > > To: Gajdzica, MaciejX T > > Cc: dev at dpdk.org > > Subject: Re: [dpd

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

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 21:35:22 + "Dumitrescu, Cristian" wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > > Hemminger > > Sent: Tuesday, May 26, 2015 3:57 PM > > To: Gajdzica, MaciejX T > > Cc: dev at dpdk.org > > Subject: Re: [dpd

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_lpm.c index 64c684d..ab304ea 100644 --- a/lib/li

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_lpm_ipv6.c index ce4ddc0..62a4c56

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_hash_lru.c index c9a8afd..30e

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_hash_key8.c index 6803eb2..

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_hash_key32.c index 679059

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_hash_key16.c index f87ea0

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_hash_ext.c index 66e416b..721

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

2015-05-26 Thread 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 a/lib/librte_table/rte_table_array.c b/lib/librte_table/rte_table_array.c index c031070.

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table_acl.c index 4416311..c67622a 100644 --- a/l

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

2015-05-26 Thread 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 b/lib/librte_table/rte_table.h index 6e51fe6..1732fbf 100644 --- a/lib/librte

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

2015-05-26 Thread 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 enable/disable stats - using RTE_LOG_LEVEL instead Maciej

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Gajdzica > Sent: Tuesday, May 26, 2015 2:39 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3] pipeline: add statistics for librte_pipeline > ports and tables > > This patch adds statistics colle

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Gajdzica > Sent: Tuesday, May 26, 2015 1:40 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 00/10] table: added table statistics > > Added statistics for every type of table. By default all tab

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_source_sink.c b/lib/librte_port/rte_port_source_sink.c index

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

2015-05-26 Thread 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 b/lib/librte_port/rte_port_source_sink.c index b9a25bb..c36a

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c index df77

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c index 2107f

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

2015-05-26 Thread 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 b/lib/librte_port/rte_port_ring.c index 9fdd7d5..2e7f2f1 1

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

2015-05-26 Thread 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 b/lib/librte_port/rte_port_ring.c index e35a611..9fdd7d5 100644

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_ring.c b/lib/librte_port/rte_port_ring.c index 89b9641.

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_ras.c b/lib/librte_port/rte_port_ras.c index 5eb627a..a066

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

2015-05-26 Thread Maciej Gajdzica
Added statistics for IPv4 and IPv6 fragmentation ports. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_frag.c | 36 1 file changed, 36 insertions(+) diff --git a/lib/librte_port/rte_port_frag.c b/lib/librte_port/rte_port_frag.c index c4c05dc..

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

2015-05-26 Thread Maciej Gajdzica
Added statistics for ethdev writer nodrop port. Signed-off-by: Maciej Gajdzica --- lib/librte_port/rte_port_ethdev.c | 36 1 file changed, 36 insertions(+) diff --git a/lib/librte_port/rte_port_ethdev.c b/lib/librte_port/rte_port_ethdev.c index af3e9d4..8

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

2015-05-26 Thread 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 b/lib/librte_port/rte_port_ethdev.c index 3c15af6..af3e9d4

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port_ethdev.c b/lib/librte_port/rte_port_ethdev.c index 3

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

2015-05-26 Thread 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 a/lib/librte_port/rte_port.h b/lib/librte_port/rte_port.h index d84e5a

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

2015-05-26 Thread 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 enable/disable stats - using RTE_LOG_LEVEL instead Maciej G

[dpdk-dev] FIB aware L3 forwarding

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 10:51:01 -0700 Srikanth Akula wrote: > Hi Dev team , > > I am interested to know if DPDK supports multiple FIBs , and forwards L3 > packets based on the FIB ID we are interested in ? > > -Srikanth DPDK is not a router, it provides tools to build a router. It is up to your s

[dpdk-dev] [PATCH RFC] Memcpy optimization

2015-05-26 Thread Linhaifeng
On 2014/11/14 17:08, Wang, Zhihong wrote: > Hi all, > > I'd like to propose an update on DPDK memcpy optimization. > Please see RFC below for details. > > > Thanks > John > > --- > > DPDK Memcpy Optimization > > 1. Introduction > 2. Terminology > 3. Mechanism > 3.1 Architectural Insight

[dpdk-dev] [PATCH 2/2] mempool: fix pages computation to determine number of objects

2015-05-26 Thread Adrien Mazarguil
On Mon, May 25, 2015 at 06:20:03PM +, Ananyev, Konstantin wrote: > Hi Adrien, Hi Konstantin, > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Adrien Mazarguil > > Sent: Monday, May 25, 2015 5:28 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATC

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

2015-05-26 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Gajdzica > Sent: Tuesday, May 26, 2015 10:23 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 00/13] port: added port statistics > > Added statistics for every type of port. By default all port

[dpdk-dev] FIB aware L3 forwarding

2015-05-26 Thread Srikanth Akula
Hi Dev team , I am interested to know if DPDK supports multiple FIBs , and forwards L3 packets based on the FIB ID we are interested in ? -Srikanth

[dpdk-dev] [RFC PATCH 1/2] Added ETH_SPEED_CAP bitmap in rte_eth_dev_info

2015-05-26 Thread Marc Sune
On 25/05/15 19:46, Stephen Hemminger wrote: > On Tue, 12 May 2015 01:45:45 +0200 > Marc Sune wrote: > >> +/** >> + * Ethernet device information >> + */ >> struct rte_eth_dev_info { >> struct rte_pci_device *pci_dev; /**< Device PCI information. */ >> const char *driver_name; /**< De

[dpdk-dev] [PATCH 2/5] cxgbe: add cxgbe poll mode driver.

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 22:32:07 +0530 Rahul Lakkireddy wrote: > On Sat, May 23, 2015 at 11:27:56 +0530, Rahul Lakkireddy wrote: > > On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote: > > > On Fri, 22 May 2015 18:54:20 +0530 > > > Rahul Lakkireddy wrote: > > > > > > > +#define pr_err(

[dpdk-dev] [PATCH] ixgbe: fall back to non-vector rx

2015-05-26 Thread Eric Kinzie
The ixgbe driver refuses to receive any packets when vector receive is enabled and fewer than the minimum number of required mbufs (32) are supplied. This makes it incompatible with the bonding driver which, during receive, may start out with enough buffers but as it collects packets from each of

[dpdk-dev] [PATCH] ixgbe fall back to non-vector rx

2015-05-26 Thread Eric Kinzie
This change addresses an issue found using the bonding driver with ixgbe interfaces that have vector operations enabled (CONFIG_RTE_IXGBE_INC_VECTOR=y). Eric Kinzie (1): ixgbe: fall back to non-vector rx drivers/net/ixgbe/ixgbe_rxtx.c | 10 +- drivers/net/ixgbe/ixgbe_rxtx.h |

[dpdk-dev] [PATCH v4 4/4] bond mode 4: tests for external state machine

2015-05-26 Thread Eric Kinzie
From: Eric Kinzie This adds test cases for exercising the external state machine API to the mode 4 autotest. Signed-off-by: Eric Kinzie --- app/test/test_link_bonding_mode4.c | 210 ++-- 1 file changed, 201 insertions(+), 9 deletions(-) diff --git a/app/te

[dpdk-dev] [PATCH v4 3/4] bond mode 4: allow external state machine

2015-05-26 Thread Eric Kinzie
From: Eric Kinzie Provide functions to allow an external 802.3ad state machine to transmit and recieve LACPDUs and to set the collection/distribution flags on slave interfaces. Size of struct rte_eth_bond_8023ad_conf changed. Increment LIBABIVER and version bond_mode_8023ad_setup and

[dpdk-dev] [PATCH v4 2/4] bond mode 4: do not ignore multicast

2015-05-26 Thread Eric Kinzie
From: Eric Kinzie The bonding PMD in mode 4 puts all enslaved interfaces into promiscuous mode in order to receive LACPDUs and must filter unwanted packets after the traffic has been "collected". Allow broadcast and multicast through so that ARP and IPv6 neighbor discovery continue to work. Fix

[dpdk-dev] [PATCH v4 1/4] bond mode 4: copy entire config structure

2015-05-26 Thread Eric Kinzie
From: Eric Kinzie Copy all needed fields from the mode8023ad_private structure in bond_mode_8023ad_conf_get(). This help ensure that a subsequent call to rte_eth_bond_8023ad_setup() is not passed uninitialized data that would result in either incorrect behavior or a failed sanity check.

[dpdk-dev] [PATCH v4 0/4] bonding corrections and additions

2015-05-26 Thread Eric Kinzie
This patchset makes a couple of small corrections to the bonding driver and introduces the ability to use an external state machine for mode 4 operation. Changes in v2: . eliminate external_sm field in 802.3ad configuration (rte_eth_bond_8023ad_conf). . stop bonding device before changing

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 15:02:51 + "Ananyev, Konstantin" wrote: > Hi Stephen, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > > Sent: Tuesday, May 26, 2015 3:55 PM > > To: Zhang, Helin > > Cc: dev at dpdk.org > > Subject: Re: [dpdk

[dpdk-dev] [RFC PATCH 1/2] Added ETH_SPEED_CAP bitmap in rte_eth_dev_info

2015-05-26 Thread Stephen Hemminger
On Tue, 12 May 2015 01:45:45 +0200 Marc Sune wrote: > +/** > + * Ethernet device information > + */ > struct rte_eth_dev_info { > struct rte_pci_device *pci_dev; /**< Device PCI information. */ > const char *driver_name; /**< Device Driver name. */ > @@ -924,6 +947,7 @@ struct rte_et

[dpdk-dev] Build DPDK with Google bazel

2015-05-26 Thread Stephen Hemminger
On Sat, 23 May 2015 17:53:27 -0700 Ming Zhao wrote: > bazel(http://bazel.io) is the open sourced version of Google build > tool, and it has proved itself is a nice solution for monolithic > server side development. In our company, we use both to build our > products and it greatly reduced the hur

[dpdk-dev] [PATCH] virtio: fix crash if CQ is not negotiated

2015-05-26 Thread Stephen Hemminger
On Mon, 25 May 2015 12:20:52 +0200 Damjan Marion wrote: > Fix NULL dereference if virtio control queue is not negotiated. > > Signed-off-by: Damjan Marion This is good belt and suspenders thing to have, but did you see early patches to check the feature bits and not call this code? Acked-by:

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

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 14:39:38 +0200 Maciej Gajdzica wrote: > + > /** Lookup table interface defining the lookup table operation */ > struct rte_table_ops { > rte_table_op_create f_create; /**< Create */ > @@ -194,6 +218,7 @@ struct rte_table_ops { > rte_table_op_entry_add f_add

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

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 15:39:18 +0200 Maciej Gajdzica wrote: > +#if RTE_LOG_LEVEL == RTE_LOG_DEBUG > +#define RTE_PIPELINE_STATS_ADD(counter, val) \ > + ({ (counter) += (val); }) > + > +#define RTE_PIPELINE_STATS_ADD_M(counter, mask) \ > + ({ (counter) += __builtin_popcountll(mask); }) > +#e

[dpdk-dev] [PATCH 2/5] mbuf: use the reserved 16 bits for double vlan

2015-05-26 Thread Stephen Hemminger
On Tue, 26 May 2015 16:36:37 +0800 Helin Zhang wrote: > Use the reserved 16 bits in rte_mbuf structure for the outer vlan, > also add QinQ offloading flags for both RX and TX sides. > > Signed-off-by: Helin Zhang Yet another change that is much needed, but breaks ABI compatibility.

[dpdk-dev] [PATCH 4/6] vhost: Add new command line option: rxq

2015-05-26 Thread Ouyang, Changchun
Hi Thomas, > -Original Message- > From: Ouyang, Changchun > Sent: Saturday, May 23, 2015 9:25 AM > To: Thomas F Herbert; dpdk >> dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH 4/6] vhost: Add new command line option: > rxq > > Hi Thomas, > > > -Original Mess