[dpdk-dev] [dpdk-announce] DPDK 2.1.0 released

2015-08-17 Thread Thomas Monjalon
A new DPDK release can be downloaded here: http://dpdk.org/browse/dpdk/tag/?id=v2.1.0 Every 4 months, a new release. Every 4 months, more changes than before. Once again, it is the biggest release ever. Statistics for this release cycle: 827 patches from 84 authors 827 fil

[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

2015-08-17 Thread Venkateswara Rao Thummala
Hi Avinash, I think, you can use the same table by just updating the packet meta data based on the Look UP. In the first lookup, you can populate the meta data [key offset] with the source MAC and in the second lookup, you can populate the same meta data with the destination lookup. I think this s

[dpdk-dev] [PATCH 0/2] add mlx4 release notes

2015-08-17 Thread Thomas Monjalon
2015-08-11 16:42, Adrien Mazarguil: > Following John McNamara's changes we've noticed that mlx4 release notes were > missing from DPDK 2.0.0. This patchset adds them retroactively and also > provides mlx4 release notes for DPDK 2.1.0. > > Adrien Mazarguil (2): > doc: add missing release notes fo

[dpdk-dev] [PATCH] doc: updated release notes for r2.1

2015-08-17 Thread Thomas Monjalon
2015-08-13 13:02, Iremonger, Bernard: > > + Port hotplug support was added to the following PMDs: > > + > > + * e1000/igb. > > + * ixgbe. > > + * i40e. > > + * fm10k. > > + * Ring. > > + * Bonding. > > + * Virtio. > > ring, bonding and virtio should probably be all lowercase. Applied with

[dpdk-dev] [PATCH] test_table: initialize table parameteres

2015-08-17 Thread Thomas Monjalon
2015-08-17 17:58, Pablo de Lara: > In table_autotest, the structures containing the parameters > to create the tables were not initialized, and therefore, > some checks could fail and so the unit test. > > Also, due to this initialization, one of the tests that was > checking if the table was impr

[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

2015-08-17 Thread Singh, Jasvinder
Hi, > -Original Message- > From: Yeddula, Avinash [mailto:ayeddula at ciena.com] > Sent: Monday, August 17, 2015 5:35 PM > To: Singh, Jasvinder; Richardson, Bruce > Cc: dev at dpdk.org; Bly, Mike > Subject: RE: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. > > + Mike ( My tea

[dpdk-dev] [PATCH 1/1] test_table: fixed failing unit tests checking offset

2015-08-17 Thread Thomas Monjalon
> > In commit: 1129992baa61d72c5 checking for offset alignment was removed. > > Unit tests wasn't updated to reflect that change. This patch changes > > checks with unaligned offsets to make tests pass. > > > > Signed-off-by: Maciej Gajdzica > > Acked-by: Daniel Mrzyglod Applied, thanks

[dpdk-dev] [PATCH] test_table: initialize table parameteres

2015-08-17 Thread Pablo de Lara
In table_autotest, the structures containing the parameters to create the tables were not initialized, and therefore, some checks could fail and so the unit test. Also, due to this initialization, one of the tests that was checking if the table was improperly initialized has been removed, as it is

[dpdk-dev] [PATCH 2/2] eal: Fix compilation on C++

2015-08-17 Thread Thomas Monjalon
2015-08-17 17:29, Thomas Monjalon: > 2015-07-03 21:51, Joongi Kim: > > * Forward declaration of enum in C++ requires explicit underlying > >type definitions. > > > > * This fixes the issue at: > >http://dpdk.org/ml/archives/dev/2015-April/017065.html > > > > Signed-off-by: Joongi Kim >

[dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return

2015-08-17 Thread Thomas Monjalon
2015-08-17 10:14, Olivier MATZ: > Hi Sergey, > > On 08/12/2015 11:11 AM, Sergey Balabanov wrote: > > When DPDK is being compiled in C++ project using g++ then > > 'invalid conversion from' error appears. Added explicit > > typecast on function return to get rid of the error. > > > > Signed-off-by

[dpdk-dev] [PATCH 2/2] eal: Fix compilation on C++

2015-08-17 Thread Thomas Monjalon
2015-07-03 21:51, Joongi Kim: > * Forward declaration of enum in C++ requires explicit underlying >type definitions. > > * This fixes the issue at: >http://dpdk.org/ml/archives/dev/2015-April/017065.html > > Signed-off-by: Joongi Kim Does the problem appear only with rte_hash_crc.h in

[dpdk-dev] [PATCH 1/2] lib: Fix pointer arithmetic for C++

2015-08-17 Thread Thomas Monjalon
2015-07-03 21:51, Joongi Kim: > lib/librte_malloc/malloc_elem.h | 4 ++-- > lib/librte_mempool/rte_mempool.c | 2 +- These files are not part of the API and should not be included. No need to fix them for C++.

[dpdk-dev] [PATCH v6 4/9] ethdev: remove HW specific stats in stats structs

2015-08-17 Thread Olivier MATZ
Hi Maryam, On 07/15/2015 03:11 PM, Maryam Tahhan wrote: > Remove non generic stats in rte_stats_strings and mark the relevant > fields in struct rte_eth_stats as deprecated. > > Signed-off-by: Maryam Tahhan > --- > doc/guides/rel_notes/abi.rst | 12 > lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH 2/2] doc: announce removal of LPM memory location

2015-08-17 Thread Thomas Monjalon
2015-08-17 16:39, Thomas Monjalon: > This field is deprecated for a long time and should be removed. > > Signed-off-by: Thomas Monjalon Series applied

[dpdk-dev] [PATCH 0/3] announce deprecation of functions commented as deprecated

2015-08-17 Thread Thomas Monjalon
2015-08-17 00:51, Thomas Monjalon: > As suugested by Stephen, some functions are marked as deprecated in the code > and should now be removed. > Let's follow the deprecation process and announce it in the release notes. > > Thomas Monjalon (3): > doc: announce legacy 7-tuple acl rule removal >

[dpdk-dev] [PATCH 2/2] doc: announce removal of LPM memory location

2015-08-17 Thread Thomas Monjalon
This field is deprecated for a long time and should be removed. Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index bf0ac95..da17880 10064

[dpdk-dev] [PATCH 1/2] doc: announce removal of jhash2 function

2015-08-17 Thread Thomas Monjalon
Fixes: 7530c9eea7d9 ("hash: rename a jhash function") Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 46a88ca..bf0ac95 100644 --- a/doc

[dpdk-dev] [PATCH 1/1] table_test: renamed test_table_ACL to lowercase

2015-08-17 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Gajdzica > Sent: Thursday, August 13, 2015 11:33 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/1] table_test: renamed test_table_ACL to > lowercase > > Renamed function name to comply with cod

[dpdk-dev] [ovs-dev] Status of Open vSwitch with DPDK

2015-08-17 Thread Mark D. Gray
On 08/15/15 08:16, Flavio Leitner wrote: > On Fri, Aug 14, 2015 at 04:04:40PM +, Gray, Mark D wrote: >> Hi Daniele, >> >> Thanks for starting this conversation. It is a good list :) I have >> crossed-posted this >> to dpdk.org as I feel that some of the points could be interesting to that >>

[dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return

2015-08-17 Thread Olivier MATZ
Hi Joongi, On 08/17/2015 02:28 PM, Joongi Kim wrote: > I already have fixed this issue > at http://dpdk.org/dev/patchwork/patch/6068/ . > There is another issue related to "underlying type" for enum > declarations http://dpdk.org/dev/patchwork/patch/6067/, for C++11 compilers. > > In the second p

[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

2015-08-17 Thread Bly, Mike
Venkat, While that does ?solve? the issue, I find the approach of tying the meta-data-key-offset to a specific table highly limiting. IMO, it would be far more interesting to provide the offset as part of the lookup call itself. For example, I might have an optimized code sequence that generate

[dpdk-dev] ieee1588fwd.c implementation

2015-08-17 Thread Mcnamara, John
> -Original Message- > From: Stefan Binna [mailto:stefan.binna at salzburgresearch.at] > Sent: Monday, August 17, 2015 1:48 AM > To: Mcnamara, John; dev at dpdk.org > Subject: Re: [dpdk-dev] ieee1588fwd.c implementation > > Hi, > > I'm using the Intel NIC 82547L. > Furthermore I'm using D

[dpdk-dev] [PATCH 1/1] test_table: added ACL table test to the list

2015-08-17 Thread Gajdzica, MaciejX T
> -Original Message- > From: Gajdzica, MaciejX T > Sent: Wednesday, August 12, 2015 2:41 PM > To: dev at dpdk.org > Cc: Gajdzica, MaciejX T > Subject: [PATCH 1/1] test_table: added ACL table test to the list > > test_table_ACL wasn't invoked when running table_autotest. Added this test to

[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

2015-08-17 Thread Singh, Jasvinder
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, August 14, 2015 10:25 AM > To: Yeddula, Avinash > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. > > On Thu, Aug 13, 2015 at 05:3

[dpdk-dev] [PATCH] mempool: fix the inverted pg_num check on create

2015-08-17 Thread Dan Aloni
On Mon, Aug 17, 2015 at 10:55:35AM +0200, Olivier MATZ wrote: > On 08/16/2015 09:08 PM, Dan Aloni wrote: [..] > > /* Check that pg_num and pg_shift parameters are valid. */ > > - if (pg_num < RTE_DIM(mp->elt_pa) || pg_shift > MEMPOOL_PG_SHIFT_MAX) { > > + if (pg_num > RTE_DIM(mp->elt_pa) ||

[dpdk-dev] [PATCH v2] ixgbe_pmd: forbid tx_rs_thresh above 1 for all NICs but 82598

2015-08-17 Thread Vlad Zolotarov
According to 82599 and x540 HW specifications RS bit *must* be set in the last descriptor of *every* packet. This patch fixes the Tx hang we were constantly hitting with a seastar-based application on x540 NIC. Signed-off-by: Vlad Zolotarov --- New in v2: - ixgbevf: ixgbevf_dev_info_get(): re

[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

2015-08-17 Thread Yeddula, Avinash
+ Mike ( My team mate) Hi Jasvinder, It's not a bidirectional packet flow. The pipeline looks something like this. Ingress port-Table 1 Table-2 - Mac_Table - Table4 Egress port. Before the frame goes reaches table 4, we do 2 lookups at the mac table. 1. src lookup ( To lear

[dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return

2015-08-17 Thread Joongi Kim
I already have fixed this issue at http://dpdk.org/dev/patchwork/patch/6068/ . There is another issue related to "underlying type" for enum declarations http://dpdk.org/dev/patchwork/patch/6067/, for C++11 compilers. In the second patch I missed updating headers for architectures other than x86,

[dpdk-dev] [PATCH] mempool: fix incompatibility with C++ in header file

2015-08-17 Thread Avi Kivity
(adding list+Thomas back to cc) On 08/17/2015 11:33 AM, Olivier MATZ wrote: > Hi, > > On 08/14/2015 10:33 AM, Avi Kivity wrote: >> C++ doesn't allow implied casting from void * to another pointer, so >> supply an explicit cast. >> >> Signed-off-by: Avi Kivity > For Thomas: > This fix is already s

[dpdk-dev] [PATCH] mempool: fix the inverted pg_num check on create

2015-08-17 Thread Olivier MATZ
Hi, On 08/16/2015 09:08 PM, Dan Aloni wrote: > The rest of the code expects pg_num <= RTE_DIM(mp->elt_pa). > > Signed-off-by: Dan Aloni > --- > lib/librte_mempool/rte_mempool.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_mempool/rte_mempool.c > b/lib/li

[dpdk-dev] ieee1588fwd.c implementation

2015-08-17 Thread Stefan Binna
Hi, I'm using the Intel NIC 82547L. Furthermore I'm using DPDK-2.0.0, the last stable download from the official homepage. Is there any method to "measure" the time the NIC takes to process the packet from the input port (e.g. port 0) to the output port (port 1)? Should be around 8 to 40 micro

[dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return

2015-08-17 Thread Olivier MATZ
Hi Sergey, On 08/12/2015 11:11 AM, Sergey Balabanov wrote: > When DPDK is being compiled in C++ project using g++ then > 'invalid conversion from' error appears. Added explicit > typecast on function return to get rid of the error. > > Signed-off-by: Sergey Balabanov Fixes: 7755baae8378 ("mbuf

[dpdk-dev] [PATCH 3/3] doc: announce ring PMD functions removal

2015-08-17 Thread Thomas Monjalon
These functions are marked as deprecated for a long time: 61934c0956d4 ("ring: convert to use of PMD_REGISTER_DRIVER and fix linking") As suggested in this patch, it should be removed: http://dpdk.org/ml/archives/dev/2015-June/019253.html Suggested-by: Stephen Hemminger Signed-of

[dpdk-dev] [PATCH 2/3] doc: announce removal of kni functions using port id

2015-08-17 Thread Thomas Monjalon
These functions are marked as deprecated for a long time: fbf895d44cfe ("kni: identify device by name") As suggested in this patch, it should be removed: http://dpdk.org/ml/archives/dev/2015-June/019254.html Suggested-by: Stephen Hemminger Signed-off-by: Thomas Monjalon --- doc/

[dpdk-dev] [PATCH 1/3] doc: announce legacy 7-tuple acl rule removal

2015-08-17 Thread Thomas Monjalon
These functions are marked as deprecated for a long time. As suggested in this patch, it should be removed: http://dpdk.org/ml/archives/dev/2015-June/019255.html Suggested-by: Stephen Hemminger Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/deprecation.rst | 4 1 file chan

[dpdk-dev] [PATCH 0/3] announce deprecation of functions commented as deprecated

2015-08-17 Thread Thomas Monjalon
As suugested by Stephen, some functions are marked as deprecated in the code and should now be removed. Let's follow the deprecation process and announce it in the release notes. Thomas Monjalon (3): doc: announce legacy 7-tuple acl rule removal doc: announce removal of kni functions using por