[dpdk-dev] [PATCH 3/3] vhost: Fix RESET_OWNER handling not to free virtqueue

2015-08-19 Thread Tetsuya Mukawa
When RESET_OWNER message is issued, vhost backend should not clear and free virtqueue memories. This is because vhost backend should handle GET_VRING_BASE message followed by the RESET_OWNER, so still vhost backend need to access virtqueue memories. These memories should be freed when

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

2015-08-19 Thread Tetsuya Mukawa
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. Signed-off-by: Tetsuya Mukawa --- lib/librte_vhost/virtio-net.c | 35

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

2015-08-19 Thread Tetsuya Mukawa
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. To return correct value to vhost frontend, it's needed to be masked. Signed-off-by: Tetsuya Mukawa ---

[dpdk-dev] Using pktgen-dpdk with VM's

2015-08-19 Thread Kar, Subarna
Hello, I am new to dpdk and pktgen-dpdk. I have been able to send packets between NIC's in the host machine. How do I send packets between 2 VM's using pktgen? Is there any way to add the virtual NICs to the pktgen? Thanks, Subarna

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

2015-08-19 Thread Zhang, Helin
Hi Vlad Thank you very much for the patches! Give me a few more time to double check with more guys, and possibly hardware experts. Regards, Helin From: Vladislav Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Tuesday, August 18, 2015 9:56 PM To: Lu, Wenzhuo Cc: dev at dpdk.org; Zhang,

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

2015-08-19 Thread Olivier MATZ
Hi Maryam, On 08/19/2015 02:53 PM, Tahhan, Maryam wrote: >> From: Olivier MATZ [mailto:olivier.matz at 6wind.com] >> Sent: Monday, August 17, 2015 3:54 PM >> To: Tahhan, Maryam; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v6 4/9] ethdev: remove HW specific stats in >> stats structs >> >> Hi

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-19 Thread Yuanhan Liu
On Wed, Aug 19, 2015 at 02:28:51PM +0800, Yuanhan Liu wrote: > On Wed, Aug 19, 2015 at 05:54:09AM +, Ouyang, Changchun wrote: > > Hi Yuanhan, > > > > > -Original Message- > > > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > > Sent: Wednesday, August 19, 2015 11:53 AM >

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-19 Thread Yuanhan Liu
On Wed, Aug 19, 2015 at 05:54:09AM +, Ouyang, Changchun wrote: > Hi Yuanhan, > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > Sent: Wednesday, August 19, 2015 11:53 AM > > To: Ouyang, Changchun > > Cc: dev at dpdk.org; Xie, Huawei > > Subject:

[dpdk-dev] [PATCH v2] Move common functions in eal_thread.c

2015-08-19 Thread Ravi Kerur
v2: > Remove un-needed header file eal_private.h from freeBSD eal_thread.c after code movement. v1: Changes include > Moving common functions in eal_thread.c in linuxapp and bsdapp into common/eal_common_thread.c file. > Rearrange eal_common_thread.c compilation in Makefile

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

2015-08-19 Thread Vlad Zolotarov
On 08/19/15 10:43, Ananyev, Konstantin wrote: > Hi Vlad, > Sorry for delay with review, I am OOO till next week. > Meanwhile, few questions/comments from me. Hi, Konstantin, long time no see... ;) > >> This patch fixes the Tx hang we were constantly hitting with a >> seastar-based >>

[dpdk-dev] [PATCH v1] Return ENOMEM during mpipe_devinit failure

2015-08-19 Thread Ravi Kerur
In function rte_pmd_mpipe_devinit, if rte_eth_dev_allocate fails return error which is inline with other drivers. Signed-off-by: Ravi Kerur --- drivers/net/mpipe/mpipe_tilegx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mpipe/mpipe_tilegx.c

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

2015-08-19 Thread Tahhan, Maryam
> From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, August 17, 2015 3:54 PM > To: Tahhan, Maryam; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 4/9] ethdev: remove HW specific stats in > stats structs > > Hi Maryam, > > On 07/15/2015 03:11 PM, Maryam Tahhan wrote: > >

[dpdk-dev] [PATCH v2] Change rte_eal_vdev_init to update port_id

2015-08-19 Thread Ravi Kerur
v2: > Remove rte_pmd_mpipe_devinit changes > Use rte_eal_compare_pci_addr for address comparison > Use dpdk_2.2 in version map file for new functions v1: Changes include > Modify rte_eal_vdev_init to return allocated port_id > Modify rte_eal_probe_one to return allocated port_id

[dpdk-dev] [PATCH v2] Send updated port_id in vdev_init functions

2015-08-19 Thread Ravi Kerur
Instead of executing following functions before and after vdev_init > rte_eth_dev_save and > rte_eth_dev_get_changed_port update following functions to return allocated port_id. > rte_eal_vdev_init > rte_eal_probe_one Thanks to Tetsuya for his valuable inputs. Ravi Kerur (1):

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-19 Thread Yuanhan Liu
Hi Changchun, On Wed, Aug 12, 2015 at 04:02:37PM +0800, Ouyang Changchun wrote: > Each virtio device could have multiple queues, say 2 or 4, at most 8. > Enabling this feature allows virtio device/port on guest has the ability to > use different vCPU to receive/transmit packets from/to each

[dpdk-dev] Cisco DPDK enabled Packet Generator.

2015-08-19 Thread Thomas Monjalon
2015-08-19 03:39, Andrew Harvey: > A couple of people asked me at the SF DPDK Summit about Cisco?s Open > Source Packet Generator that leverages DPDK. > > TRex an open source, low cost, stateful traffic generator fueled by DPDK. > It generates L4-7 traffic based on pre-processing and smart replay

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

2015-08-19 Thread Vladislav Zolotarov
On Aug 19, 2015 03:42, "Lu, Wenzhuo" wrote: > > Hi Helin, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > > Sent: Friday, August 14, 2015 1:38 PM > > To: Zhang, Helin; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v1] ixgbe_pmd:

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

2015-08-19 Thread Ananyev, Konstantin
Hi Vlad, Sorry for delay with review, I am OOO till next week. Meanwhile, few questions/comments from me. > > > > > > > >> This patch fixes the Tx hang we were constantly hitting with a > seastar-based > > > >> application on x540 NIC. > > > > Could you help to share with us how to reproduce

[dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in virtio dev

2015-08-19 Thread Ouyang, Changchun
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Wednesday, August 19, 2015 11:53 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Xie, Huawei > Subject: Re: [dpdk-dev] [PATCH v4 02/12] vhost: support multiple queues in > virtio dev >

[dpdk-dev] Cisco DPDK enabled Packet Generator.

2015-08-19 Thread Andrew Harvey (agh)
A couple of people asked me at the SF DPDK Summit about Cisco?s Open Source Packet Generator that leverages DPDK. TRex an open source, low cost, stateful traffic generator fueled by DPDK. It generates L4-7 traffic based on pre-processing and smart replay of real traffic templates. Trex amplifies

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

2015-08-19 Thread Lu, Wenzhuo
Hi Helin, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Friday, August 14, 2015 1:38 PM > To: Zhang, Helin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] ixgbe_pmd: forbid tx_rs_thresh above 1 for > all NICs but 82598 > > >