[dpdk-dev] Coverity policy for upstream (base) drivers.

2015-11-12 Thread Thomas Monjalon
2015-11-12 14:05, Stephen Hemminger: > Looking at the Coverity scan for DPDK, it looks like all the base > drivers are marked to be ignored. > > Although the changes to base drivers should not be done directly through > DPDK list. I think it is still valuable to have these driver scanned and >

[dpdk-dev] [PATCH v2 0/7] ethdev: force deprecation of statistics

2015-11-12 Thread Thomas Monjalon
2015-11-05 17:04, Stephen Hemminger: > Several fields in ether statistics were tagged with comment that they > were going to be deprecated, but comments don't cause compile warnings. > Instead use Gcc attributes to force the issue. > > Of course to do that, all the drivers and tests which are

[dpdk-dev] [PATCH 7/7] rte_ether: mark deprecated statistics with attribute

2015-11-12 Thread Thomas Monjalon
2015-11-05 17:04, Stephen Hemminger: > Use deprecated attribute to highlight any use of fields that > are marked as going away in the rte_ether device statistics. The example app ip_pipeline does not compile. I will add a patch to fix it.

[dpdk-dev] [PATCH v5 4/4] example/vhost: add virtio offload test in vhost sample

2015-11-12 Thread Jijiang Liu
Change the codes in vhost sample to test virtio offload feature. These changes include, 1. add two test options: tx-csum and tso. 2. add virtio_tx_offload() function to test vhost TX offload feature for VM to NIC case; however, for VM to VM case, it doesn't need to call this function, the

[dpdk-dev] [PATCH v5 3/4] sample/vhost: remove the ipv4_hdr structure defination

2015-11-12 Thread Jijiang Liu
Remove the ipv4_hdr structure defination in vhost sample. The same structure has already defined in the rte_ip.h file, so we remove the defination from the sample, and include that header file. Signed-off-by: Jijiang Liu --- examples/vhost/main.c | 15 +-- 1 files changed, 1

[dpdk-dev] [PATCH v5 2/4] vhost/lib: add guest offload setting

2015-11-12 Thread Jijiang Liu
Add guest offload setting in vhost lib. Refer to the feature bits description in the Virtual I/O Device (VIRTIO) Version 1.0 below, 1. VIRTIO_NET_F_GUEST_CSUM (1) Driver handles packets with partial checksum. 2. If the VIRTIO_NET_F_GUEST_CSUM feature was negotiated, the

[dpdk-dev] [PATCH v5 1/4] vhost/lib: add vhost TX offload capabilities in vhost lib

2015-11-12 Thread Jijiang Liu
Add vhost TX offload(CSUM and TSO) support capabilities in vhost lib. Refer to feature bits in Virtual I/O Device (VIRTIO) Version 1.0 below, VIRTIO_NET_F_CSUM (0) Device handles packets with partial checksum. This "checksum offload" is a common feature on modern network cards.

[dpdk-dev] [PATCH v5 0/4] add virtio offload support in us-vhost

2015-11-12 Thread Jijiang Liu
Adds virtio offload support in us-vhost. The patch set adds the feature negotiation of checksum and TSO between us-vhost and vanilla Linux virtio guest, and add these offload features support in the vhost lib, and change vhost sample to test them. v5 changes: Add more clear descriptions to

[dpdk-dev] [PATCH v3 2/2] vhost: Add VHOST PMD

2015-11-12 Thread Rich Lane
> > + if (rte_kvargs_count(kvlist, ETH_VHOST_IFACE_ARG) == 1) { > + ret = rte_kvargs_process(kvlist, ETH_VHOST_IFACE_ARG, > +_iface, _name); > + if (ret < 0) > + goto out_free; > + } > I noticed

[dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs

2015-11-12 Thread Thomas Monjalon
2015-11-12 09:38, Stephen Hemminger: > On Thu, 12 Nov 2015 08:17:57 +0800 > Jianfeng Tan wrote: > > > This patch enables calculating space left in a hugetlbfs. > > There are three sources to get the information: 1. from > > sysfs; 2. from option size specified when mount; 3. use > > statfs. We

[dpdk-dev] Coverity policy for upstream (base) drivers.

2015-11-12 Thread Matthew Hall
On Thu, Nov 12, 2015 at 02:05:08PM -0800, Stephen Hemminger wrote: > Looking at the Coverity scan for DPDK, it looks like all the base > drivers are marked to be ignored. > > Although the changes to base drivers should not be done directly through > DPDK list. I think it is still valuable to have

[dpdk-dev] [PATCH 1/7] ether: don't mark input multicast for deprecation

2015-11-12 Thread Thomas Monjalon
2015-11-05 17:04, Stephen Hemminger: > The number of received multicast frames is useful and already > available in many/most drivers. Therefore don't mark it as > deprecated. There are other useful stats in xstats. The idea of this basic stats structure is to provide only the really mandatory

[dpdk-dev] Making rte_eal_pci_probe() in rte_eal_init() optional?

2015-11-12 Thread Roger B Melton
Hi folks, With the addition of hot plug support we have been migrating away from device discovery and attach at initialization time to a model where it is controlled from a separate process. The separate process manages the binding of devices to UIO and instructs the DPDK process when to

[dpdk-dev] [PATCH 0/3] xstats queue handling

2015-11-12 Thread Thomas Monjalon
2015-11-06 14:12, Harry van Haaren: > This patchset modifies how queue statistics are presented by > rte_eth_xstats_get() and each PMD's xstats_get(). > > Generic stats from the rte_eth_stats struct are presented by rte, and each > PMD can augment those stats with extra stats that are available

[dpdk-dev] [PATCH] vhost: avoid buffer overflow in update_secure_len

2015-11-12 Thread Yuanhan Liu
On Thu, Nov 12, 2015 at 12:02:33AM -0800, Rich Lane wrote: > The guest could trigger this buffer overflow by creating a cycle of > descriptors > (which would also cause an infinite loop). The more common case is that > vq->avail->idx jumps out of the range [last_used_idx, last_used_idx+256). This

[dpdk-dev] [PATCH v4 0/2] Add support for driver directories

2015-11-12 Thread Thomas Monjalon
> > This mini-series adds support for driver directory concept > > based on idea by Thomas Monjalon back in February: > > http://dpdk.org/ml/archives/dev/2015-February/013285.html > > > > In the process FreeBSD also gains plugin support (but untested). > > > > v4: - introduce error-early behavior

[dpdk-dev] [PATCH] MAINTAINERS: update maintainer for reorder library

2015-11-12 Thread Thomas Monjalon
> > Reorder > > -M: Sergio Gonzalez Monroy > > +M: Reshma Pattan > > F: lib/librte_reorder/ > > F: doc/guides/prog_guide/reorder_lib.rst > > F: app/test/test_reorder* > Acked-by: Sergio Gonzalez Monroy So you are replacing Sergio. Any enhancement or feature planned?

[dpdk-dev] [PATCH v2] app/test: fix reorder library unit test

2015-11-12 Thread Thomas Monjalon
2015-10-30 14:30, Sergio Gonzalez Monroy: > On 21/10/2015 14:01, Sergio Gonzalez Monroy wrote: > > On 21/10/2015 11:50, Reshma Pattan wrote: > >> The reorder library unit test was performed under the assumption that > >> the start > >> sequence number was always 0. > >> This is not the case

[dpdk-dev] [PATCH] i40e: fix the issue of trying more VSIs for VMDq than available

2015-11-12 Thread Helin Zhang
It fixes the issue of trying to allocate more VSIs for VMDq than hardware remaining. It adds a check of the hardware remaining before allocating VSIs for VMDq. Fixes: c80707a0fd9c ("i40e: fix VMDq pool limit") Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c | 7 +-- 1 file

[dpdk-dev] [PATCH] doc: add entry for enic PMD Tx improvement to the 2.2 release notes.

2015-11-12 Thread Thomas Monjalon
2015-11-06 15:08, johndale: > Signed-off-by: johndale Applied, thanks

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-12 Thread Panu Matilainen
On 11/11/2015 06:28 PM, Bruce Richardson wrote: > On Wed, Nov 11, 2015 at 04:13:01PM +, Montorsi, Francesco wrote: >> Hi, >> Is there a way to permanently (i.e., have the configuration automatically >> applied after reboot) bind a NIC port to DPDK? >> >> In case there's none, I'm thinking to

[dpdk-dev] [PATCH 1/7] ether: don't mark input multicast for deprecation

2015-11-12 Thread Stephen Hemminger
On Thu, 5 Nov 2015 17:04:33 -0800 Stephen Hemminger wrote: > The number of received multicast frames is useful and already > available in many/most drivers. Therefore don't mark it as > deprecated. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 1 - >

[dpdk-dev] [PATCH v3] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Jianfeng Tan
This patch fixes a bug under lower version linux kernel, mmap() fails when length is not aligned with hugepage size. mmap() without flag of MAP_ANONYMOUS, should be called with length argument aligned with hugepagesz at older longterm version Linux, like 2.6.32 and 3.2.72, or mmap() will fail with

[dpdk-dev] Coverity policy for upstream (base) drivers.

2015-11-12 Thread Stephen Hemminger
Looking at the Coverity scan for DPDK, it looks like all the base drivers are marked to be ignored. Although the changes to base drivers should not be done directly through DPDK list. I think it is still valuable to have these driver scanned and notify (badger) the vendors to fix there code.

[dpdk-dev] ACL Library Information Request

2015-11-12 Thread Jason Terry
HI, I've read the documentation and looked at the example acl app. What is the best practice for deleting rules? The API looks like a new context needs created and built. Is that true? Also, this is more of a confirmation, but RTE_ACL_MAX_FIELDS is defined as 64, so I assume that for

[dpdk-dev] [PATCH] vhost: avoid buffer overflow in update_secure_len

2015-11-12 Thread Rich Lane
You can reproduce this with l2fwd and the vhost PMD. You'll need this patch on top of the vhost PMD patches: --- a/lib/librte_vhost/virtio-net.c +++ b/lib/librte_vhost/virtio-net.c @@ -471,7 +471,7 @@ reset_owner(struct vhost_device_ctx ctx) return -1; if (dev->flags &

[dpdk-dev] [PATCH v6 0/8] add sample ptp slave application

2015-11-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, November 12, 2015 12:56 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v6 0/8] add sample ptp slave application > > > Add a sample application that acts as a PTP slave

[dpdk-dev] [PATCH v2] mem: calculate space left in a hugetlbfs

2015-11-12 Thread Sergio Gonzalez Monroy
Hi, On 12/11/2015 02:10, Jianfeng Tan wrote: > This patch enables calculating space left in a hugetlbfs. > There are three sources to get the information: 1. from > sysfs; 2. from option size specified when mount; 3. use > statfs. We should use the minimum one of these three sizes. We could

[dpdk-dev] [PATCH] fm10k: fix a crash bug when quit from testpmd

2015-11-12 Thread Chen Jing D(Mark)
From: "Chen Jing D(Mark)" When the fm10k port is closed, both func tx_queue_clean() and fm10k_tx_queue_release_mbufs_vec() will try to release buffer in SW ring. The latter func won't do sanity check on those pointers and cause crash. The fix include 2 parts. 1. Remove

[dpdk-dev] [PATCH v6 8/8] doc: add a ptpclient sample guide

2015-11-12 Thread Pablo de Lara
From: Daniel Mrzyglod Add a sample app guide for the ptpclient application. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- doc/guides/sample_app_ug/img/ptpclient.svg | 524 +

[dpdk-dev] [PATCH v6 7/8] example: minimal ptp client implementation

2015-11-12 Thread Pablo de Lara
From: Daniel Mrzyglod Add a sample application that acts as a PTP slave using the DPDK ieee1588 functions. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- MAINTAINERS| 4 + examples/Makefile

[dpdk-dev] [PATCH v6 6/8] testpmd: add nanosecond output for ieee1588 fwd

2015-11-12 Thread Pablo de Lara
Testpmd was only printing out second values when printing RX/TX timestamp value, instead of both second and nanoseconds. Since resolution of time counters is in nanoseconds, testpmd should print out both. Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- app/test-pmd/ieee1588fwd.c |

[dpdk-dev] [PATCH v6 5/8] i40e: add additional ieee1588 support functions

2015-11-12 Thread Pablo de Lara
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- drivers/net/i40e/i40e_ethdev.c | 147

[dpdk-dev] [PATCH v6 4/8] igb: add additional ieee1588 support functions

2015-11-12 Thread Pablo de Lara
Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- drivers/net/e1000/e1000_ethdev.h | 2 +

[dpdk-dev] [PATCH v6 3/8] ixgbe: add additional ieee1588 support functions

2015-11-12 Thread Pablo de Lara
From: Daniel Mrzyglod Add additional functions to support the existing IEEE1588 functionality and to enable getting, setting and adjusting the device time. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara ---

[dpdk-dev] [PATCH v6 2/8] eal: add common time structures and functions

2015-11-12 Thread Pablo de Lara
From: Daniel Mrzyglod Add common functions and structures to handle time, and cycle counts which will be used for PTP processing. Signed-off-by: Daniel Mrzyglod Signed-off-by: Pablo de Lara Reviewed-by: John McNamara --- lib/librte_eal/common/Makefile

[dpdk-dev] [PATCH v6 1/8] ethdev: add additional ieee1588 support functions

2015-11-12 Thread Pablo de Lara
From: Daniel Mrzyglod Add additional functions to support the existing IEEE1588 functionality. * rte_eth_timesync_write_time(): set the device clock time. * rte_eth_timesync_read_time(): get the device clock time. * rte_eth_timesync_adjust_time(): adjust

[dpdk-dev] [PATCH v6 0/8] add sample ptp slave application

2015-11-12 Thread Pablo de Lara
Add a sample application that acts as a PTP slave using the DPDK IEEE1588 functions. Also add some additional IEEE1588 support functions to enable getting, setting and adjusting the device time. V5->v6: - Moved common functionality for cyclecounter and time conversions functions to

[dpdk-dev] [PATCH v3 2/2] vhost: Add VHOST PMD

2015-11-12 Thread Wang, Zhihong
Hi Tetsuya, In my test I created 2 vdev using "--vdev 'eth_vhost0,iface=/tmp/sock0,queues=1' --vdev 'eth_vhost1,iface=/tmp/sock1,queues=1'", and the qemu message got handled in wrong order. The reason is that: 2 threads are created to handle message from 2 sockets, but their fds are SHARED,

[dpdk-dev] [PATCH v2] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Tan, Jianfeng
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, November 12, 2015 7:19 PM > To: Tan, Jianfeng > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] vhost: fix mmap failure as len not aligned > with hugepage size > > 2015-11-12

[dpdk-dev] [PATCH] maintainers: Add maintainers for enic PMD

2015-11-12 Thread Thomas Monjalon
> --- a/MAINTAINERS > +++ b/MAINTAINERS > Cisco enic > +M: John Daley > +M: Sujith Sankar > F: drivers/net/enic/ Welcome :) Now as we officially have some maintainers for enic, please could you consider writing doc/guides/nics/enic.rst? Thanks

[dpdk-dev] [PATCH] maintainers: claim to be reviewer of virtio/vhost component

2015-11-12 Thread Thomas Monjalon
2015-11-12 12:10, Yuanhan Liu: > Firstly, Chuangchun's email address's been invalid for a while. > > Secondly, I'd like to take the responsibility to review patches > of virtio/vhost component. [...] > RedHat virtio > M: Huawei Xie > -M: Changchun Ouyang > +M: Yuanhan Liu > F:

[dpdk-dev] [PATCH] vhost: reset device properly

2015-11-12 Thread Thomas Monjalon
> > Currently, we reset all fields of a device to zero when reset > > happens, which is wrong, since for some fields like device_fh, > > ifname, and virt_qp_nb, they should be same and be kept after > > reset until the device is removed. And this is what's the new > > helper function

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-12 Thread Thomas Monjalon
2015-11-10 10:25, Yuanhan Liu: > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > > QEMU sends this message first when shutting down. There was previously no > > way > > for the dataplane to know that the virtio_net instance had become unusable > > and > > it would segfault when

[dpdk-dev] [PATCH] i40e: fix the issue of trying more VSIs for VMDq than available

2015-11-12 Thread Thomas Monjalon
2015-11-12 15:09, Helin Zhang: > It fixes the issue of trying to allocate more VSIs for VMDq than > hardware remaining. It adds a check of the hardware remaining > before allocating VSIs for VMDq. > > Fixes: c80707a0fd9c ("i40e: fix VMDq pool limit") > > Signed-off-by: Helin Zhang Applied,

[dpdk-dev] [PATCH] vhost: reset device properly

2015-11-12 Thread Yuanhan Liu
Currently, we reset all fields of a device to zero when reset happens, which is wrong, since for some fields like device_fh, ifname, and virt_qp_nb, they should be same and be kept after reset until the device is removed. And this is what's the new helper function reset_device() for. And use

[dpdk-dev] [PATCH] maintainers: claim to be reviewer of virtio/vhost component

2015-11-12 Thread Yuanhan Liu
Firstly, Chuangchun's email address's been invalid for a while. Secondly, I'd like to take the responsibility to review patches of virtio/vhost component. Cc: Huawei Xie Cc: Thomas Monjalon Signed-off-by: Yuanhan Liu --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH] doc: update release notes

2015-11-12 Thread Helin Zhang
Updated release notes about adding X722 support. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 5636aad..5811c2f 100644 ---

[dpdk-dev] [PATCH] examples/l3fwd: fix eth-dest commandline strncmp size

2015-11-12 Thread Chilikin, Andrey
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Monday, November 2, 2015 5:46 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] examples/l3fwd: fix eth-dest commandline > strncmp size > > Fix minor, and non critical, copy and

[dpdk-dev] [PATCH v2] mem: calculate space left in a hugetlbfs

2015-11-12 Thread Jianfeng Tan
This patch enables calculating space left in a hugetlbfs. There are three sources to get the information: 1. from sysfs; 2. from option size specified when mount; 3. use statfs. We should use the minimum one of these three sizes. Signed-off-by: Jianfeng Tan --- Changes in v2: - reword title -

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow

2015-11-12 Thread Chilikin, Andrey
> -Original Message- > From: Wu, Jingjing > Sent: Tuesday, November 10, 2015 3:11 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Chilikin, Andrey > Subject: [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow > > Signed-off-by: Jingjing Wu Acked-by: Andrey

[dpdk-dev] [PATCH v2] mem: calculate space left in a hugetlbfs

2015-11-12 Thread Jianfeng Tan
This patch enables calculating space left in a hugetlbfs. There are three sources to get the information: 1. from sysfs; 2. from option size specified when mount; 3. use statfs. We should use the minimum one of these three sizes. Signed-off-by: Jianfeng Tan ---

[dpdk-dev] [PATCH v4 3/8] virtio/lib:add vhost TX checksum support capabilities

2015-11-12 Thread Yuanhan Liu
On Wed, Nov 11, 2015 at 09:31:14AM -0800, Stephen Hemminger wrote: > On Wed, 11 Nov 2015 16:26:57 +0800 > Yuanhan Liu wrote: > > > On Wed, Nov 11, 2015 at 02:40:41PM +0800, Jijiang Liu wrote: > > > Add vhost TX offload(CSUM and TSO) support capabilities. > > > > Claiming first that we support

[dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs

2015-11-12 Thread Stephen Hemminger
On Thu, 12 Nov 2015 08:17:57 +0800 Jianfeng Tan wrote: > This patch enables calculating space left in a hugetlbfs. > There are three sources to get the information: 1. from > sysfs; 2. from option size specified when mount; 3. use > statfs. We should use the minimum one of these three sizes. >

[dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs

2015-11-12 Thread Jianfeng Tan
This patch enables calculating space left in a hugetlbfs. There are three sources to get the information: 1. from sysfs; 2. from option size specified when mount; 3. use statfs. We should use the minimum one of these three sizes. Signed-off-by: Jianfeng Tan ---

[dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs

2015-11-12 Thread De Lara Guarch, Pablo
Hi Jianfeng, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianfeng Tan > Sent: Thursday, November 12, 2015 12:18 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mem: fix how to calculate space left in a > hugetlbfs > > This patch enables

[dpdk-dev] [PATCH v2] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Xie, Huawei
On 11/12/2015 1:04 PM, Tan, Jianfeng wrote: > This patch fixes a bug under lower version linux kernel, mmap() > fails when length is not aligned with hugepage size. mmap() > without flag of MAP_ANONYMOUS, should be called with length > argument aligned with hugepagesz at older longterm version >

[dpdk-dev] [PATCH v2] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Jianfeng Tan
This patch fixes a bug under lower version linux kernel, mmap() fails when length is not aligned with hugepage size. mmap() without flag of MAP_ANONYMOUS, should be called with length argument aligned with hugepagesz at older longterm version Linux, like 2.6.32 and 3.2.72, or mmap() will fail with

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_tunnel_filter_conf

2015-11-12 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Tuesday, November 10, 2015 11:50 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Lu, Wenzhuo > Subject: [PATCH] doc: announce ABI change for struct > rte_eth_tunnel_filter_conf > > Signed-off-by: Jingjing Wu Acked-by: Helin

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow

2015-11-12 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Tuesday, November 10, 2015 11:11 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Chilikin, Andrey > Subject: [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow > > Signed-off-by: Jingjing Wu Acked-by: Helin Zhang

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_tunnel_filter_conf

2015-11-12 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Wu, Jingjing > Sent: Tuesday, November 10, 2015 11:50 AM > To: dev at dpdk.org > Cc: Wu, Jingjing ; Zhang, Helin > ; Lu, Wenzhuo > Subject: [PATCH] doc: announce ABI change for struct > rte_eth_tunnel_filter_conf > > Signed-off-by: Jingjing Wu

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_fdir_flow

2015-11-12 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jingjing Wu > Sent: Tuesday, November 10, 2015 11:11 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for struct > rte_eth_fdir_flow > > Signed-off-by: Jingjing Wu Acked-by:

[dpdk-dev] [PATCH] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Xie, Huawei
On 11/12/2015 10:35 AM, Tan, Jianfeng wrote: > >> -Original Message- >> From: Xie, Huawei >> Sent: Wednesday, November 11, 2015 11:57 AM >> To: Tan, Jianfeng; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] vhost: fix mmap failure as len not aligned >> with >> hugepage size >> >> On

[dpdk-dev] [PATCH] vhost: fix mmap failure as len not aligned with hugepage size

2015-11-12 Thread Tan, Jianfeng
> -Original Message- > From: Xie, Huawei > Sent: Wednesday, November 11, 2015 11:57 AM > To: Tan, Jianfeng; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vhost: fix mmap failure as len not aligned > with > hugepage size > > On 10/30/2015 2:52 PM, Jianfeng Tan wrote: > > This patch

[dpdk-dev] [PATCH] vhost: reset device properly

2015-11-12 Thread Rich Lane
On Wed, Nov 11, 2015 at 8:10 PM, Yuanhan Liu wrote: > Currently, we reset all fields of a device to zero when reset > happens, which is wrong, since for some fields like device_fh, > ifname, and virt_qp_nb, they should be same and be kept after > reset until the device is removed. And this is

[dpdk-dev] [PATCH] bonding: fix enumerated type mixed with another type

2015-11-12 Thread Thomas Monjalon
> > ICC complains about enumerated types being mixed in link bonding driver, > > as ETH_MQ_RX_RSS is an enum type of mq_mode and not a bitmask as it > > was > > being treated. > > > > Fixes: 734ce47f71e0 ("bonding: support RSS dynamic configuration") > > > > Signed-off-by: Tomasz Kulasek > >

[dpdk-dev] [PATCHv7 0/2] ixgbe: fix TX hang when RS distance exceeds HW limit

2015-11-12 Thread Thomas Monjalon
> > First patch contains changes in testpmd that allow to reproduce the issue. > > Second patch is the actual fix. > > > > Konstantin Ananyev (2): > > testpmd: add ability to split outgoing packets > > ixgbe: fix TX hang when RS distance exceeds HW limit > > Series-acked-by: Pablo de Lara

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2015-11-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, Francesco > Sent: Wednesday, November 11, 2015 4:13 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Permanently binding NIC ports with DPDK drivers > > Hi, > Is there a way to permanently (i.e., have

[dpdk-dev] [PATCH] vhost: avoid buffer overflow in update_secure_len

2015-11-12 Thread Rich Lane
The guest could trigger this buffer overflow by creating a cycle of descriptors (which would also cause an infinite loop). The more common case is that vq->avail->idx jumps out of the range [last_used_idx, last_used_idx+256). This happens nearly every time when restarting a DPDK app inside a VM