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
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
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_
> -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
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
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
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
> -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,
> -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
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
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
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
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
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
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
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
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
> -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
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 +++
* 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
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
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
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
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
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
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
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
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..
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
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
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
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.
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
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
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
> -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
> -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
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
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
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
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
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
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
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.
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
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..
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
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
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
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
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
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
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
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
> -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
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
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
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(
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
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 |
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
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
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
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.
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
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
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
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
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:
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
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
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.
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
73 matches
Mail list logo