[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-08 Thread Steffen Bauch
On 10/08/2015 05:32 PM, Nikita Kalyazin wrote: > Hi Yuanhan, > > > As I understand, the dead loop happened here (virtio_send_command): > while (vq->vq_used_cons_idx == vq->vq_ring.used->idx) { >rte_rmb(); >usleep(100); > } > > Could you explain why wrong config reading caused

[dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3

2015-10-08 Thread Olga Shern
For the sake of clarity, I assume you mean the patches about: "eal: new interrupt handler type" "mlx4: handle interrupts" [Olga ] Yes, you are right Best Regards, Olga 2015-10-08 17:36 GMT+02:00 Olga Shern mailto:olgas at mellanox.com>>: Hi Jesper, Bonding pmd is not supported with dpdk 2.1

[dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3

2015-10-08 Thread Olga Shern
Hi Bill, Starting from DPDK 2.1 ConnectX-3 PMD is based on ?accelerated verbs?, ibv_exp_create_res_domain is coming from this new API. Just to make sure I understand what you are doing: you have enabled SRIOV and you are running DPDK on hypervisor on the probed VFs that you have created,

[dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3

2015-10-08 Thread Jesper Wramberg
Hi Olga, Thank you for your help. I'll check out the patches tomorrow. For the sake of clarity, I assume you mean the patches about: "eal: new interrupt handler type" "mlx4: handle interrupts" etc. Regards, Jesper 2015-10-08 17:36 GMT+02:00 Olga Shern : > > > Hi Jesper, > > Bonding pmd is not

[dpdk-dev] DPDK User Space: Session onUseability and Ease of Use

2015-10-08 Thread Thomas F Herbert
All: Captured white board notes from Jim McNamara's session on Useability and Ease of Use at DPDK User Space today are here: http://people.redhat.com/therbert/Useability_and_Ease_of_Use_DPDK_User_Space/ --Thomas F Herbert Red Hat.

[dpdk-dev] [PATCH v2 6/6] doc: Update cxgbe documentation and release notes

2015-10-08 Thread Rahul Lakkireddy
- Add a missed step to mount huge pages in Linux. - Re-structure Sample Application Notes. - Add Jumbo Frame support to list of supported features and instructions on how to enable it via testpmd. - Update release notes. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: -

[dpdk-dev] [PATCH v2 5/6] cxgbe: Allow apps to change mtu

2015-10-08 Thread Rahul Lakkireddy
Add a mtu_set() eth_dev_ops to allow DPDK apps to modify device mtu. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/cxgbe_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git

[dpdk-dev] [PATCH v2 4/6] cxgbe: Update rx path to receive jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Ensure jumbo mode is enabled and that the mbuf data room size can accommodate jumbo size. If the mbuf data room size can't accommodate jumbo size, chain mbufs to jumbo size. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/sge.c | 58

[dpdk-dev] [PATCH v2 3/6] cxgbe: Update tx path to transmit jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Add a non-coalesce path. Skip coalescing for Jumbo Frames, and send the packet through non-coalesced path if there are enough credits. Also, free these non-coalesced packets while reclaiming credits. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change

[dpdk-dev] [PATCH v2 2/6] cxgbe: Update device info and perform sanity checks to enable jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Increase max_rx_pktlen to accommodate jumbo frame size. Perform sanity checks and enable jumbo mode in rx queue setup. Set link mtu based on max_rx_pktlen. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/cxgbe.h| 3 +++

[dpdk-dev] [PATCH v2 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-08 Thread Rahul Lakkireddy
Update sge initialization with respect to free-list manager configuration and ingress arbiter. Also update refill logic to refill mbufs only after a certain threshold for rx. Optimize tx packet prefetch. Approx. 3 MPPS improvement seen in forwarding performance after the optimization.

[dpdk-dev] [PATCH v2 0/6] cxgbe: Optimize tx/rx for 40GbE and add Jumbo Frame support for CXGBE PMD

2015-10-08 Thread Rahul Lakkireddy
This series of patches improve forwarding performance for Chelsio T5 40GbE cards and add Jumbo Frame support for cxgbe pmd. Also update documentation and release notes. --- v2: - Don't re-define rte_pktmbuf_free() locally. Thanks to review by Aaron Conole and Konstantin Ananyev Rahul

[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-08 Thread Nikita Kalyazin
Hi Yuanhan, As I understand, the dead loop happened here (virtio_send_command): while (vq->vq_used_cons_idx == vq->vq_ring.used->idx) { rte_rmb(); usleep(100); } Could you explain why wrong config reading caused that and how correct reading helps to avoid? -- Best regards,

[dpdk-dev] [PATCH] i40e: workaround for Security issue in SR-IOV mode

2015-10-08 Thread Vlad Zolotarov
On 10/08/15 05:17, Wu, Jingjing wrote: >>> In SR-IOV mode a VF sending LFC or PFC would throttle the entire port. >>> The workaround is to add a filter to drop pause frames from VFs from >>> sending pause frames. >> This is a very strange approach - this would silently disable the Tx FC >>

[dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3

2015-10-08 Thread Jesper Wramberg
Hi all, I was wondering if anyone has any experience with the ConnectX-3 card from Mellanox ? I have a server with such a card I can't seem to get link bonding to work. I've installed the necessary kernel modules, etc. and the card works as expected when testing it using e.g. the layer 2

[dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3

2015-10-08 Thread Olga Shern
Hi Jesper, Bonding pmd is not supported with dpdk 2.1 on Mellanox nic We just sent patches to support async link events. Without these patches it will not work. Best Regards Olga Sent from Samsung Mobile. Original message From: Jesper Wramberg Date:08/10/2015 4:25 PM

[dpdk-dev] rte_eal_init() alternative?

2015-10-08 Thread Montorsi, Francesco
Hi, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: mercoled? 2 settembre 2015 15:10 > To: Montorsi, Francesco > Cc: dev at dpdk.org; Bruce Richardson > Subject: Re: [dpdk-dev] rte_eal_init() alternative? > > 2015-09-02 13:56, Bruce

[dpdk-dev] [PATCH] ethdev: distinguish between drop and error stats

2015-10-08 Thread Tahhan, Maryam
Hi Jay Yeah, I will do this to make the distinction clear for the counters I?m modifying in my patch. But please note that these aren?t counters that are defined in the NIC datasheets, these are the high level DPDK general counters for ethdevs. Their descriptions exist in the code and the

[dpdk-dev] [PATCH 4/4 v2] vhost: fix wrong usage of eventfd_t

2015-10-08 Thread Yuanhan Liu
On Sun, Sep 27, 2015 at 09:35:35PM +0200, Thomas Monjalon wrote: > 2015-09-27 08:17, Yuanhan Liu: > > On Fri, Sep 25, 2015 at 02:44:11PM +0200, Thomas Monjalon wrote: > > > - make the first email the child of the previous version > > > > I'm wondering how could you do that, with git-send-email. >

[dpdk-dev] [PATCH 2/3] vhost: Fix RESET_OWNER handling not to close callfd

2015-10-08 Thread Yuanhan Liu
On Wed, Aug 19, 2015 at 06:51:08PM +0900, Tetsuya Mukawa wrote: > When RESET_OWNER message is issued, vhost backend shouldn't close > 'callfd', because it will be valid while vhost-user connection > is established. It should be closed when connection is closed. Doesn't it mean the end of

[dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3

2015-10-08 Thread Bill O'Hara
Olga If it's all all helpful, linking our code against dpdk-2.0 and (statically) against the appropriate custom-built libibverbs that we used with it, works on those machines. There is of course no call to ibv_exp_create_res_domain() in that version of the library. But it at least confirms basic

[dpdk-dev] [PATCH 1/3] vhost: Fix return value of GET_VRING_BASE message

2015-10-08 Thread Yuanhan Liu
On Wed, Aug 19, 2015 at 06:51:07PM +0900, Tetsuya Mukawa wrote: > When vhost-user frontend sends GET_VRING_BASE, last used index of vring > should be returned. In DPDK vhost library, 'last_used_idx' represents it. > But the value can be over max index value. That's true, and I guess it's a

[dpdk-dev] [PATCH v2 5/5] doc: modify release notes and deprecation notice for table and pipeline

2015-10-08 Thread Thomas Monjalon
Hi Maciej, 2015-09-11 12:31, Maciej Gajdzica: > The LIBABIVER number is incremented for table and pipeline libraries. > The release notes is updated and the deprecation announce is removed. [...] > --- a/lib/librte_pipeline/rte_pipeline_version.map > +++

[dpdk-dev] [PATCH v2 2/5] pipeline: added bulk add/delete functions for table

2015-10-08 Thread Thomas Monjalon
2015-09-11 12:31, Maciej Gajdzica: > +/** > + * Pipeline table entry delete bulk > + * > + * @param p > + * Handle to pipeline instance > + * @param table_id > + * Table ID (returned by previous invocation of pipeline table create) > + * @param keys > + * Array containing table entry keys >

[dpdk-dev] Question about store_return() in ~/dpdk/lib/librte_distributor/rte_distributor.c

2015-10-08 Thread 최익성
Dear Dr. Bruce Richadson and DPDK experts. Thank you very much for your precious answer and advices. The codes are very well designed, optimized, and programmed by very excellent architect and programmers. The distributor and load balancer are very important functions in network bandwidth

[dpdk-dev] [PATCH v4 1/1] ip_frag: fix creating ipv6 fragment extension header

2015-10-08 Thread Thomas Monjalon
2015-09-10 12:24, Dumitrescu, Cristian: > From: Azarewicz, PiotrX T > > Previous implementation won't work on every environment. The order of > > allocation of bit-fields within a unit (high-order to low-order or > > low-order to high-order) is implementation-defined. > > Solution: used bytes

[dpdk-dev] presentation: DPDK growth & next steps

2015-10-08 Thread Thomas Monjalon
Hi, For people not attending to DPDK userspace at Dublin, the slides of my presentation are enclosed. -- next part -- A non-text attachment was scrubbed... Name: 20151008-dpdk-growth-next-steps.pdf Type: application/pdf Size: 1229332 bytes Desc: not available URL: <h

[dpdk-dev] DPDK User Space: Session onUseability and Ease of Use

2015-10-08 Thread Thomas Herbert
All: Captured notes from Jim McNamara's session on Useability and Ease of Use at DPDK User Space: Jim will or someone will summarize these notes in more legible form. Page 1 -- next part -- Page 2: -- next part -- --Thomas F Herbert Red Hat

[dpdk-dev] [PATCH] ethdev: distinguish between drop and error stats

2015-10-08 Thread Jay Rolette
On Thu, Oct 8, 2015 at 9:37 AM, Tahhan, Maryam wrote: > Hi Jay > > Yeah, I will do this to make the distinction clear for the counters I?m > modifying in my patch. But please note that these aren?t counters that are > defined in the NIC datasheets, these are the high level DPDK general >

[dpdk-dev] [PATCH 6/6] bnx2x: Add BNX2X PMD versioning

2015-10-08 Thread Rasesh Mody
Add BNX2X PMD version, print it as part of adapter info. Adjusted print adapter info output formatting. This patch versions BNX2X PMD at 1.0.0. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.c | 101 + 1 file changed, 65 insertions(+), 36

[dpdk-dev] [PATCH 5/6] doc: Update BNX2X PMD documentation

2015-10-08 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- doc/guides/nics/bnx2x.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index 613a2b7..d3912ed 100644 --- a/doc/guides/nics/bnx2x.rst +++ b/doc/guides/nics/bnx2x.rst @@ -86,6 +86,10

[dpdk-dev] [PATCH 4/6] config: Enable BNX2X driver build by default

2015-10-08 Thread Rasesh Mody
From: Harish Patil Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- config/common_bsdapp |4 ++-- config/common_linuxapp |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp index

[dpdk-dev] [PATCH 3/6] maintainers: Add maintainers for BNX2X PMD

2015-10-08 Thread Rasesh Mody
Add maintainers for BNX2X PMD. Add file path to BNX2X PMD guide. Signed-off-by: Rasesh Mody --- MAINTAINERS |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 080a8e8..23309f8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -276,8 +276,12

[dpdk-dev] [PATCH 2/6] bnx2x: Linux 32bit enablement

2015-10-08 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x.h| 12 ++-- drivers/net/bnx2x/bnx2x_ethdev.c |2 +- drivers/net/bnx2x/bnx2x_rxtx.c | 11 +++ drivers/net/bnx2x/bnx2x_vfpf.c |4 ++-- drivers/net/bnx2x/debug.c| 32

[dpdk-dev] [PATCH 1/6] bnx2x: FreeBSD enablement

2015-10-08 Thread Rasesh Mody
Compile tested. Signed-off-by: Rasesh Mody --- config/common_bsdapp |1 + drivers/net/bnx2x/bnx2x.c|9 + drivers/net/bnx2x/bnx2x.h| 23 +++ drivers/net/bnx2x/ecore_sp.h |6 ++ 4 files changed, 39 insertions(+) diff --git

[dpdk-dev] [PATCH 0/6] bnx2x: Enable BNX2X PMD versioned at 1.0.0

2015-10-08 Thread Rasesh Mody
Hi, This patch set enables the BNX2X PMD and versions the driver at 1.0.0. Thanks! Rasesh Harish Patil (1): config: Enable BNX2X driver build by default Rasesh Mody (5): bnx2x: FreeBSD enablement bnx2x: Linux 32bit enablement maintainers: Add maintainers for BNX2X PMD doc: Update

[dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3

2015-10-08 Thread Bill O'Hara
Hi Olga Firmware is version 2.35.5100. Configuration details below. Thanks for any hints. bill root:~# cat /etc/modprobe.d/mlx4_core.conf options mlx4_core port_type_array=2,2 num_vfs=16 probe_vf=4 root:~# ibstat CA 'mlx4_0' CA type: MT4099 Number of ports: 1 Firmware version: 2.35.5100

[dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3

2015-10-08 Thread Olga Shern
Hi Bill, Can you please check the fw version that is installed on your ConnectX3? Thanks Sent from Samsung Mobile. Original message From: Olga Shern Date:08/10/2015 7:55 AM (GMT+00:00) To: Bill O'Hara ,dev at dpdk.org Subject: RE: [dpdk-dev] Mellanox PMD failure

[dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3

2015-10-08 Thread Olga Shern
Hi Bill, There shouldn?t be any problem with what you are doing. We are checking this now. Best Regards, Olga -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bill O'Hara Sent: Thursday, October 08, 2015 6:05 AM To: dev at dpdk.org Subject: [dpdk-dev] Mellanox

[dpdk-dev] [PATCH 00/52] update i40e base driver

2015-10-08 Thread Wu, Jingjing
> -Original Message- > From: Mcnamara, John > Sent: Friday, October 02, 2015 4:25 PM > To: Wu, Jingjing > Cc: dev at dpdk.org; Thomas Monjalon > Subject: RE: [dpdk-dev] [PATCH 00/52] update i40e base driver > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org]

[dpdk-dev] [PATCH] i40e: workaround for Security issue in SR-IOV mode

2015-10-08 Thread Wu, Jingjing
>> >> In SR-IOV mode a VF sending LFC or PFC would throttle the entire port. >> The workaround is to add a filter to drop pause frames from VFs from >> sending pause frames. >This is a very strange approach - this would silently disable the Tx FC while >a user would think it's enabled. Wouldn't

[dpdk-dev] Hotplug

2015-10-08 Thread Tetsuya Mukawa
On 2015/10/07 22:16, Srikanth Akula wrote: > Thank you for the inputs . > > I was able to solve the problem of device notification from my control > plane. > > I would like to know if we have any way to know if the PCI device is > already attached before we try to attach it ( if the device is

[dpdk-dev] testpmd hanging using virtualbox and virtio

2015-10-08 Thread Steffen Bauch
Hi, I would like to request help using DPDK, virtualbox and virtio to exchange data between two virtual machines (generator and receiver). To be able to describe my problem I have created a github repository with a sample setup using vagrant. The setup is using DPDK 2.1.0, uio_pci_generic and