[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Liu, Jijiang > Sent: Thursday, September 10, 2015 1:21 AM > To: Ouyang, Changchun; dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > > > > -Original Message- > > From: Ouyang, Changchun > > Sent: Tuesday

[dpdk-dev] Order of system brought up affects throughput with qos_sched app

2015-09-09 Thread Wei Shen
Hi Cristian, Thanks for your quick response. I did a quick test of your hypothesis and it sort of came out as you mentioned. That is, it went back to ~4Gbps after around ten minutes with the previous profile I posted. In another test, I set the pipe token rate to ~20Mbps instead of full line rate

[dpdk-dev] Order of system brought up affects throughput with qos_sched app

2015-09-09 Thread Dumitrescu, Cristian
Hi Wei, Here is another hypothesis for you to consider: if the size of your token buckets (used to store subport and pipe credits) is big (and it actually is set big in the default config file of the app), then when no packets are received for a long while (which is the case when you start the

[dpdk-dev] Order of system brought up affects throughput with qos_sched app

2015-09-09 Thread Wei Shen
Hi all, I ran into problems with qos_sched with different order of system brought up. I can bring up the system in two ways: 1. Start traffic gen first. Then start qos_sched.2. Start qos_sched first. Then start traffic gen. With 256K pipes and 64 queue size, 128B packet size, I got ~4Gbps with or

[dpdk-dev] [PATCH 0/5] fixup ip pipeline examples

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 0/5] fixup ip pipeline examples > > Lots of little trivial bugs/typos her

[dpdk-dev] [PATCH 5/5] examples_ip_pipeline: fix possible string overrun

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 5/5] examples_ip_pipeline: fix possible string overrun > > If a long name

[dpdk-dev] [PATCH 4/5] examples_ip_pipeline: remove useless code

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 4/5] examples_ip_pipeline: remove useless code > > Code here checks retur

[dpdk-dev] [PATCH 3/5] example_ip_pipeline: fix sizeof() on memcpy

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 3/5] example_ip_pipeline: fix sizeof() on memcpy > > Found by Coverity: >

[dpdk-dev] [PATCH 2/5] example_ip_pipeline: avoid strncpy issue

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 2/5] example_ip_pipeline: avoid strncpy issue > > If name is so long that

[dpdk-dev] [PATCH 1/5] examples_ip_pipeline: fix typo's

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, September 1, 2015 4:59 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: [PATCH 1/5] examples_ip_pipeline: fix typo's > > Coverity found these as dead-co

[dpdk-dev] DPDK 2.2 roadmap

2015-09-09 Thread Patel, Rashmin N
There were two line items on the 2.2 roadmap: Xen Driver and Hyper-V Driver. Can you provide some more details? Thanks, Rashmin -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon Sent: Wednesday, September 09, 2015 1:45 AM To: dev at dpdk.org Subject:

[dpdk-dev] Random packet drops with ip_pipeline on R730.

2015-09-09 Thread husainee
hi Cristian I am using 2.0 release. I will try with 2.1 and revert. But for additional information I tried the same 2.0 ip_pipeline application with a Desktop system which has a single socket Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz, 4 core. The nic is same i350. On this machine I am sending pac

[dpdk-dev] [Pktgen] [PATCH] pktgen_setup_packets: fix race for packet header

2015-09-09 Thread Ilya Maximets
While pktgen_setup_packets() all threads of one port uses same info->seq_pkt. This leads to constructing packets in the same memory region (&pkt->hdr). As a result, pktgen_setup_packets generates random headers. Fix that by making a local copy of info->seq_pkt and using it for constructing of pack

[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-09 Thread Liu, Jijiang
> -Original Message- > From: Ouyang, Changchun > Sent: Tuesday, September 8, 2015 6:18 PM > To: Liu, Jijiang; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > > > > -Original Message- > > From: Liu, Jijiang

[dpdk-dev] Random packet drops with ip_pipeline on R730.

2015-09-09 Thread Dumitrescu, Cristian
Hi Husainee, Yes, please try on release 2.1 and do come back to us with your findings. Based on your findings so far though, looks like this is not a SW issue with the ip_pipeline application (from 2.0 release). The packet i/O rate that you are using is of a few Mpps, which is low enough to be

[dpdk-dev] [PATCH v2 4/4] ethdev: check driver support for functions

2015-09-09 Thread Bruce Richardson
The functions rte_eth_rx_queue_count and rte_eth_descriptor_done are supported by very few PMDs. Therefore, it is best to check for support for the functions in the ethdev library, so as to avoid run-time crashes at run-time if the application goes to use those APIs. The performance impact of this

[dpdk-dev] [PATCH v2 3/4] ethdev: remove duplicated debug functions

2015-09-09 Thread Bruce Richardson
The functions for rx/tx burst, for rx_queue_count and descriptor_done in the ethdev library all had two copies of the code. One copy in rte_ethdev.h was inlined for performance, while a second was in rte_ethdev.c for debugging purposes only. We can eliminate the second copy of the functions by movi

[dpdk-dev] [PATCH v2 2/4] ethdev: move error checking macros to header

2015-09-09 Thread Bruce Richardson
Move the function ptr and port id checking macros to the header file, so that they can be used in the static inline functions there. In doxygen comments, mark them as for internal use only. Signed-off-by: Bruce Richardson --- lib/librte_ether/rte_ethdev.c | 38 -- lib

[dpdk-dev] [PATCH v2 1/4] ethdev: rename macros to have RTE_ETH prefix

2015-09-09 Thread Bruce Richardson
The macros to check that the function pointers and port ids are valid for an ethdev are potentially useful to have in the ethdev.h file. However, since they would then become externally visible, we apply the RTE_ETH prefix to them. Signed-off-by: Bruce Richardson --- lib/librte_ether/rte_ethdev.

[dpdk-dev] [PATCH v2 0/4] ethdev: minor cleanup

2015-09-09 Thread Bruce Richardson
This patchset performs two cleanups: 1. Four functions in ethdev.c which were enabled for debug only have been merged into their inlined header-file counterparts. This change required that a number of macros be renamed and moved to the header file too. The macro changes are in patches 1 & 2,

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

2015-09-09 Thread Piotr Azarewicz
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 instead of bit fields. v2 changes: - remove useless union - fix process_ipv6 function (d

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-09 Thread Thomas Monjalon
2015-09-09 15:10, N?lio Laranjeiro: > I think V2 is better, maybe you can add a function to convert a single > bitmap value to the equivalent integer and get rid of ETH_SPEED_XXX macros. > > Thomas what is your opinion? Your proposal looks good Nelio. Thanks

[dpdk-dev] [PATCH] i40e: fix base driver allocation when on numa != 0

2015-09-09 Thread Thomas Monjalon
> > Seen by code review. > > > > If dpdk is run with memory only available on socket 0, then i40e pmd > > refuses to > > initialize ports as this pmd requires some memory on socket 0. > > Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on > > the > > caller socket. > > >

[dpdk-dev] Random packet drops with ip_pipeline on R730.

2015-09-09 Thread husainee
Hi Cristian PFA the config file. I am sending packets from port0 and receiving on port1. By random packet drops I mean, on every run the number of packets dropped is not same. Here are some results as below. Frame sent rate 1488095.2 fps, 64Byte packets (100% of 1000Mbps) Run1- 0.0098% (20-22 Mi

[dpdk-dev] [PATCH v3] ixgbe: remove vector pmd burst size restriction

2015-09-09 Thread Thomas Monjalon
> > On receive side, the burst size now floor aligns to > > RTE_IXGBE_DESCS_PER_LOOP power of 2. > > According to this rule, the burst size less than 4 still won't receive > > anything. > > (Before this change, the burst size less than 32 can't receive anything.) > > _recv_*_pkts_vec returns no m

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-09 Thread Nélio Laranjeiro
Marc, (making this discussion public again) On Wed, Sep 09, 2015 at 12:07:01PM +0200, Marc Sune wrote: > Hi Nelio > > 2015-09-09 11:08 GMT+02:00 N?lio Laranjeiro : > > Marc, > > On Tue, Sep 08, 2015 at 10:24:36PM +0200, Marc Sune wrote: > > Neilo, > > > > 2015-09-08 12:03 G

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability

2015-09-09 Thread Marc Sune
Answering 2015-09-09 11:29 GMT+02:00 N?lio Laranjeiro : > bitmap > Reply-To: > > Shern , Adrien > Mazarguil > Bcc: > Subject: Re: [dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability > bitmap > Reply-To: > In-Reply-To: <20150909090855.GC17463 at autoinstall.dev.6wind.com> > > Marc

[dpdk-dev] [PATCH] ixgbe: fix a x550 DCB issue

2015-09-09 Thread Thomas Monjalon
> > There's a DCB issue on x550. For 8 TCs, if a packet with user priority 6 or > > 7 is > > injected to the NIC, then the NIC will put 3 packets into the queue. There's > > also a similar issue for 4 TCs. > > The root cause is RXPBSIZE is not right. RXPBSIZE of x550 is 384. It's > > different >

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

2015-09-09 Thread Thomas Monjalon
2015-08-25 20:13, Zhang, Helin: > Yes, I got the perfect answers. Thank you very much! > I just wanted to make sure the test case was OK with the limit of maximum > number of descriptors, as I heard there is a hang issue on other NICs of > using more descriptors than hardware allowed. > OK. I am

[dpdk-dev] i40e: problem with rx packet drops not accounted in statistics

2015-09-09 Thread Martin Weiser
Hi Helin, in one of our test setups involving i40e adapters we are experiencing packet drops which are not reflected in the interfaces statistics. The call to rte_eth_stats_get suggests that all packets were properly received but the total number of packets received through rte_eth_rx_burst is les

[dpdk-dev] ixgbe: account more Rx errors Issue

2015-09-09 Thread Kyle Larose
On Mon, Sep 7, 2015 at 7:44 AM, Tahhan, Maryam wrote: > > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > > Sent: Monday, September 7, 2015 9:30 AM > > To: Tahhan, Maryam; Andriy Berestovskyy > > Cc: dev at dpdk.org > > Subject: Re: ixgbe: account more Rx errors Issue > > > > Hi, > > > >

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

2015-09-09 Thread Yuanhan Liu
According to eventfd man page: typedef uint64_t eventfd_t; int eventfd_read(int fd, eventfd_t *value); int eventfd_write(int fd, eventfd_t value); eventfd_t is defined for the second arg(value), but not for fd. Here I redefine those fd fields to `int' type, which also removes the re

[dpdk-dev] [PATCH 3/4] vhost: get rid of duplicate code

2015-09-09 Thread Yuanhan Liu
Signed-off-by: Yuanhan Liu Acked-by: Changchun Ouyang Acked-by: Huawei Xie --- lib/librte_vhost/vhost_user/vhost-net-user.c | 36 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/lib/librte_vhost/vhost_user/vhost-net-user.c b/lib/librte_vhost/vhost_u

[dpdk-dev] [PATCH 2/4] vhost: fix typo

2015-09-09 Thread Yuanhan Liu
_det => _dev Signed-off-by: Yuanhan Liu Acked-by: Changchun Ouyang Acked-by: Huawei Xie --- lib/librte_vhost/virtio-net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c index b520ec5..b670992 100644 --- a/lib/li

[dpdk-dev] [PATCH 1/4] vhost: remove redundant ;

2015-09-09 Thread Yuanhan Liu
Signed-off-by: Yuanhan Liu Acked-by: Changchun Ouyang Acked-by: Huawei Xie --- lib/librte_vhost/vhost_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 0d07338..d412293 100644 --- a/lib/librte_vhost/vho

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

2015-09-09 Thread Ananyev, Konstantin
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, September 09, 2015 1:19 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] ixgbe_pmd: forbid tx_rs_thresh above 1 for > all NICs but 8

[dpdk-dev] DPDK 2.2 roadmap

2015-09-09 Thread O'Driscoll, Tim
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, September 9, 2015 9:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] DPDK 2.2 roadmap > > Hello, > > The new features for the release 2.2 must be first submitted before 2nd >

[dpdk-dev] [PATCH] hash: fix wrong size memory calculation

2015-09-09 Thread Thomas Monjalon
2015-08-31 14:30, Pablo de Lara: > When calculating the size for the table which allocates > the keys, size was calculated wrongly from multiplying > two 32-bit variables, resulting on a 32-bit number, > before casting to 64-bit, so maximum size was 4G. > > Fixes: 48a399119619 ("hash: replace with

[dpdk-dev] [PATCH 3/5] example_ip_pipeline: fix sizeof() on memcpy

2015-09-09 Thread Stephen Hemminger
On Wed, 9 Sep 2015 18:25:53 + "Dumitrescu, Cristian" wrote: > > diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c > > index 3f9c68d..75e3767 100644 > > --- a/examples/ip_pipeline/init.c > > +++ b/examples/ip_pipeline/init.c > > @@ -1325,7 +1325,7 @@ app_pipeline_type_cmd_

[dpdk-dev] Random packet drops with ip_pipeline on R730.

2015-09-09 Thread Dumitrescu, Cristian
Hi Husainee, Looking at your config file, looks like you are using an old DPDK release prior to 2.1, can you please try out same simple test in your environment for latest DPDK 2.1 release? We did a lot of work in DPDK release 2.1 for the ip_pipeline application, we basically rewrote large par

[dpdk-dev] [PATCH] replaced O(n^2) sort in sort_by_physaddr() with qsort() from standard library

2015-09-09 Thread Gonzalez Monroy, Sergio
Following conversation in http://dpdk.org/ml/archives/dev/2015-September/023230.html : On 17/12/2014 13:31, rolette at infiniteio.com (Jay Rolette) wrote: > Signed-off-by: Jay Rolette > --- Update commit title/description, maybe something like: eal/linux: use qsort for sorting hugepages Re

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability

2015-09-09 Thread Nélio Laranjeiro
bitmap Reply-To: Shern , Adrien Mazarguil Bcc: Subject: Re: [dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap Reply-To: In-Reply-To: <20150909090855.GC17463 at autoinstall.dev.6wind.com> Marc, On Tue, Sep 08, 2015 at 10:24:36PM +0200, Marc Sune wrote: > Neilo, > > 2

[dpdk-dev] DPDK 2.2 roadmap

2015-09-09 Thread Stephen Hemminger
On Wed, 9 Sep 2015 17:48:44 + "Patel, Rashmin N" wrote: > There were two line items on the 2.2 roadmap: Xen Driver and Hyper-V Driver. > Can you provide some more details? > Brocade will be resubmitting the Xen netfront and Hyper-V virtual drivers. I had been holding off until some issues

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Yuanhan Liu
On Wed, Sep 09, 2015 at 02:41:37AM +, Ouyang, Changchun wrote: > > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > Sent: Monday, August 24, 2015 11:55 AM > > To: dev at dpdk.org > > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > > Subject: [

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

2015-09-09 Thread Ananyev, Konstantin
Hi Piotr, > -Original Message- > From: Azarewicz, PiotrX T > Sent: Tuesday, September 08, 2015 3:08 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian; Ananyev, Konstantin; Azarewicz, PiotrX T > Subject: [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header > > Previous imp

[dpdk-dev] DPDK 2.2 roadmap

2015-09-09 Thread Thomas Monjalon
Hello, The new features for the release 2.2 must be first submitted before 2nd October. They should be integrated before 23rd October. In order to ease cooperation and integration, it would be nice to see announces or technical details of planned features for 2.2 or 2.3. Then the roadmap page wil

[dpdk-dev] [PATCH v1] change hugepage sorting to avoid overlapping memcpy

2015-09-09 Thread Ralf Hoffmann
Hi Sergio, On 08.09.2015 14:45, Gonzalez Monroy, Sergio wrote: > Just a few comments/suggestions: > > Add 'eal/linux:' to the commit title, ie: > "eal/linux: change hugepage sorting to avoid overlapping memcpy" > I would modify the patch according to your notes if needed, but if you consider

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

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Azarewicz, PiotrX T > Sent: Tuesday, September 8, 2015 5:08 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian; Ananyev, Konstantin; Azarewicz, PiotrX T > Subject: [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header > > Previous implementatio

[dpdk-dev] virtio optimization idea

2015-09-09 Thread Michael S. Tsirkin
On Fri, Sep 04, 2015 at 08:25:05AM +, Xie, Huawei wrote: > Hi: > > Recently I have done one virtio optimization proof of concept. The > optimization includes two parts: > 1) avail ring set with fixed descriptors > 2) RX vectorization > With the optimizations, we could have several times of per

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Yuanhan Liu
On Wed, Sep 09, 2015 at 01:43:06AM +, Ouyang, Changchun wrote: > > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > > Sent: Monday, August 24, 2015 11:55 AM > > To: dev at dpdk.org > > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > > Subject: [

[dpdk-dev] [PATCH v2] mbuf/ip_frag: Move mbuf chaining to common code

2015-09-09 Thread Ananyev, Konstantin
> -Original Message- > From: Simon K?gstr?m [mailto:simon.kagstrom at netinsight.net] > Sent: Tuesday, September 08, 2015 11:41 AM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Olivier MATZ; Zhang, Helin; Gonzalez Monroy, Sergio; Burakov, Anatoly > Subject: Re: [PATCH v2] mbuf/ip_frag:

[dpdk-dev] [PATCH] ring: add function to free a ring

2015-09-09 Thread De Lara Guarch, Pablo
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, September 07, 2015 9:45 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ring: add function to free a ring > > Hi Pablo, > > Please find some comments below. >

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

2015-09-09 Thread Xie, Huawei
Acked-by: Huawei Xie Thanks for fixing this. On 9/9/2015 1:32 PM, Yuanhan Liu wrote: > According to eventfd man page: > > typedef uint64_t eventfd_t; > > int eventfd_read(int fd, eventfd_t *value); > int eventfd_write(int fd, eventfd_t value); > > eventfd_t is defined for the second

[dpdk-dev] [PATCH 1/4] vhost: remove redundant ;

2015-09-09 Thread Xie, Huawei
On 8/24/2015 11:54 AM, Yuanhan Liu wrote: > Signed-off-by: Yuanhan Liu Acked-by: Huawei Xie > --- > lib/librte_vhost/vhost_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c > index 0d07338..d412293 10064

[dpdk-dev] [PATCH 2/4] vhost: fix typo

2015-09-09 Thread Xie, Huawei
On 8/24/2015 11:54 AM, Yuanhan Liu wrote: > _det => _dev > > Signed-off-by: Yuanhan Liu Acked-by: Huawei Xie > --- > lib/librte_vhost/virtio-net.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c > index b520e

[dpdk-dev] [PATCH 3/4] vhost: get rid of duplicate code

2015-09-09 Thread Xie, Huawei
On 8/24/2015 11:54 AM, Yuanhan Liu wrote: > Signed-off-by: Yuanhan Liu Acked-by: Huawei Xie > --- > lib/librte_vhost/vhost_user/vhost-net-user.c | 36 > > 1 file changed, 10 insertions(+), 26 deletions(-) > >

[dpdk-dev] virtio_dev_merge_rx send more interrupts than needed

2015-09-09 Thread Xie, Huawei
In virtio_dev_merge_rx, we inject interrupts to guest for each packet rather than for the burst of packets. Would submit the fix. /huawei

[dpdk-dev] vring_init bug

2015-09-09 Thread Xie, Huawei
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, September 09, 2015 11:18 AM > To: Xie, Huawei; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: vring_init bug > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huaw

[dpdk-dev] vring_init bug

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xie, Huawei > Sent: Wednesday, September 9, 2015 11:00 AM > To: dev at dpdk.org > Subject: [dpdk-dev] vring_init bug > > static inline void > vring_init(struct vring *vr, unsigned int num, uint8_t *p, > uns

[dpdk-dev] vring_init bug

2015-09-09 Thread Xie, Huawei
static inline void vring_init(struct vring *vr, unsigned int num, uint8_t *p, unsigned long align) { vr->num = num; vr->desc = (struct vring_desc *) p; vr->avail = (struct vring_avail *) (p + num * sizeof(struct vring_desc)); vr->used = (void *) RTE_ALIGN_CEIL((u

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 4/4] vhost: define callfd and kickfd as int type > > So that we can remove t

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Wednesday, September 9, 2015 9:55 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Xie, Huawei > Subject: Re: [PATCH 4/4] vhost: define callfd and kickfd as int type > > On Wed, Sep 09, 2015 at 01:4

[dpdk-dev] virtio-net: bind systematically on all non blacklisted virtio-net devices

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Franck Baudin > Sent: Tuesday, September 8, 2015 4:23 PM > To: dev at dpdk.org > Subject: [dpdk-dev] virtio-net: bind systematically on all non blacklisted > virtio-net devices > > Hi, > > virtio-net driver b

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

2015-09-09 Thread Zhang, Helin
Acked-by: Helin Zhang > -Original Message- > From: Wu, Jingjing > Sent: Sunday, September 6, 2015 3:11 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Lu, Wenzhuo; Xu, HuilongX; Zhang, Helin > Subject: [PATCH 00/52] update i40e base driver > > Here is the update of i40e base driver. > Main

[dpdk-dev] [PATCH 1/4] vhost: remove redundant ;

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 1/4] vhost: remove redundant ; > > Signed-off-by: Yuanhan Liu Acked-by: Ch

[dpdk-dev] [PATCH 4/4] vhost: define callfd and kickfd as int type

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 4/4] vhost: define callfd and kickfd as int type > > So that we can remove t

[dpdk-dev] [PATCH 3/4] vhost: get rid of duplicate code

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 3/4] vhost: get rid of duplicate code > > Signed-off-by: Yuanhan Liu Acked

[dpdk-dev] [PATCH 2/4] vhost: fix typo

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Monday, August 24, 2015 11:55 AM > To: dev at dpdk.org > Cc: Xie, Huawei; Ouyang, Changchun; Yuanhan Liu > Subject: [PATCH 2/4] vhost: fix typo > > _det => _dev > > Signed-off-by: Yuanhan Liu Acke

[dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload

2015-09-09 Thread Ouyang, Changchun
> -Original Message- > From: Liu, Jijiang > Sent: Monday, September 7, 2015 2:11 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 4/8] driver/virtio:enqueue TSO offload > > > > > -Original Message- > > From: Ouyang, Changchun > > Sent: Monday, Au