[dpdk-dev] [PATCH v8] mem: command line option to delete hugepage backing files

2015-10-28 Thread Sergio Gonzalez Monroy
On 28/10/2015 22:04, Shesha Sreenivasamurthy wrote: > When an application using huge-pages crash or exists, the hugetlbfs > backing files are not cleaned up. This is a patch to clean those files. > There are multi-process DPDK applications that may be benefited by those > backing files. Therefore,

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 06:30:41PM -0200, Flavio Leitner wrote: > On Sat, Oct 24, 2015 at 08:47:10PM +0300, Michael S. Tsirkin wrote: > > On Sat, Oct 24, 2015 at 12:34:08AM -0200, Flavio Leitner wrote: > > > On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote: > > > > On Thu, Oct 22,

[dpdk-dev] [PATCH v3 08/16] fm10k: add Vector RX scatter function

2015-10-28 Thread Liang, Cunming
Hi Mark, On 10/27/2015 5:46 PM, Chen Jing D(Mark) wrote: > From: "Chen Jing D(Mark)" > > Add func fm10k_recv_scattered_pkts_vec to receive chained packets > with SSE instructions. > > Signed-off-by: Chen Jing D(Mark) > --- > drivers/net/fm10k/fm10k.h |2 + > drivers/net/fm10k/fm1

[dpdk-dev] [PATCH v3 04/16] fm10k: add func to re-allocate mbuf for RX ring

2015-10-28 Thread Liang, Cunming
Hi Mark, On 10/27/2015 5:46 PM, Chen Jing D(Mark) wrote: > From: "Chen Jing D(Mark)" > > Add function fm10k_rxq_rearm to re-allocate mbuf for used desc > in RX HW ring. > > Signed-off-by: Chen Jing D(Mark) > --- > drivers/net/fm10k/fm10k.h |9 > drivers/net/fm10k/fm10k_ethde

[dpdk-dev] [Patch] Eth Driver: Optimization for improved NIC processing rates

2015-10-28 Thread Polehn, Mike A
Hi Bruce! Thank you for reviewing, sorry didn't write clearly as possible. I was trying to say more than "The performance improved". I didn't call out RFC 2544 since many people may not know much about it. I was also trying to convey what was observed and the conclusion derived from the obser

[dpdk-dev] [PATCH v5 3/4] vhost: using EVENTFD_COPY2

2015-10-28 Thread Pavel Boldin
Huawei, Thomas, Please find an updated patchset in the appropriate mail thread. With best regards, Pavel On Mon, Oct 26, 2015 at 3:45 AM, Xie, Huawei wrote: > On 10/21/2015 8:16 PM, Pavel Boldin wrote: > > Xie, > > > > Please find my comments intermixed below. > > > > On Tue, Oct 20, 2015 at 1

[dpdk-dev] [PATCH v6 3/3] vhost: using EVENTFD_COPY2

2015-10-28 Thread Pavel Boldin
Signed-off-by: Pavel Boldin --- lib/librte_vhost/vhost_cuse/eventfd_copy.c | 54 ++-- lib/librte_vhost/vhost_cuse/eventfd_copy.h | 6 lib/librte_vhost/vhost_cuse/vhost-net-cdev.c | 3 ++ 3 files changed, 44 insertions(+), 19 deletions(-) diff --git a/lib/librte

[dpdk-dev] [PATCH v6 2/3] vhost: add EVENTFD_COPY2 ioctl

2015-10-28 Thread Pavel Boldin
Signed-off-by: Pavel Boldin --- lib/librte_vhost/eventfd_link/eventfd_link.c | 61 lib/librte_vhost/eventfd_link/eventfd_link.h | 28 ++--- 2 files changed, 84 insertions(+), 5 deletions(-) diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.c b/lib/libr

[dpdk-dev] [PATCH v6 1/3] vhost: eventfd_link: refactoring EVENTFD_COPY handler

2015-10-28 Thread Pavel Boldin
* Move ioctl `EVENTFD_COPY' code to a separate function * Remove extra #includes * Introduce function fget_from_files * Fix ioctl return values Signed-off-by: Pavel Boldin --- lib/librte_vhost/eventfd_link/eventfd_link.c | 181 +++ 1 file changed, 100 insertions(+), 81 de

[dpdk-dev] [PATCH v6 0/3] vhost: eventfd_link refactoring

2015-10-28 Thread Pavel Boldin
The patchset contains an attempt at the refactoring the `eventfd_link` kernel module that is used to steal an FD in DPDK. The first patch refactors old EVENTFD_COPY handler fixing the codepath and errors returned from the kernel space. This patch is retained for the backward compatibility. The ne

[dpdk-dev] dpdk/vhost-user and VM migration

2015-10-28 Thread Yuanhan Liu
On Wed, Oct 28, 2015 at 05:52:44AM -0400, Amnon Ilan wrote: > > > - Original Message - > > From: "Yuanhan Liu" > > To: "Michael S. Tsirkin" > > Cc: dev at dpdk.org > > Sent: Friday, October 16, 2015 10:37:38 AM > > Subject: Re: [dpdk-dev] dpdk/vhost-user and VM migration > > > > On Wed

[dpdk-dev] [PATCH v3 00/17] Support ARMv7 architecture

2015-10-28 Thread David Marchand
On Wed, Oct 28, 2015 at 6:38 PM, Jan Viktorin wrote: > > > > - can you update the 2.2 release notes as part of this patchset to > announce > > armv7 support ? > > Yes, but where? > I would say "New Features" in doc/guides/rel_notes/release_2_2.rst. > > - I am not really sure the acl et lpm fix

[dpdk-dev] [PATCH v3 00/17] Support ARMv7 architecture

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 15:54:47 +0100 David Marchand wrote: > Hello Jan, > > On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin > wrote: > > > Hello DPDK community, > > > > this is the third attempt to post support for ARMv7 into the DPDK. > > There are changes related to the LPM and ACL libraries onl

[dpdk-dev] [PATCH v3 13/17] gcc/arm: avoid alignment errors to break build

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 13:16:24 +0100 David Marchand wrote: > On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin > wrote: > > > There several issues with alignment when compiling for ARMv7. > > They are not considered to be fatal (ARMv7 supports unaligned > > access of 32b words), so we just leave them

[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 14:39:27 +0100 David Marchand wrote: > On Mon, Oct 26, 2015 at 5:37 PM, Jan Viktorin > wrote: > > > > > diff --git a/config/defconfig_arm-armv7-a-linuxapp-gcc > > b/config/defconfig_arm-armv7-a-linuxapp-gcc > > new file mode 100644 > > index 000..5b582a8 > > --- /dev/nul

[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 14:34:40 +0100 David Marchand wrote: > On Mon, Oct 26, 2015 at 5:37 PM, Jan Viktorin > wrote: > > > From: Vlastimil Kosar > > > > Make DPDK run on ARMv7-A architecture. This patch assumes > > ARM Cortex-A9. However, it is known to be working on Cortex-A7 > > and Cortex-A15.

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-10-28 Thread Flavio Leitner
On Sat, Oct 24, 2015 at 08:47:10PM +0300, Michael S. Tsirkin wrote: > On Sat, Oct 24, 2015 at 12:34:08AM -0200, Flavio Leitner wrote: > > On Thu, Oct 22, 2015 at 02:32:31PM +0300, Michael S. Tsirkin wrote: > > > On Thu, Oct 22, 2015 at 05:49:55PM +0800, Yuanhan Liu wrote: > > > > On Wed, Oct 21, 20

[dpdk-dev] [PATCH v2] enic: improve Tx packet rate

2015-10-28 Thread John Daley
For every packet sent, a completion was being requested and the posted_index register on the nic was being updated. Instead, request a completion and update the posted index once per burst after all packets have been sent by the burst function. Acked-by: Sujith Sankar Signed-off-by: John Daley -

[dpdk-dev] [PATCH v2 0/4] RSS enhancement on Intel x550 NIC

2015-10-28 Thread Thomas Monjalon
> > This patch set implements the RSS enhancement on x550. > > The enhancement includes, the PF RSS redirection table is enlarged > > from 128 entries to 512 entries, the VF doesn't share the same > > registers with PF and per VF RSS redirection table is provided. > > > > V2: > > Condense the code

[dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread Thomas Monjalon
2015-10-28 16:18, De Lara Guarch, Pablo: > > This patch marks rxq with RTE_SET_USED in > > rx_desc_hlen_type_rss_to_pkt_flags(), when > > ieee1588 is disabled. Previously a compilation > > error occurred on unused-parameter. > > > > Fixes: 1ce6591e238a ("igb: fix ieee1588 frame identification in i

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Nikita Kozlov
On 10/28/2015 03:40 PM, Bruce Richardson wrote: > On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: >> Fix two issues in the delete_depth_small() function. >> >> 1> The control is not strict in this function. >> >> In the following structure, >> struct rte_lpm_tbl24_entry { >>

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-28 Thread Thomas Monjalon
> > This patch will drop flow control frames from being transmitted from VSIs. > > With this patch in place a malicious VF cannot send flow control or PFC > > packets > > out on the wire. > > > > V2: > > Reword the comments. > > > > V3: > > Move the check of set_ethertype_anti_spoofing to the to

[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture

2015-10-28 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Viktorin > Sent: Wednesday, October 28, 2015 5:32 PM > To: David Marchand > Cc: dev at dpdk.org; Vlastimil Kosar > Subject: Re: [dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture > > On Wed, 28

[dpdk-dev] [PATCH v3 00/11] Port XStats

2015-10-28 Thread Tom Crugnale
Hi Harry, We are planning on using the xstats API for periodic stats collection through a polling thread. This would be done in a generic NIC agnostic manner, which would require that the xstats identifiers have consistent naming amongst all of the NIC types. It would likely be polled several

[dpdk-dev] [PATCH v2] ixgbe: prefetch cacheline after pointer becomes valid

2015-10-28 Thread Thomas Monjalon
2015-09-28 10:53, Bruce Richardson: > On Fri, Sep 25, 2015 at 10:44:51AM -0700, Zoltan Kiss wrote: > > At the original point the rx_pkts[pos( + n)] pointers are not initialized, > > so > > the code is prefetching random data. > > > > Signed-off-by: Zoltan Kiss > > Acked-by: Bruce Richardson A

[dpdk-dev] [PATCH v3] ixgbe: fix access to last byte of EEPROM

2015-10-28 Thread Thomas Monjalon
> > Incorrect operator in ixgbe_get_eeprom & ixgbe_set_eeprom prevents > > last byte of EEPROM being read/written, and hence cannot be dumped > > or updated in entirity using these functions. > > > > Fixes: 0198848a47f5 ("ixgbe: add access to specific device info") > > > > Signed-off-by: Remy Hor

[dpdk-dev] [PATCH v4 7/7] librte_table: performance improvement on rte_prefetch offset

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch modifies rte_prefetch offsets to improve hash/lru table lookup performance. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash_ext.c | 10 --- lib/librte_table/rte_table_hash_key16.c | 51 + lib/librte_table/rte_table_h

[dpdk-dev] [PATCH v4 6/7] example/ip_pipeline/pipeline: update flow_classification pipeline

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch updates the flow_classification pipeline for added key_mask parameter in 8/16-byte key hash parameters. The update provides user optional key_mask configuration item applying to the packets. Signed-off-by: Fan Zhang --- .../pipeline/pipeline_flow_classification_be.c

[dpdk-dev] [PATCH v4 5/7] example/ip_pipeline: add parse_hex_string for internal use

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch adds parse_hex_string function to parse hex string to uint8_t array. Signed-off-by: Fan Zhang --- examples/ip_pipeline/config_parse.c | 52 + examples/ip_pipeline/pipeline_be.h | 4 +++ 2 files changed, 56 insertions(+) diff --g

[dpdk-dev] [PATCH v4 4/7] app/test-pipeline: modify pipeline test

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang Test-pipeline has been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test-pipeline/pipeline_hash.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-pipeline/pipeline_hash.c b/app/te

[dpdk-dev] [PATCH v4 3/7] app/test: modify app/test_table_combined and app/test_table_tables

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang Tests have been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test/test_table_combined.c | 5 - app/test/test_table_tables.c | 6 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH v4 2/7] librte_table: add 16 byte hash table operations with computed lookup

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch is to adding hash table operations for key signature computed on lookup ("do-sig") for LRU hash tables and Extendible buckets. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash.h | 8 + lib/librte_table/rte_table_hash_key16.c | 359

[dpdk-dev] [PATCH v4 1/7] librte_table: add key_mask parameter to 8- and 16-bytes key hash parameters

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch relates to ABI change proposed for librte_table. The key_mask parameter is added for 8-byte and 16-byte key extendible bucket and LRU tables.The release notes is updated and the deprecation notice is removed. Signed-off-by: Fan Zhang Signed-off-by: Jasvinder Singh --

[dpdk-dev] [PATCH v4 0/7] librte_table: add key_mask parameter to

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patchset links to ABI change announced for librte_table. The key_mask parameters has been added to the hash table parameter structure for 8-byte key and 16-byte key extendible bucket and LRU tables. v2: *updated release note v3: *merged release note with source code patch *

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Bruce Richardson
On Wed, Oct 28, 2015 at 05:55:59PM +0100, Nikita Kozlov wrote: > On 10/28/2015 03:40 PM, Bruce Richardson wrote: > > On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: > >> Fix two issues in the delete_depth_small() function. > >> > >> 1> The control is not strict in this function. > >>

[dpdk-dev] Support for configuring MTU on i40e

2015-10-28 Thread Tom Crugnale
Hi, I am trying to configure the MTU through rte_eth_dev_set_mtu() on an i40e interface and noticed that the function pointer inside of the rte_eth_dev struct for mtu_set is not populated from the i40e code. It seems that the only API that will allow for restricting the MTU is to call rte_eth_d

[dpdk-dev] [PATCH v2 4/4] doc: extend commands in testpmd and update release note

2015-10-28 Thread Jingjing Wu
Modify the doc about flow director commands to support filtering in VFs. Remove related ABI deprecation. update release note. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/deprecation.rst| 4 doc/guides/rel_notes/release_2_2.rst| 2 ++ doc/guides/testpmd_app_ug/testp

[dpdk-dev] [PATCH v2 3/4] testpmd: extend commands

2015-10-28 Thread Jingjing Wu
This patch extends commands to support filtering in VFs of flow director. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 41 + 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 0f8

[dpdk-dev] [PATCH v2 2/4] i40e: extend flow diretcor to support filtering in VFs

2015-10-28 Thread Jingjing Wu
This patch extends flow director to filtering in VFs. It also corrects to disable interrupt on queues when stop device. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 4 ++-- drivers/net/i40e/i40e_fdir.c | 15 --- 2 files changed, 14 insertions(+), 5 deletions(-)

[dpdk-dev] [PATCH v2 1/4] ethdev: extend struct to support flow director in VFs

2015-10-28 Thread Jingjing Wu
This patch extends struct rte_eth_fdir_flow_ext to support flow director in VFs. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 26b7b33..403e6b8 100644 --

[dpdk-dev] [PATCH v2 0/4] extend flow director to support VF filtering in i40e driver

2015-10-28 Thread Jingjing Wu
This patch set extends flow director to VF filtering in i40e driver. v2 change: - rework the doc, including release notes and testpmd guide Jingjing Wu (4): ethdev: extend struct to support flow director in VFs i40e: extend flow diretcor to support filtering in VFs testpmd: extend commands

[dpdk-dev] Wrong TCP Checkum computed by hardware

2015-10-28 Thread Padam Jeet Singh
>> > Yes, you are correct, I just noticed you declare it is static, If possible, > send more codes to me, I can help you with this. >>> Thanks, Padam > I have the following code: mbuf->ol_flags = (uint16_t) (mbuf->ol_flags & (~PKT_TX_OFFLOAD_MASK)); mbuf->

[dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Wednesday, October 28, 2015 4:08 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED > > This patch marks rxq with RTE_SET_USED in > rx_desc_hle

[dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread Harry van Haaren
This patch marks rxq with RTE_SET_USED in rx_desc_hlen_type_rss_to_pkt_flags(), when ieee1588 is disabled. Previously a compilation error occurred on unused-parameter. Fixes: 1ce6591e238a ("igb: fix ieee1588 frame identification in i210") Signed-off-by: Harry van Haaren --- v2: Fixed Fixes line

[dpdk-dev] [PATCH] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread Harry van Haaren
This patch marks rxq with RTE_SET_USED in rx_desc_hlen_type_rss_to_pkt_flags(), when ieee1588 is disabled. Previously a compilation error occurred on unused-parameter. Fixes: c6c79fa425f1 ("e1000: do not release queue on alloc error") Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_rx

[dpdk-dev] [PATCH v3 00/17] Support ARMv7 architecture

2015-10-28 Thread David Marchand
Hello Jan, On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin wrote: > Hello DPDK community, > > this is the third attempt to post support for ARMv7 into the DPDK. > There are changes related to the LPM and ACL libraries only: > > * included rte_vect.h, however, it is more a placeholder > * rte_lpm.h

[dpdk-dev] [PATCH] ixgbe: add mspdc to rx errors

2015-10-28 Thread Thomas Monjalon
> > This patch adds the mspdc (MAC Short Packet Discard Count) to the total rx > > errors, as discussed on the dev at dpdk mailing > > list: http://comments.gmane.org/gmane.comp.networking.dpdk.devel/23717 > > > > Suggested-by: Igor Ryzhov > > Signed-off-by: Harry van Haaren > Yes, why not inclu

[dpdk-dev] [PATCH v3] ixgbe: remove rx jabber from ierrors

2015-10-28 Thread Thomas Monjalon
> > Remove receive jabber count (rjc) from ierrors count as the register > > overlaps > > with the CRC error register, previously causing some packets to be counted > > twice. > > > > Signed-off-by: Harry van Haaren > Acked-by: Wenzhuo Lu Applied, thanks

[dpdk-dev] [PATCH] ixgbe: fix 82599 / 82598 register differences

2015-10-28 Thread Thomas Monjalon
> > Ixgbe based 82598 and 82599 have different priority recieve link-on register > > addresses. This is solved in base/ by providing in the PXONRXC and > > PXONXCNT as seperate macros. This patch ensures the correct address is > > read, avoiding reading garbage values. > > > > Also PXON2OFFCNT doe

[dpdk-dev] [PATCH v8] mem: command line option to delete hugepage backing files

2015-10-28 Thread Shesha Sreenivasamurthy
When an application using huge-pages crash or exists, the hugetlbfs backing files are not cleaned up. This is a patch to clean those files. There are multi-process DPDK applications that may be benefited by those backing files. Therefore, I have made that configurable so that the application that d

[dpdk-dev] [PATCH v3 01/17] mk: Introduce ARMv7 architecture

2015-10-28 Thread David Marchand
On Wed, Oct 28, 2015 at 11:56 AM, Jan Viktorin wrote: > On Wed, 28 Oct 2015 11:09:21 +0100 > David Marchand wrote: > > > +# PCI is usually not used on ARM > > > +CONFIG_RTE_EAL_IGB_UIO=n > > > > > > > Not sure "usually not used" is a good reason to disable something. > > Is there a real issue on

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Bruce Richardson
On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: > Fix two issues in the delete_depth_small() function. > > 1> The control is not strict in this function. > > In the following structure, > struct rte_lpm_tbl24_entry { > union { > uint8_t next_hop; >

[dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro

2015-10-28 Thread Thomas Monjalon
2015-10-12 17:45, Harry van Haaren: > The following two patches fix a misinterpretation of the cyclic > counters of igb and ixgbe VF. When the 32bit value wraps around, > the code now handles the wrapped new value appropriatly. > > v2: > - Reimplemented with Alex's suggested fix for off-by-one >

[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture

2015-10-28 Thread David Marchand
On Mon, Oct 26, 2015 at 5:37 PM, Jan Viktorin wrote: > > diff --git a/config/defconfig_arm-armv7-a-linuxapp-gcc > b/config/defconfig_arm-armv7-a-linuxapp-gcc > new file mode 100644 > index 000..5b582a8 > --- /dev/null > +++ b/config/defconfig_arm-armv7-a-linuxapp-gcc > @@ -0,0 +1,78 @@ > > +#

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-28 Thread Thomas Monjalon
2015-10-12 17:45, Harry van Haaren: > - cur += latest - last; \ > + cur += (latest-last) & UINT_MAX;\ CHECK:SPACING: spaces preferred around that '-' (ctx:VxV) Please use checkpatch before submitting. Thanks

[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture

2015-10-28 Thread David Marchand
On Mon, Oct 26, 2015 at 5:37 PM, Jan Viktorin wrote: > From: Vlastimil Kosar > > Make DPDK run on ARMv7-A architecture. This patch assumes > ARM Cortex-A9. However, it is known to be working on Cortex-A7 > and Cortex-A15. > > Signed-off-by: Vlastimil Kosar > Signed-off-by: Jan Viktorin > --- >

[dpdk-dev] [PATCH v4 3/3] examples/ip_pipeline: add mp/mc and frag/ras swq

2015-10-28 Thread Piotr Azarewicz
Add integrated MP/MC and fragmentation/reassembly support to SWQs Signed-off-by: Piotr Azarewicz --- examples/ip_pipeline/app.h | 14 +++ examples/ip_pipeline/config_check.c | 45 +++- examples/ip_pipeline/config_parse.c | 195 +-- examples/ip_pi

[dpdk-dev] [PATCH v4 2/3] port: fix ras/frag ring ports

2015-10-28 Thread Piotr Azarewicz
Bug fixes for ring ports with IPv4/IPv6 reassembly support. Previous implementation can't work properly due to incorrect choosing process function. Also, assuming that, when processing ip packet, ip header is know we can set l3_len parameter here. Fix usage RTE_MBUF_METADATA_* macros due to redefi

[dpdk-dev] [PATCH v4 1/3] port: add mp/mc ring ports

2015-10-28 Thread Piotr Azarewicz
ring_multi_reader input port (on top of multi consumer rte_ring) ring_multi_writer output port (on top of multi producer rte_ring) Signed-off-by: Piotr Azarewicz --- lib/librte_port/rte_port_ring.c | 311 +++--- lib/librte_port/rte_port_ring.h | 35 +++-

[dpdk-dev] [PATCH v4 0/3] ip_pipeline: add MP/MC and frag/ras support to SWQs

2015-10-28 Thread Piotr Azarewicz
This patch set enhancement ip_pipeline application: - librte_port: add support for multi-producer/multi-consumer ring ports - librte_port: bug fixes for ring ports with IPv4/IPv6 reassembly support - ip_pipeline application: integrate MP/MC and fragmentation/reassembly support to SWQs v2 changes:

[dpdk-dev] SR-IOV - VF: allowing unicast & multicast MAC addresses

2015-10-28 Thread Shaham Fridenberg
Hey all, I upgraded from dpdk 1.8.0 to 2.1.0, and have a VM to which I attach several VFs in SR-IOV mode. I managed to use set_mc_addr_list API to allow a specific multicast address via the VF, RX side. I wonder is it possible to allow a range of multicast addresses? Allow by prefix? Couldn't

[dpdk-dev] [PATCH] igb: fix IEEE1588 frame identification in i210

2015-10-28 Thread Thomas Monjalon
> > Fixed issue where the flag PKT_RX_IEEE1588_PTP was not being set in Intel > > I210 NIC, as EtherType in RX descriptor is in bits 8:10 of Packet Type and > > not > > in the default bits 0:2. > > > > Fixes known issue "IEEE1588 support possibly not working with an Intel > > Ethernet Controller

[dpdk-dev] [PATCH] librte: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3

2015-10-28 Thread David Hunt
Fix to take this change into account: https://lkml.org/lkml/2015/7/9/101 Has been applied to Kernel 4.3.0-rc6 Signed-off-by: David Hunt --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_u

[dpdk-dev] [PATCH] ixgbe: fix the wrong prompt for VF TSO

2015-10-28 Thread Thomas Monjalon
> > When setting TSO on VF ixgbe NICs, for example, 82599, x550, the prompt > > that TSO is not supported will be printed. But TSO is supported by VF ixgbe > > NICs. > > We should add TSO to the capability flag, so, we will not see the wrong > > prompt. > > > > Signed-off-by: Wenzhuo Lu > Acked-b

[dpdk-dev] Wrong TCP Checkum computed by hardware

2015-10-28 Thread Padam Jeet Singh
> On 28-Oct-2015, at 1:46 pm, Liu, Jijiang wrote: > > > >> -Original Message- >> From: Padam Jeet Singh [mailto:padam.singh at inventum.net] >> Sent: Wednesday, October 28, 2015 4:12 PM >> To: Liu, Jijiang >> Cc: dev at dpdk.org; Matthew Hall >> Subject: Re: [dpdk-dev] Wrong TCP Checku

[dpdk-dev] [PATCH v3 0/2] User-space ethtool sample application

2015-10-28 Thread Ananyev, Konstantin
Hi Remy > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, October 28, 2015 11:12 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 0/2] User-space ethtool sample application > > Further enhancements to the userspace ethtoo

[dpdk-dev] [PATCH v3 01/17] mk: Introduce ARMv7 architecture

2015-10-28 Thread Hunt, David
On 28/10/2015 10:56, Jan Viktorin wrote: > On Wed, 28 Oct 2015 11:09:21 +0100 > David Marchand wrote: > >> Hello Jan, >> >> On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin >> wrote: >> >> +# PCI is usually not used on ARM >>> +CONFIG_RTE_EAL_IGB_UIO=n >>> >> >> Not sure "usually not used" is a good

[dpdk-dev] [PATCH v6 2/9] null: fix segfault when null_pmd added to bonding

2015-10-28 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, October 27, 2015 17:59 > To: Kulasek, TomaszX > Cc: dev at dpdk.org; Tetsuya Mukawa > Subject: Re: [dpdk-dev] [PATCH v6 2/9] null: fix segfault when null_pmd > added to bonding > > Hi, > Th

[dpdk-dev] Wrong TCP Checkum computed by hardware

2015-10-28 Thread Padam Jeet Singh
> On 28-Oct-2015, at 1:31 pm, Liu, Jijiang wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Padam Jeet Singh >> Sent: Wednesday, October 28, 2015 3:20 PM >> To: Matthew Hall >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] Wrong TCP Checkum co

[dpdk-dev] [PATCH v3 13/17] gcc/arm: avoid alignment errors to break build

2015-10-28 Thread David Marchand
On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin wrote: > There several issues with alignment when compiling for ARMv7. > They are not considered to be fatal (ARMv7 supports unaligned > access of 32b words), so we just leave them as warnings. They > should be solved later, however. > > Signed-off-by

[dpdk-dev] Wrong TCP Checkum computed by hardware

2015-10-28 Thread Padam Jeet Singh
On 28-Oct-2015, at 12:27 pm, Matthew Hall wrote: > > On Wed, Oct 28, 2015 at 12:20:22PM +0530, Padam Jeet Singh wrote: >> Any hint what could I be doing wrong here? > > When this kind of stuff doesn't work it often will depend on the exact > version > of card, chip, etc. if there are any errat

[dpdk-dev] [PATCH v3] vhost: Fix wrong handling of virtqueue array index

2015-10-28 Thread Tetsuya Mukawa
The patch fixes wrong handling of virtqueue array index when GET_VRING_BASE message comes. Signed-off-by: Tetsuya Mukawa --- lib/librte_vhost/vhost_user/virtio-net-user.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/librte_vhost/vhost_user/virtio-net-user.c

[dpdk-dev] [PATCH v2] vhost: Fix wrong handling of virtqueue array index

2015-10-28 Thread Tetsuya Mukawa
On 2015/10/28 12:35, Xie, Huawei wrote: > Missed signoff? > On 10/28/2015 11:00 AM, Tetsuya Mukawa wrote: >> The patch fixes wrong handling of virtqueue array index when >> GET_VRING_BASE message comes. >> --- >> lib/librte_vhost/vhost_user/virtio-net-user.c | 10 +++--- >> 1 file changed, 3 i

[dpdk-dev] [PATCH v3 3/3] example: add keep alive sample application

2015-10-28 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, October 28, 2015 8:52 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 3/3] example: add keep alive sample > application > > Modification of l2fwd to demonstrate keep-alive functionality. > > Signed-o

[dpdk-dev] [PATCH v3 1/3] rte: add keep alive functionality

2015-10-28 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, October 28, 2015 8:52 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/3] rte: add keep alive functionality > > Adds functions for detecting and reporting the live-ness of LCores, the > primary requi

[dpdk-dev] |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 11:17:37 + "Ananyev, Konstantin" wrote: > Hi Jan, > > > -Original Message- > > From: Jan Viktorin [mailto:viktorin at rehivetech.com] > > Sent: Wednesday, October 28, 2015 11:00 AM > > To: Ananyev, Konstantin > > Cc: dev at dpdk.org > > Subject: Fw: |ERROR| pw 809

[dpdk-dev] Wrong TCP Checkum computed by hardware

2015-10-28 Thread Padam Jeet Singh
Hi, While implementing a sample packet generation code, I am setting up the offload flags so that the hardware (82599ES in my case) computes the IP and TCP Checksums. However, it seems that only the IP checksum is computed whereas the TCP Checksum is computed, but computed wrong. Here is a snip

[dpdk-dev] [PATCH v3 06/11] igbvf: add xstats() implementation

2015-10-28 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 06/11] igbvf: add xstats() implementation > > Add xstats functionality to igbvf PMD, adding necessary statistic strings. > >

[dpdk-dev] [PATCH v3 08/11] ixgbevf: add xstats() functions to VF

2015-10-28 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:49 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 08/11] ixgbevf: add xstats() functions to VF > > Add xstats() functions and stat strings as necessary to ixgbevf PMD. > > Sig

[dpdk-dev] [PATCH v3 10/11] i40evf: add xstats() implementation

2015-10-28 Thread Tahhan, Maryam
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, October 22, 2015 4:49 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 10/11] i40evf: add xstats() implementation > > Add implementation of xstats() functions in i40evf PMD. > > Signed-off-by: Har

[dpdk-dev] 答复: [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread 洪余柯(洪余柯)
Acked by? yuke.hyk at alibaba-inc.com -- ???: nana.nn [mailto:nana.nn at alibaba-inc.com] : 2015?10?28? 12:02 ???: "???(??)" ??: dev at dpdk.org; Jijiang Liu ??: Re: [PATCH] lib/lpm:fix two issues in the delete_depth_small() HI: yuke?please acked-by~ On Oct 28, 2015, at 11

[dpdk-dev] Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

2015-10-28 Thread Jan Viktorin
Hello Konstantin, the ACL patch (with changes as you suggested yesterday) breaks the following test. I am confused about this. There is nothing in the log that would help me to determine the source of the problem. How is this test related to ACL? Moreover, I cannot see the actual packet drop there

[dpdk-dev] [PATCH v2] vhost: Fix wrong handling of virtqueue array index

2015-10-28 Thread Tetsuya Mukawa
The patch fixes wrong handling of virtqueue array index when GET_VRING_BASE message comes. --- lib/librte_vhost/vhost_user/virtio-net-user.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/librte_vhost/vhost_user/virtio-net-user.c b/lib/librte_vhost/vhost_user/v

[dpdk-dev] |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

2015-10-28 Thread Ananyev, Konstantin
> -Original Message- > From: Jan Viktorin [mailto:viktorin at rehivetech.com] > Sent: Wednesday, October 28, 2015 11:22 AM > To: Ananyev, Konstantin > Cc: dev at dpdk.org; Cao, Waterman > Subject: Re: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported > > On Wed, 28 Oct 2015 11

[dpdk-dev] [PATCH v3 01/17] mk: Introduce ARMv7 architecture

2015-10-28 Thread Jan Viktorin
On Wed, 28 Oct 2015 11:09:21 +0100 David Marchand wrote: > Hello Jan, > > On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin > wrote: > > > > > diff --git a/config/defconfig_arm-armv7-a-linuxapp-gcc > > b/config/defconfig_arm-armv7-a-linuxapp-gcc > > new file mode 100644 > > index 000..5a778cf

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Jijiang Liu
Fix two issues in the delete_depth_small() function. 1> The control is not strict in this function. In the following structure, struct rte_lpm_tbl24_entry { union { uint8_t next_hop; uint8_t tbl8_gindex; }; uint8_t ext_entry :1; } When ext_ent

[dpdk-dev] [RFC PATCH v2] vhost: Add VHOST PMD

2015-10-28 Thread Tetsuya Mukawa
On 2015/10/27 22:44, Traynor, Kevin wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > [snip] > >> Hi, >> >> I have submitted latest patches. >> I will keep vhost library until we will have agreement to merge it to >> vhost PMD. > Longer

[dpdk-dev] [PATCH v3 2/3] docs: add keep alive sample app guide

2015-10-28 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, October 28, 2015 8:52 AM > To: dev at dpdk.org > Cc: Browne, John J > Subject: [dpdk-dev] [PATCH v3 2/3] docs: add keep alive sample app guide > > Signed-off-by: Maryam Tahhan > Signed-off-by: John J Browne

[dpdk-dev] [PATCH v7] mem: command line option to delete hugepage backing files

2015-10-28 Thread Shesha Sreenivasamurthy
When an application using huge-pages crash or exists, the hugetlbfs backing files are not cleaned up. This is a patch to clean those files. There are multi-process DPDK applications that may be benefited by those backing files. Therefore, I have made that configurable so that the application tha

[dpdk-dev] |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported

2015-10-28 Thread Ananyev, Konstantin
Hi Jan, > -Original Message- > From: Jan Viktorin [mailto:viktorin at rehivetech.com] > Sent: Wednesday, October 28, 2015 11:00 AM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Fw: |ERROR| pw 8090-8106 acl: handle when SSE 4.1 is unsupported > > Hello Konstantin, > > the ACL

[dpdk-dev] [Patch 1/2] i40e RX Bulk Alloc: Larger list size (33 to 128) throughput optimization

2015-10-28 Thread Bruce Richardson
On Tue, Oct 27, 2015 at 08:56:36PM +, Polehn, Mike A wrote: > Combined 2 subroutines of code into one subroutine with one read operation > followed by > buffer allocate and load loop. > > Eliminated the staging queue and subroutine, which removed extra pointer list > movements > and reduce

[dpdk-dev] [PATCH v3 2/2] doc: add user-space ethtool sample app guide

2015-10-28 Thread Remy Horton
Signed-off-by: Remy Horton --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/keep_alive.rst | 191 2 files changed, 192 insertions(+) create mode 100644 doc/guides/sample_app_ug/keep_alive.rst diff --git a/doc/guides/sample_app_ug/ind

[dpdk-dev] [PATCH v3 1/2] example: add user-space ethtool sample application

2015-10-28 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. Signed-off-by: Remy Horton --- e

[dpdk-dev] [PATCH v3 0/2] User-space ethtool sample application

2015-10-28 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. This patchset depends on: * http:/

[dpdk-dev] [PATCH v3 01/17] mk: Introduce ARMv7 architecture

2015-10-28 Thread David Marchand
Hello Jan, On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin wrote: > > diff --git a/config/defconfig_arm-armv7-a-linuxapp-gcc > b/config/defconfig_arm-armv7-a-linuxapp-gcc > new file mode 100644 > index 000..5a778cf > --- /dev/null > +++ b/config/defconfig_arm-armv7-a-linuxapp-gcc > + > +# avoi

[dpdk-dev] [PATCH] rte_sched: release enqueued mbufs on rte_sched_port_free()

2015-10-28 Thread Simon Kagstrom
Otherwise mbufs will leak when the port is destroyed. The rte_sched_port_qbase() and rte_sched_port_qsize() functions are used in free now, so move them up. Signed-off-by: Simon Kagstrom --- lib/librte_sched/rte_sched.c | 44 +++- 1 file changed, 27 insert

[dpdk-dev] [PATCH] ixgbe: change logging for ixgbe tx code path selection

2015-10-28 Thread Bruce Richardson
On Tue, Oct 27, 2015 at 05:31:59PM +, Traynor, Kevin wrote: > > > -Original Message- > > From: Ananyev, Konstantin > > Sent: Tuesday, October 27, 2015 12:13 PM > > To: Richardson, Bruce; Traynor, Kevin > > Cc: dev at dpdk.org > > Subject: RE: [dpdk-dev] [PATCH] ixgbe: change logging fo

[dpdk-dev] [Patch] Eth Driver: Optimization for improved NIC processing rates

2015-10-28 Thread Bruce Richardson
On Tue, Oct 27, 2015 at 08:56:31PM +, Polehn, Mike A wrote: > Prefetch of interface access variables while calling into driver RX and TX > subroutines. > > For converging zero loss packet task tests, a small drop in latency for zero > loss measurements > and small drop in lost packet counts

[dpdk-dev] [PATCH v4] ip_pipeline: add more functions to routing-pipeline

2015-10-28 Thread Jasvinder Singh
This patch adds following features to the routing-pipeline to enable it for various NFV use-cases; 1.Fast-path ARP table enable/disable 2.Double-tagged VLAN (Q-in-Q) packet enacapsulation for the next-hop 3.MPLS encapsulation for the next-hop 4.Add colour (Traffic-class for QoS) to the MPLS tag 5.

[dpdk-dev] [PATCHv7 0/9] ethdev: add new API to retrieve RX/TX queue information

2015-10-28 Thread Remy Horton
On 27/10/2015 12:51, Konstantin Ananyev wrote: > Konstantin Ananyev (9): >ethdev: add new API to retrieve RX/TX queue information >i40e: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim >ixgbe: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim >e1000: add suppo

  1   2   >