[dpdk-dev] [PATCH] net/i40e: fix the hash filter invalid calculation in X722

2016-10-19 Thread Jeff Guo
As X722 extracts IPv4 header to Field Vector different with XL710/X710, need to corresponding to modify the fields of IPv4 header in input set to map different default Field Vector Table of different NICs. Signed-off-by: Jeff Guo --- v3: remove the x722 macro v2: fix compile error when x722

[dpdk-dev] [PATCH] net/i40e: fix fdir configure failed issue in X710

2016-10-19 Thread Jeff Guo
The correct way to distinguish the behavior of X722 and X710 or other NICs should be using the mac type but not X722 macro. Fixes: 8c5cb3c11513 (?net/i40e: add packet type translation for X722?) Signed-off-by: Jeff Guo --- drivers/net/i40e/i40e_ethdev.c| 103

[dpdk-dev] [PATCH] net/ixgbe: prevent duplicate callback on list

2016-10-19 Thread Scott Daniels
On Wed, 19 Oct 2016, Lu, Wenzhuo wrote: > Hi Scott, > >> -Original Message- >> From: Scott Daniels [mailto:daniels at research.att.com] >> Sent: Thursday, October 20, 2016 10:11 AM >> To: Lu, Wenzhuo >> Cc: Zhang, Helin; Iremonger, Bernard; dev at dpdk.org; ZELEZNIAK, ALEX >> Subject:

[dpdk-dev] [PATCH] net/ixgbe: prevent duplicate callback on list

2016-10-19 Thread Scott Daniels
On Wed, 19 Oct 2016, Lu, Wenzhuo wrote: > Hi Scott, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of E. Scott Daniels >> Sent: Thursday, October 20, 2016 6:23 AM >> To: Zhang, Helin; Iremonger, Bernard >> Cc: dev at dpdk.org; az5157 at att.com; E. Scott

[dpdk-dev] [PATCH v6 1/6] ethdev: add Tx preparation

2016-10-19 Thread Ananyev, Konstantin
Hi guys, > > > > > +static inline int > > > +rte_phdr_cksum_fix(struct rte_mbuf *m) { > > > + struct ipv4_hdr *ipv4_hdr; > > > + struct ipv6_hdr *ipv6_hdr; > > > + struct tcp_hdr *tcp_hdr; > > > + struct udp_hdr *udp_hdr; > > > + uint64_t ol_flags = m->ol_flags; > > > + uint64_t inner_l3_offset =

[dpdk-dev] [PATCH] vhost: use after free

2016-10-19 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Chas Williams > Sent: Wednesday, October 19, 2016 5:10 PM > To: dev at dpdk.org > Cc: Chas Williams <3chas3 at gmail.com> > Subject: [dpdk-dev] [PATCH] vhost: use after free > > Don't dereference freed

[dpdk-dev] [PATCH] net/ixgbe: prevent duplicate callback on list

2016-10-19 Thread E. Scott Daniels
This change prevents the attempt to add a structure which is already on the callback list. If a struct with matching parameters is found on the list, then no action is taken. If a struct with matching parameters is found on the list, then no action is taken. Signed-off-by: E. Scott Daniels ---

[dpdk-dev] [PATCH] net/ixgbe: prevent duplicate callback on list

2016-10-19 Thread E. Scott Daniels
If rte_eth_dev_callback_register() is invoked with parameters which match a callback struct that is already on the list, an attempt is made to add that same struct onto the tail of the list. Adding a struct which is already on the list will have undesired results. This is an edge case, but I

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-10-19 Thread Yuanhan Liu
On Tue, Oct 18, 2016 at 06:46:40PM +0200, Thomas Monjalon wrote: > 2016-10-18 22:18, Yuanhan Liu: > > On Tue, Oct 18, 2016 at 03:42:54PM +0200, Thomas Monjalon wrote: > > > 2016-10-18 21:06, Yuanhan Liu: > > > > On Tue, Oct 18, 2016 at 02:50:16PM +0200, Jan Blunck wrote: > > > > > >From my

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-19 Thread Oleg Kuporosov
Hello Reshma > I just read this mail chain, to make every one aware again, I am emphasizing > on the point that I am also adding new "time_arraived" field to mbuf struct as > part of below 17.02 Road map item. Thanks for your work for extending statistics support in DPDK. "time_arrived" points

[dpdk-dev] [opnfv-tech-discuss] [apex][ovsnfv][fuel]Problem showed up with OVS/DPDK with Cisco VIC adapter

2016-10-19 Thread Michal Skalski
Hi, Im looking at your fix now [1] as I understand it is only visible when we are using vxlan segmentation right? Currently Fuel support dpdk only with vlan segmentation, and this is how we deploy on linux foundation pod, so we may not seen this problem yet.

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-19 Thread Oleg Kuporosov
Hello Oliver Great thanks for your review and con > > - include uint64_t timestamp field into rte_mbuf with minimal impact to > > throughput/latency. Keep it just simple uint64_t in ns (more than 580 > > years) would be enough for immediate needs while using full > > struct timespec with

[dpdk-dev] [PATCH RFC 2/2] net/ixgbe: allow bulk alloc for the max size desc ring

2016-10-19 Thread Ilya Maximets
The only reason why bulk alloc disabled for the rings with more than (IXGBE_MAX_RING_DESC - RTE_PMD_IXGBE_RX_MAX_BURST) descriptors is the possible out-of-bound access to the dma memory. But it's the artificial limit and can be easily avoided by allocating of RTE_PMD_IXGBE_RX_MAX_BURST more

[dpdk-dev] [PATCH RFC 1/2] net/i40e: allow bulk alloc for the max size desc ring

2016-10-19 Thread Ilya Maximets
The only reason why bulk alloc disabled for the rings with more than (I40E_MAX_RING_DESC - RTE_PMD_I40E_RX_MAX_BURST) descriptors is the possible out-of-bound access to the dma memory. But it's the artificial limit and can be easily avoided by allocating of RTE_PMD_I40E_RX_MAX_BURST more

[dpdk-dev] [PATCH RFC 0/2] Allow vectorized Rx with 4096 desc ring size on Intel NICs.

2016-10-19 Thread Ilya Maximets
Ilya Maximets (2): net/i40e: allow bulk alloc for the max size desc ring net/ixgbe: allow bulk alloc for the max size desc ring drivers/net/i40e/i40e_rxtx.c | 24 +--- drivers/net/ixgbe/ixgbe_rxtx.c | 17 + drivers/net/ixgbe/ixgbe_rxtx.h | 2 +- 3 files

[dpdk-dev] [PATCH v2 2/2] app/test_pmd: change to the VF VLAN insert command

2016-10-19 Thread Bernard Iremonger
The third parameter to the function rte_pmd_ixgbe_set_vf_vlan_insert has changed to vlan_id from on|off. The testpmd doc file has been changed to reflect this change. Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 19 +--

[dpdk-dev] [PATCH v2 1/2] net/ixgbe: fix VLAN insert parameter type and its use

2016-10-19 Thread Bernard Iremonger
From: "E. Scott Daniels" The final parameter to rte_pmd_ixgbe_set_vf_vlan_insert is uint8_t and treated as a binary flag when it needs to be a uint16_t and treated as a VLAN id. The data sheet (sect 8.2.3.27.13) describes the right most 16 bits as the VLAN id that is

[dpdk-dev] [PATCH v2 0/2] net/ixgbe: fix VF VLAN insert

2016-10-19 Thread Bernard Iremonger
Changes in v2: Add testpmd patch. Update testpmd for change to rte_pmd_ixgbe_set_vf_vlan_insert function. Bernard Iremonger (1): app/test_pmd: change to the VF VLAN insert command E. Scott Daniels (1): net/ixgbe: fix VLAN insert parameter type and its use app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v6 1/6] ethdev: add Tx preparation

2016-10-19 Thread Kulasek, TomaszX
Hi Olivier, > -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Tuesday, October 18, 2016 16:57 > To: Kulasek, TomaszX ; dev at dpdk.org > Cc: Ananyev, Konstantin ; > thomas.monjalon at 6wind.com > Subject: Re: [dpdk-dev] [PATCH v6 1/6] ethdev: add Tx

[dpdk-dev] [PATCH RFC 0/2] Allow vectorized Rx with 4096 desc ring size on Intel NICs.

2016-10-19 Thread Ferruh Yigit
On 10/19/2016 3:07 PM, Ilya Maximets wrote: > Ilya Maximets (2): > net/i40e: allow bulk alloc for the max size desc ring > net/ixgbe: allow bulk alloc for the max size desc ring > > drivers/net/i40e/i40e_rxtx.c | 24 +--- > drivers/net/ixgbe/ixgbe_rxtx.c | 17

[dpdk-dev] Project Governance and Linux Foundation

2016-10-19 Thread Jerin Jacob
On Wed, Oct 19, 2016 at 08:04:19AM +, O'Driscoll, Tim wrote: > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > > > On Tue, Oct 18, 2016 at 03:27:27PM +0200, Thomas Monjalon wrote: > > > 2016-10-18 17:04, Jerin Jacob: > > > > On Mon, Oct 17, 2016 at 05:23:42PM -0400, Dave

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-10-19 Thread Bruce Richardson
On Tue, Oct 18, 2016 at 05:26:22PM +0200, Jan Blunck wrote: > On Tue, Oct 18, 2016 at 3:42 PM, Thomas Monjalon > wrote: > > 2016-10-18 21:06, Yuanhan Liu: > >> On Tue, Oct 18, 2016 at 02:50:16PM +0200, Jan Blunck wrote: > >> > >From my understanding this is a massive API breakage. This forces all

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-10-19 Thread Thomas Monjalon
2016-10-19 18:05, Yuanhan Liu: > On Tue, Oct 18, 2016 at 06:46:40PM +0200, Thomas Monjalon wrote: > > 2016-10-18 22:18, Yuanhan Liu: > > > On Tue, Oct 18, 2016 at 03:42:54PM +0200, Thomas Monjalon wrote: > > > > 2016-10-18 21:06, Yuanhan Liu: > > > > > On Tue, Oct 18, 2016 at 02:50:16PM +0200, Jan

[dpdk-dev] [PATCH v2 1/2] drivers/i40e: fix X722 macro absence result in compile

2016-10-19 Thread Guo, Jia
hi,yigit Because of remove "#ifdef x722" will related with some prior patch and need related folks to make agreement on that, so we need to make a discuss later to get a conclusion. we definitely confidence that we will get the better balance base on the code maintenance effective. so just

[dpdk-dev] [PATCH v4 04/32] net/qede/base: add HSI changes and register defines

2016-10-19 Thread Mody, Rasesh
Hi Ferruh, > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > Sent: Wednesday, October 19, 2016 5:38 AM > To: Rasesh Mody ; > thomas.monjalon at 6wind.com; bruce.richardson at intel.com > Cc: dev at dpdk.org; Dept-EngDPDKDev at qlogic.com > Subject: Re: [dpdk-dev] [PATCH v4

[dpdk-dev] [PATCH v4 04/32] net/qede/base: add HSI changes and register defines

2016-10-19 Thread Ferruh Yigit
On 10/19/2016 5:11 AM, Rasesh Mody wrote: > - add the hardware software interface(HSI) changes > - add register definitions > > These will be required for 8.10.9.0 FW upgrade. > > Signed-off-by: Rasesh Mody <...> > /* > * Igu cleanup bit values to distinguish between clean or producer

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-19 Thread Ananyev, Konstantin
Hi lads, > > > > On 10/13/2016 04:35 PM, Oleg Kuporosov wrote: > > The hard requirement of financial services industry is accurate > > timestamping aligned with the packet itself. This patch is to satisfy > > this requirement: > > > > - include uint64_t timestamp field into rte_mbuf with

[dpdk-dev] [opnfv-tech-discuss] [apex][ovsnfv][fuel]Problem showed up with OVS/DPDK with Cisco VIC adapter

2016-10-19 Thread Tim Rozet
Right, makes sense. Thanks Michal. Tim Rozet Red Hat SDN Team - Original Message - From: "Michal Skalski" To: "Tim Rozet" , "Thomas F Herbert" Cc: "Gregory Elkinbard" , "Fedor Zhadaev" , dev at dpdk.org, "MichalSkalski , yunhong.jiang at linux.intel.com ,

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Iremonger, Bernard
Hi Scott, > >>> Subject: [dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter > >>> type and its use > >>> > >>> The final parameter to rte_pmd_ixgbe_set_vf_vlan_insert is uint8_t > >>> and treated as a binary flag when it needs to be a uint16_t and > >>> treated as a VLAN id. The data

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-19 Thread Ilya Maximets
On 18.10.2016 18:19, Jan Blunck wrote: > On Tue, Oct 18, 2016 at 2:49 PM, Ilya Maximets > wrote: >> On 18.10.2016 15:28, Jan Blunck wrote: >>> If the application already configured queues the PMD should not >>> silently claim ownership and reset them. >>> >>> What exactly is the problem when

[dpdk-dev] [PATCH] vhost: use after free

2016-10-19 Thread Chas Williams
Don't dereference freed memory. Fixes: a277c7159876 ("vhost: refactor code structure") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- lib/librte_vhost/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index

[dpdk-dev] [PATCH v2] net/mlx5: fix init on secondary process

2016-10-19 Thread Adrien Mazarguil
On Wed, Oct 19, 2016 at 10:31:48AM +0100, Bruce Richardson wrote: > On Mon, Oct 17, 2016 at 04:18:59PM +0200, Adrien Mazarguil wrote: > > On Mon, Oct 17, 2016 at 02:52:39PM +0100, Ferruh Yigit wrote: > > > Hi Adrien, > > > > > > On 10/17/2016 1:56 PM, Olivier Gournet wrote: > > > > Fixes:

[dpdk-dev] [PATCH 1/2] net/i40e: fix link status change interrupt

2016-10-19 Thread Ferruh Yigit
Hi Qiming, On 10/13/2016 7:07 AM, Qiming Yang wrote: > Previously, link status interrupt in i40e is achieved by checking > LINK_STAT_CHANGE_MASK in PFINT_ICR0 register which is provided only > for diagnostic use. Instead, drivers need to get the link status > change notification by using LSE

[dpdk-dev] Project Governance and Linux Foundation

2016-10-19 Thread Thomas Monjalon
2016-10-19 09:40, Dave Neary: > On 10/19/2016 09:04 AM, O'Driscoll, Tim wrote: > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > > On Tue, Oct 18, 2016 at 03:27:27PM +0200, Thomas Monjalon wrote: > > > > How can we solve issues if you don't give more details than > > > > "hear

[dpdk-dev] [PATCH v5 2/2] app/test_pmd: fix DCB configuration

2016-10-19 Thread Bernard Iremonger
when dcb mode is DCB_VT_ENABLED set nb_rxq and nb_txq to 1. Fixes: 2a977b891f99 ("app/testpmd: fix DCB configuration") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/testpmd.c

[dpdk-dev] [PATCH v5 1/2] net/ixgbe: support multiqueue mode VMDq DCB with SRIOV

2016-10-19 Thread Bernard Iremonger
Modify ixgbe_check_mq_mode function, when SRIOV is enabled, enable mq_mode ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB. Modify ixgbe_dcb_tx_hw_config function, replace the struct ixgbe_hw parameter with a struct rte_eth_dev parameter and handle SRIOV enabled. Modify ixgbe_dev_mq_rx_configure

[dpdk-dev] [PATCH v5 0/2] net/ixgbe: VMDq DCB with SRIOV

2016-10-19 Thread Bernard Iremonger
Changes in v5: fix enable/disable of the QDE bit in the PFQDE register. Changes in v4: changes to ixgbe patch following comments. Changes in v3: rebase to latest master. update commit message for ixgbe patch add testpmd patch. Changes in v2: rebase to latest master. Bernard Iremonger (2):

[dpdk-dev] [PATCH v11 00/24] Introducing rte_driver/rte_device generalization

2016-10-19 Thread Shreyansh Jain
Hi Ferruh, > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > Sent: Tuesday, October 18, 2016 2:53 PM > To: Shreyansh Jain ; Thomas Monjalon > > Cc: dev at dpdk.org; viktorin at rehivetech.com; David Marchand > ; Hemant Agrawal > Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH] net/fm10k: fix SGLORT of VF Tx queues

2016-10-19 Thread Bruce Richardson
On Wed, Oct 19, 2016 at 09:30:14AM +0800, Xiao Wang wrote: > The SGLORT (Source Global Resource Tag) of the VF queues should be > assigned by PF driver, VF driver should not set these registers. > > Fixes: 3b845bf6bcd9 ("fm10k: fix switch manager high CPU usage") > > Signed-off-by: Xiao Wang >

[dpdk-dev] [PATCH] net/mlx5: fix link status report

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 01:10:48PM +0200, Nelio Laranjeiro wrote: > From: Olga Shern > > This commit fixes link status report on device start up when > lcs callback is configured. > > Fixes: 62072098b54e ("mlx5: support setting link up or down") > > Signed-off-by: Olga Shern > --- Applied to

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Iremonger, Bernard
Hi Wenzhuo, Scott, > > Subject: [dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type > > and its use > > > > The final parameter to rte_pmd_ixgbe_set_vf_vlan_insert is uint8_t and > > treated as a binary flag when it needs to be a uint16_t and treated as > > a VLAN id. The data sheet

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-19 Thread Bruce Richardson
On Thu, Oct 06, 2016 at 03:32:36PM +0100, Declan Doherty wrote: > On 07/09/16 13:28, Ilya Maximets wrote: > > This reverts commit 5b7bb2bda5519b7800f814df64d4e015282140e5. > > > > It is necessary to reconfigure all queues every time because configuration > > can be changed. > > > > Hey Ilya,

[dpdk-dev] [PATCH v2 0/3] net: fix out of order Rx read issue

2016-10-19 Thread Bruce Richardson
On Tue, Oct 18, 2016 at 11:33:43AM +, Ananyev, Konstantin wrote: > > > > > > In vPMD, when load Rx desc with _mm_loadu_si128, > > volatile point will be cast into non-volatile point. > > So GCC is allowed to reorder the load instructions, > > while Rx read's correctness is reply on these

[dpdk-dev] [PATCH 1/2] net/enic: fix error in init of RQ when not using Rx scatter

2016-10-19 Thread Bruce Richardson
On Wed, Oct 12, 2016 at 01:11:28PM -0700, John Daley wrote: > From: Nelson Escobar > > The Rx scatter patch was accidentally setting the index of the > secondary receive queue in the primary receive queue's initialization > when the secondary receive queue wasn't needed and was disabled. This >

[dpdk-dev] [PATCH 1/2] net/enic: fix crash on MTU update or rxq reconfigure

2016-10-19 Thread Bruce Richardson
On Wed, Oct 12, 2016 at 02:12:02PM -0700, John Daley wrote: > The incorrect completion queue corresponding to an RQ would be > freed if multiple Rx queues are in use and the MTU is changed, > or an Rx queue is released. This could lead to a segmentation fault > when the device is disabled or even

[dpdk-dev] [PATCH] net/enic: fix poor multi-queue Rx performance

2016-10-19 Thread Bruce Richardson
On Wed, Oct 12, 2016 at 02:22:29PM -0700, John Daley wrote: > The rx_free_thresh was not being initialized and left at 0 > on 1/2 of the RQs which could lead to poor multi-queue > performanace. > > Fixes: 856d7ba7ed22 ("net/enic: support scattered Rx") > > Signed-off-by: John Daley >

[dpdk-dev] [PATCH] net/enic: fix fdir UDP v4 source port mask

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 10:17:08PM -0700, John Daley wrote: > This fixes issue found by Coverity where a typo caused the flow director > UDP IPv4 source port mask to be assigned the destination port mask > supplied by the caller. > > Coverity issue: 137860 > > Fixes: dfbd6a9cb504 ("net/enic:

[dpdk-dev] [PATCH v3 0/3] fix flow director mask issues

2016-10-19 Thread Bruce Richardson
On Wed, Oct 19, 2016 at 09:22:57AM +0800, Wenzhuo Lu wrote: > There're 2 issues about flow director mask. > 1, MAC address mask is not supported in mac-vlan mode. > 2, All the parameter are defined as big endian, but >they're not treated approriately. > This patch set is used to fix these 2

[dpdk-dev] [PATCH v2] net/mlx5: fix init on secondary process

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 04:18:59PM +0200, Adrien Mazarguil wrote: > On Mon, Oct 17, 2016 at 02:52:39PM +0100, Ferruh Yigit wrote: > > Hi Adrien, > > > > On 10/17/2016 1:56 PM, Olivier Gournet wrote: > > > Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path") > > > Fixes: 21c8bb4928c9

[dpdk-dev] [opnfv-tech-discuss] [apex][ovsnfv][fuel]Problem showed up with OVS/DPDK with Cisco VIC adapter

2016-10-19 Thread Tim Rozet
Fuel also supports the ovs dpdk scenario. Greg, Michal, Fedor, How do does Fuel get around this on the LF UCS hardware? Tim Rozet Red Hat SDN Team - Original Message - From: "Thomas F Herbert" To: dev at dpdk.org Cc: opnfv-tech-discuss at lists.opnfv.org, "Edward

[dpdk-dev] [PATCH] net/mlx5: fix hash key size retrieval

2016-10-19 Thread Bruce Richardson
On Fri, Oct 14, 2016 at 10:20:32AM +0200, Adrien Mazarguil wrote: > On Fri, Oct 14, 2016 at 09:30:14AM +0200, Nelio Laranjeiro wrote: > > Return RSS key size in struct rte_eth_dev_info. > > > > Fixes: 0f6f219e7919 ("app/testpmd: fix RSS hash key size") > > > > Signed-off-by: Nelio Laranjeiro >

[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 06:04:32PM +, Mody, Rasesh wrote: > > From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > > Sent: Monday, October 17, 2016 5:12 AM > > > > On 9/30/2016 3:45 PM, Ferruh Yigit wrote: > > > When bnx2x debug config enabled, icc (ICC) 17.0.0 20160721 gives the > > >

[dpdk-dev] [PATCH v2 0/5] i40e: vector poll-mode driver on ARM64

2016-10-19 Thread Bruce Richardson
On Mon, Oct 17, 2016 at 03:44:34PM +0100, Bruce Richardson wrote: > On Fri, Oct 14, 2016 at 09:29:59AM +0530, Jianbo Liu wrote: > > This patch set is to implement i40e vector PMD on ARM64. > > For x86, vPMD is only reorganized, there should be no performance loss. > > > > v1 -> v2 > > - rebase to

[dpdk-dev] [PATCH v2] net/ixgbe: support multiqueue mode VMDq DCB with SRIOV

2016-10-19 Thread Iremonger, Bernard
Hi Wenzhuo, > > > > Subject: RE: [PATCH v2] net/ixgbe: support multiqueue mode VMDq > > > > DCB with SRIOV > > > > > > > > Hi Wenzhuo, > > > > > > > > > > if (hw->mac.type != ixgbe_mac_82598EB) { @@ -3339,11 > > > > > > +3340,17 > > > > > @@ > > > > > > ixgbe_dcb_tx_hw_config(struct

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-19 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz > Sent: Tuesday, October 18, 2016 4:44 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the > packet > > > > On 10/13/2016 04:35 PM, Oleg Kuporosov

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Scott Daniels
On Wed, 19 Oct 2016, Iremonger, Bernard wrote: > Hi Scott, > > > > Subject: [dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter > type and its use > > The final parameter to rte_pmd_ixgbe_set_vf_vlan_insert is uint8_t > and treated as a binary flag when it needs to be a

[dpdk-dev] Project Governance and Linux Foundation

2016-10-19 Thread Dave Neary
Hi, On 10/19/2016 09:04 AM, O'Driscoll, Tim wrote: >> From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] >> Having said that, Does anyone see any issue in moving to LF? >> If yes, Then we should enumerate the issues and discuss further. > > This is a great point. Can you explain what

[dpdk-dev] [PATCH] net/fm10k: fix SGLORT of VF Tx queues

2016-10-19 Thread Xiao Wang
The SGLORT (Source Global Resource Tag) of the VF queues should be assigned by PF driver, VF driver should not set these registers. Fixes: 3b845bf6bcd9 ("fm10k: fix switch manager high CPU usage") Signed-off-by: Xiao Wang Reported-by: Sarathx Somasekharan --- drivers/net/fm10k/fm10k_ethdev.c

[dpdk-dev] [PATCH v3 3/3] app/testpmd: fix flow director endian issue

2016-10-19 Thread Wenzhuo Lu
The vlan mask and tunnel id mask of flow director are defined as big endian. So they should be converted. When the mask is printed, the parameters are not converted either. This patch converts the mask parameters. Some lines of the mask print are too long, split them to more lines. Fixes:

[dpdk-dev] [PATCH v3 2/3] app/testpmd: fix wrong flow director mask

2016-10-19 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Remove this parameter from the CLI. Remove MAC address from mask print too. Fixes: 53b2bb9b7ea7 ("app/testpmd: new flow director commands") Signed-off-by: Wenzhuo Lu Acked-by:

[dpdk-dev] [PATCH v3 1/3] ixgbe: fix wrong flow director mask

2016-10-19 Thread Wenzhuo Lu
In mac-vlan mode, MAC address mask is not supported by HW. The MAC address mask should not be set in mac-vlan mode. Instead, only set it in tunnel mode. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_fdir.c | 10

[dpdk-dev] [PATCH v3 0/3] fix flow director mask issues

2016-10-19 Thread Wenzhuo Lu
There're 2 issues about flow director mask. 1, MAC address mask is not supported in mac-vlan mode. 2, All the parameter are defined as big endian, but they're not treated approriately. This patch set is used to fix these 2 issues. v2: - Re-split the patches and reword commit log. No code

[dpdk-dev] [PATCH v2] app/testpmd: fix PF/VF check of flow director

2016-10-19 Thread Wenzhuo Lu
Parameters pf & vf are added into most of flow director filter CLIs. But mac-valn and tunnel filters don't have these parameters, the parameters should not be checked for mac-vlan and tunnel filters. Fixes: e6a68c013353 ("app/testpmd: extend commands for flow director in VF") Signed-off-by:

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Scott Daniels
E. Scott Daniels PMTS - Cloud Software Research AT Labs - Research daniels at research.att.com 440.389.0011 On Wed, 19 Oct 2016, Iremonger, Bernard wrote: > Hi Wenzhuo, Scott, > > > >>> Subject: [dpdk-dev] [PATCH]

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Scott Daniels
E. Scott Daniels PMTS - Cloud Software Research AT Labs - Research daniels at research.att.com 440.389.0011 On Wed, 19 Oct 2016, Lu, Wenzhuo wrote: > Hi Daniels, > > >> -Original Message- >> From: dev

[dpdk-dev] [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl

2016-10-19 Thread Akhil Goyal
-Original Message- From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com] Sent: Monday, October 17, 2016 10:35 PM To: Gonzalez Monroy, Sergio ; Akhil Goyal ; dev at dpdk.org Subject: RE: [PATCH] examples/ipsec-secgw: Update checksum while decrementing ttl >

[dpdk-dev] [PATCH] openssl pmd: rename SW crypto device from libcrypto to openssl

2016-10-19 Thread Jain, Deepak K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Slawomir > Mrozowicz > Sent: Tuesday, October 18, 2016 12:36 PM > To: Doherty, Declan > Cc: dev at dpdk.org; Mrozowicz, SlawomirX > > Subject: [dpdk-dev] [PATCH] openssl pmd: rename SW crypto device from >

[dpdk-dev] Project Governance and Linux Foundation

2016-10-19 Thread O'Driscoll, Tim
> From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > On Tue, Oct 18, 2016 at 03:27:27PM +0200, Thomas Monjalon wrote: > > 2016-10-18 17:04, Jerin Jacob: > > > On Mon, Oct 17, 2016 at 05:23:42PM -0400, Dave Neary wrote: > > > > > I still hear concerns on this, and based on

[dpdk-dev] [PATCH] net/ixgbe: fix vlan insert parameter type and its use

2016-10-19 Thread Lu, Wenzhuo
Hi Daniels, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of E. Scott Daniels > Sent: Wednesday, October 19, 2016 3:13 AM > To: Zhang, Helin; Iremonger, Bernard > Cc: dev at dpdk.org; az5157 at att.com; E. Scott Daniels > Subject: [dpdk-dev] [PATCH]

[dpdk-dev] [PATCH] cfgfile: fix comments - style and return value

2016-10-19 Thread Dmitriy Yakovlev
Fixed style and return values in Doxygen comments. Signed-off-by: Dmitriy Yakovlev --- lib/librte_cfgfile/rte_cfgfile.h | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/lib/librte_cfgfile/rte_cfgfile.h b/lib/librte_cfgfile/rte_cfgfile.h index

[dpdk-dev] [PATCH v2 3/3] app/testpmd: fix flow director endian issue

2016-10-19 Thread Lu, Wenzhuo
Hi Pablo, > -Original Message- > From: De Lara Guarch, Pablo > Sent: Tuesday, October 18, 2016 4:19 AM > To: Lu, Wenzhuo; dev at dpdk.org > Cc: Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH v2 3/3] app/testpmd: fix flow director endian > issue > > > > > -Original Message- > >

[dpdk-dev] [PATCH v2] net/ixgbe: support multiqueue mode VMDq DCB with SRIOV

2016-10-19 Thread Lu, Wenzhuo
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Tuesday, October 18, 2016 4:58 PM > To: Lu, Wenzhuo; dev at dpdk.org; Shah, Rahul R > Subject: RE: [PATCH v2] net/ixgbe: support multiqueue mode VMDq DCB with > SRIOV > > Hi Wenzhuo, > > > > > > Subject: RE: [PATCH