[dpdk-dev] Trouble with Tx on some i40 ports in KVM VM

2015-06-09 Thread Zhou, Danny
On your system, what is your iommu and intel_iommu kernel parameters? Could you try to use uio_pci_generic for both PF on host and VF in guest after configuring "iommu=pt" on your system? > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Andrew Theurer > Sen

[dpdk-dev] Trouble with Tx on some i40 ports in KVM VM

2015-06-09 Thread Andrew Theurer
- Original Message - > From: "Danny Zhou" > To: "Andrew Theurer" > Cc: dev at dpdk.org > Sent: Tuesday, June 9, 2015 6:38:49 PM > Subject: RE: Trouble with Tx on some i40 ports in KVM VM > > On your system, what is your iommu and intel_iommu kernel parameters? > > Could you try to use

[dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh

2015-06-09 Thread Zoltan Kiss
On 09/06/15 16:44, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Tuesday, June 09, 2015 4:08 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh >>

[dpdk-dev] [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts

2015-06-09 Thread Maxim Uvarov
On 06/09/15 17:37, Olivier MATZ wrote: > Hi Maxim, > > On 06/09/2015 02:59 PM, Maxim Uvarov wrote: >> On 06/09/15 15:05, Olivier MATZ wrote: >>> Hello Maxim, >>> >>> On 06/09/2015 12:15 PM, Maxim Uvarov wrote: Inherit build varibles only so that this file can be included from other projec

[dpdk-dev] Headers files with BSD license in kernel

2015-06-09 Thread Stephen Hemminger
On Wed, 10 Jun 2015 00:42:59 + "Zhang, Helin" wrote: > Hi Miguel > > My thought is there might be something wrong. Let's see what comments from > other experts! > Thank you very much for the good catch! > > Regards, > Helin > > > -Original Message- > > From: Miguel Bernal Marin [m

[dpdk-dev] [PATCH 1/4] ixgbe: expose extended error statistics

2015-06-09 Thread Stephen Hemminger
On Fri, 5 Jun 2015 18:35:02 +0100 Maryam Tahhan wrote: > Implement xstats_get() and xstats_reset() in dev_ops for ixgbe to expose > detailed error statistics to DPDK applications. > > Signed-off-by: Maryam Tahhan Also, the bug where CRC is included in Tx byte count but not in the Rx byte coun

[dpdk-dev] Is vhost vring_avail size tunable?

2015-06-09 Thread Stephen Hemminger
On Sun, 7 Jun 2015 16:02:04 +0800 (CST) "Tim Deng" wrote: > > Hi, > > Under heavy work load, I found there were some packet lost caused by > "Failed?to get enough desc from vring...", is there any way to get the > vring size larger? > > Thanks, > Tim One thing that could help the DPDK virtio

[dpdk-dev] [PATCH 5/5] virtio: clarify feature bit handling

2015-06-09 Thread Stephen Hemminger
On Wed, 15 Apr 2015 08:20:19 -0700 Stephen Hemminger wrote: > Change the features from bit mask to bit number. This allows the > DPDK driver to use the definitions from Linux[1]. This makes doing > enhancements to DPDK driver easier when new feature bits are added. > > More importantly, get rid

[dpdk-dev] Trouble with Tx on some i40 ports in KVM VM

2015-06-09 Thread Andrew Theurer
Hello. I am having some trouble with getting various dpdk applications to work when using in a KVM VM. This happens with the 2nd port on a dual port adapter. What I have configured: Haswell-ep host with KVM, 2 x i40e phys functions bound to vfio-pci, 2 functions assigned to KVM guest. In

[dpdk-dev] Dpdk 2.0 with vmware-workstation ubunut guest: so many error msg " EAL: Error reading from file descriptor "

2015-06-09 Thread Mo Jia
Hi anybody met this error. You can modify vmx , change drive "e1000" to "vmxnet3", This error go away. Don't understand why in deep , but it can work now. 2015-06-09 12:42 GMT+08:00 Mo Jia : > ~/Git/dpdk$ uname -a > Linux engine 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC > 2015 x86_6

[dpdk-dev] [PATCH] examples/distributor: fix missing "; " in debug macro

2015-06-09 Thread Stephen Hemminger
On Mon, 8 Jun 2015 11:58:10 +0100 Bruce Richardson wrote: > On Fri, Jun 05, 2015 at 10:45:04PM +0200, Thomas Monjalon wrote: > > 2015-06-05 17:01, Bruce Richardson: > > > The macro to turn on additional debug output when the app was compiled > > > with "-DDEBUG" was missing a ";". > > > > It sho

[dpdk-dev] [PATCH v2 1/7] ethdev: add additional error stats

2015-06-09 Thread Stephen Hemminger
On Tue, 9 Jun 2015 16:10:40 +0100 Maryam Tahhan wrote: > Add MAC error and drop statistics to struct rte_eth_stats and the > extended stats. > Signed-off-by: Maryam Tahhan > --- > lib/librte_ether/rte_ethdev.c | 4 > lib/librte_ether/rte_ethdev.h | 4 > 2 files changed, 8 insertions(

[dpdk-dev] rte_memcmp: comments from glibc side.

2015-06-09 Thread Ondřej Bílka
Hi, I as glibc developer that wrote current strcmp code have some comments. First is that gcc builtins for *cmp are garbage that produce rep cmpsb which is slower than byte-by-byte loop. So compile your test again with -fno-builtin-memcmp and your performance gain will probably disappear. Then t

[dpdk-dev] [PATCH v12 00/14] Interrupt mode PMD

2015-06-09 Thread Stephen Hemminger
On Mon, 8 Jun 2015 13:28:57 +0800 Cunming Liang wrote: > v12 changes > - bsd cleanup for unused variable warning > - fix awkward line split in debug message > > v11 changes > - typo cleanup and check kernel style > > v10 changes > - code rework to return actual error code > - bug fix for

[dpdk-dev] [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts

2015-06-09 Thread Olivier MATZ
Hi Maxim, On 06/09/2015 02:59 PM, Maxim Uvarov wrote: > On 06/09/15 15:05, Olivier MATZ wrote: >> Hello Maxim, >> >> On 06/09/2015 12:15 PM, Maxim Uvarov wrote: >>> Inherit build varibles only so that this file can be included >>> from other projects. >>> >>> Signed-off-by: Maxim Uvarov >> >> Can

[dpdk-dev] [PATCH 4/6] fm10k: Fix issue that MAC addr can't be set to silicon

2015-06-09 Thread Qiu, Michael
On 2015/5/29 16:11, Chen, Jing D wrote: > From: "Chen Jing D(Mark)" > > In fm10k, PF driver needs to communicate with switch through > mailbox if it needs to add/delete MAC address. > This fix will validate if switch is ready before going forward. > Then, it is necessary to acquire LPORT_MAP info

[dpdk-dev] [PATCH v2] mk: remove "u" modifier from "ar" command

2015-06-09 Thread Olivier MATZ
Hi Bruce, On 06/09/2015 02:51 PM, Bruce Richardson wrote: > On Fedora 22, the "ar" binary operates by default in deterministic mode, > making the "u" parameter irrelevant, and leading to warning messages > getting printed in the build output like below. > >INSTALL-LIB librte_kvargs.a > ar: `u'

[dpdk-dev] [PATCH v2 7/7] app: add a new app proc_info

2015-06-09 Thread Maryam Tahhan
proc_info displays statistics information including extened stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 + app/proc_info/main.c | 514

[dpdk-dev] [PATCH v2 6/7] app: remove dump_cfg

2015-06-09 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45 -

[dpdk-dev] [PATCH v2 5/7] testpmd: extend testpmd to show all extended stats

2015-06-09 Thread Maryam Tahhan
Extend testpmd to show additional aggregate extended stats. Signed-off-by: Maryam Tahhan --- app/test-pmd/config.c | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index f788ed5..b42d83f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/c

[dpdk-dev] [PATCH v2 4/7] ethdev: expose extended error stats

2015-06-09 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the top level extended stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte

[dpdk-dev] [PATCH v2 3/7] ixgbe: Expose extended error statistics

2015-06-09 Thread Maryam Tahhan
Implement xstats_get() and xstats_reset() in dev_ops for ixgbe to expose detailed error statistics to DPDK applications. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/net/ixg

[dpdk-dev] [PATCH v2 2/7] ixgbe: move stats register reads to a new function

2015-06-09 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 76 1 file changed, 54 insertions(+), 22 deletions(-)

[dpdk-dev] [PATCH v2 1/7] ethdev: add additional error stats

2015-06-09 Thread Maryam Tahhan
Add MAC error and drop statistics to struct rte_eth_stats and the extended stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 4 lib/librte_ether/rte_ethdev.h | 4 2 files changed, 8 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_et

[dpdk-dev] [PATCH v2 0/7] Expose IXGBE extended stats to DPDK apps

2015-06-09 Thread Maryam Tahhan
This patch implements xstats_get() and xstats_reset() in dev_ops for ixgbe to expose detailed error statistics to DPDK applications. The dump_cfg application was extended to demonstrate the usage of retrieving statistics for DPDK interfaces and renamed to proc_info in order reflect this new functio

[dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh

2015-06-09 Thread Zoltan Kiss
On 09/06/15 12:18, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Wednesday, June 03, 2015 6:47 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh >

[dpdk-dev] [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts

2015-06-09 Thread Maxim Uvarov
On 06/09/15 15:05, Olivier MATZ wrote: > Hello Maxim, > > On 06/09/2015 12:15 PM, Maxim Uvarov wrote: >> Inherit build varibles only so that this file can be included >> from other projects. >> >> Signed-off-by: Maxim Uvarov > > Can you detail a bit more what you want to do? > Why do you need to i

[dpdk-dev] [PATCH 2/3] fm10k: add MAC filter

2015-06-09 Thread Qiu, Michael
On 2015/6/2 10:59, He, Shaopeng wrote: > MAC filter function was newly added, each PF and VF can have up to 64 MAC > addresses. VF filter needs support from PF host, which is not available now. > > Signed-off-by: Shaopeng He > --- > drivers/net/fm10k/fm10k.h| 3 +- > drivers/net/fm10k/fm

[dpdk-dev] [PATCH 1/3] fm10k: update VLAN filter

2015-06-09 Thread Qiu, Michael
On 2015/6/2 10:59, He, Shaopeng wrote: > VLAN filter was updated to add/delete one static entry in MAC table for each > combination of VLAN and MAC address. More sanity checks were added. > > Signed-off-by: Shaopeng He > --- > drivers/net/fm10k/fm10k.h| 23 + > drivers/net

[dpdk-dev] [PATCH] support jumbo frames for pcap vdev

2015-06-09 Thread Maxim Uvarov
On 06/09/15 15:15, Mcnamara, John wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maxim Uvarov >> Sent: Tuesday, June 9, 2015 11:15 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] support jumbo frames for pcap vdev >> >> PCAP PMD vdev is used

[dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh

2015-06-09 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Tuesday, June 09, 2015 4:08 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh > > > > On 09/06/15 12:18, Ananyev, Konstantin wrote: >

[dpdk-dev] [PATCH 3/3] fm10k: update VLAN offload features

2015-06-09 Thread Qiu, Michael
On 2015/6/9 11:27, Chen, Jing D wrote: > Hi, > > >> -Original Message- >> From: He, Shaopeng >> Sent: Tuesday, June 02, 2015 10:59 AM >> To: dev at dpdk.org >> Cc: Chen, Jing D; Qiu, Michael; He, Shaopeng >> Subject: [PATCH 3/3] fm10k: update VLAN offload features >> >> Fm10k PF/VF does not

[dpdk-dev] [PATCH 0/6] fm10k: A series of bug fixes

2015-06-09 Thread Qiu, Michael
On 2015/5/29 16:11, Chen, Jing D wrote: > From: "Chen Jing D(Mark)" > > This patch set include a few bug fixes and enhancements on fm10k driver. > > Chen Jing D(Mark) (6): > fm10k: Fix improper RX buffer size assignment > fm10k: Fix jumbo frame issue > fm10k: Fix data integrity issue with mu

[dpdk-dev] [PATCH 1/3] fm10k: Add promiscuous mode support

2015-06-09 Thread Qiu, Michael
On 2015/6/5 17:03, Chen, Jing D wrote: > From: "Chen Jing D(Mark)" > > Add functions to support promiscuous/allmulticast enable and > disable. > > Signed-off-by: Chen Jing D(Mark) > --- > drivers/net/fm10k/fm10k_ethdev.c | 118 > +- > 1 files changed, 117 in

[dpdk-dev] Headers files with BSD license in kernel

2015-06-09 Thread Miguel Bernal Marin
Including maintainers in CC On Tue, Jun 09, 2015 at 12:40:57PM -0500, Miguel Bernal Marin wrote: > Hi, > > I'm working on Clear Linux project, and when I was integrating DPDK > kernel modules to our kernel I found there are two headers with > BSD License > > rte_pci_dev_feature_defs.h > rte_pci

[dpdk-dev] [PATCH] vhost: flush used->idx update before reading avail->flags

2015-06-09 Thread Linhaifeng
On 2015/4/24 15:27, Luke Gorrie wrote: > On 24 April 2015 at 03:01, Linhaifeng wrote: > >> If not add memory fence what would happen? Packets loss or interrupt >> loss?How to test it ? >> > > You should be able to test it like this: > > 1. Boot two Linux kernel (e.g. 3.13) guests. > 2. Connec

[dpdk-dev] Build broken with COMBINE_LIBS=y

2015-06-09 Thread Li Wei
Hi list, After drivers separation, the following building error was encountered, it seems the build system build lib/ first and link it into libintel_dpdk.a and then drivers/ got compiled, so the symbols in drivers never got linked into libintel_dpdk.a. I guess we need add some dependence on driv

[dpdk-dev] [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts

2015-06-09 Thread Olivier MATZ
Hello Maxim, On 06/09/2015 12:15 PM, Maxim Uvarov wrote: > Inherit build varibles only so that this file can be included > from other projects. > > Signed-off-by: Maxim Uvarov Can you detail a bit more what you want to do? Why do you need to include rte.app.mk? This file is internal to the dpdk

[dpdk-dev] [PATCH v2] mbuf: optimize rte_mbuf_refcnt_update

2015-06-09 Thread Bruce Richardson
On Mon, Jun 08, 2015 at 04:57:22PM +0200, Olivier Matz wrote: > In __rte_pktmbuf_prefree_seg(), there was an optimization to avoid using > a costly atomic operation when updating the mbuf reference counter if > its value is 1. Indeed, it means that we are the only owner of the mbuf, > and therefore

[dpdk-dev] [PATCH v2] mk: remove "u" modifier from "ar" command

2015-06-09 Thread Bruce Richardson
On Fedora 22, the "ar" binary operates by default in deterministic mode, making the "u" parameter irrelevant, and leading to warning messages getting printed in the build output like below. INSTALL-LIB librte_kvargs.a ar: `u' modifier ignored since `D' is the default (see `U') There are two opt

[dpdk-dev] [PATCH] vhost: flush used->idx update before reading avail->flags

2015-06-09 Thread Xie, Huawei
On 6/9/2015 4:47 PM, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 03:04:02PM +0800, Linhaifeng wrote: >> >> On 2015/4/24 15:27, Luke Gorrie wrote: >>> On 24 April 2015 at 03:01, Linhaifeng wrote: >>> If not add memory fence what would happen? Packets loss or interrupt loss?How to

[dpdk-dev] [PATCH] dpdk1.7.1 rte.app.mk add options not not build targerts

2015-06-09 Thread Maxim Uvarov
Inherit build varibles only so that this file can be included from other projects. Signed-off-by: Maxim Uvarov --- mk/rte.app.mk | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 34dff2a..b75925d 100644 --- a/mk/rte.app.mk +++ b/mk/rte.ap

[dpdk-dev] [PATCH] support jumbo frames for pcap vdev

2015-06-09 Thread Maxim Uvarov
PCAP PMD vdev is used mostly for testing. Increase snapshot len parameter provided to pcap_open_live() to accept packet more then 4096 (support jumbo frames for pcap pmd). Signed-off-by: Maxim Uvarov --- lib/librte_pmd_pcap/rte_eth_pcap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[dpdk-dev] Dpdk 2.0 with vmware-workstation ubunut guest: so many error msg " EAL: Error reading from file descriptor "

2015-06-09 Thread Mo Jia
~/Git/dpdk$ uname -a Linux engine 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux git log last commit: commit c1715402df8f7fdb2392e12703d5b6f81fd5f447 Author: Helin Zhang Date: Thu Jun 4 14:54:32 2015 +0800 i40evf: fix jumbo frame support Aft

[dpdk-dev] Headers files with BSD license in kernel

2015-06-09 Thread Miguel Bernal Marin
Hi, I'm working on Clear Linux project, and when I was integrating DPDK kernel modules to our kernel I found there are two headers with BSD License rte_pci_dev_feature_defs.h rte_pci_dev_features.h those are included in igb_uio module. Are those licenses correct? Thanks, Miguel

[dpdk-dev] [PATCH] support jumbo frames for pcap vdev

2015-06-09 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maxim Uvarov > Sent: Tuesday, June 9, 2015 11:15 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] support jumbo frames for pcap vdev > > PCAP PMD vdev is used mostly for testing. Increase snapshot len para

[dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh

2015-06-09 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Wednesday, June 03, 2015 6:47 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix checking for tx_free_thresh > > > > On 02/06/15 18:35, Ananyev, Konstantin wrote:

[dpdk-dev] [PATCH] vhost: flush used->idx update before reading avail->flags

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 03:04:02PM +0800, Linhaifeng wrote: > > > On 2015/4/24 15:27, Luke Gorrie wrote: > > On 24 April 2015 at 03:01, Linhaifeng wrote: > > > >> If not add memory fence what would happen? Packets loss or interrupt > >> loss?How to test it ? > >> > > > > You should be able to

[dpdk-dev] Shared library build broken

2015-06-09 Thread Gonzalez Monroy, Sergio
On 08/06/2015 22:29, Thomas F Herbert wrote: > Sorry, > > I apologize on behalf of my fingers. I meant combined library build is > broken when PMD_BOND is selected. > > > On 6/8/15 4:14 PM, Thomas F Herbert wrote: >> I just noticed that shared library build is broking. I am building >> current mas

[dpdk-dev] [PATCH] mk: fix combined library building

2015-06-09 Thread Sergio Gonzalez Monroy
The combined lib was being created after building the lib root dir. With the new directory hierarchy, it should be created after the drivers root dir instead. Fixes: 980ed498eb1dd0 ("drivers: create new directory") Signed-off-by: Sergio Gonzalez Monroy --- mk/rte.sdkbuild.mk | 2 +- 1 file chan

[dpdk-dev] [PATCH] mk: fix combined library building

2015-06-09 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Tuesday, June 09, 2015 10:37 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: fix combined library building > > The combined lib was being created after building the

[dpdk-dev] [PATCH] vhost: flush used->idx update before reading avail->flags

2015-06-09 Thread Luke Gorrie
On 9 June 2015 at 09:04, Linhaifeng wrote: > On 2015/4/24 15:27, Luke Gorrie wrote: > > You should be able to test it like this: > > > > 1. Boot two Linux kernel (e.g. 3.13) guests. > > 2. Connect them via vhost switch. > > 3. Run continuous traffic between them (e.g. iperf). > > > > I would expe

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-09 Thread Liu, Yong
Tested-by: Yong Liu - Tested Commit: c1715402df8f7fdb2392e12703d5b6f81fd5f447 - OS: Fedora20 3.15.5 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device XL710 [8086:1584] Firmware 4.33 - Default x86_64-native-linuxapp-gcc configuration

[dpdk-dev] Shared library build broken

2015-06-09 Thread Thomas F Herbert
On 6/9/15 5:40 AM, Gonzalez Monroy, Sergio wrote: > On 08/06/2015 22:29, Thomas F Herbert wrote: >> Sorry, >> >> I apologize on behalf of my fingers. I meant combined library build is >> broken when PMD_BOND is selected. >> >> >> On 6/8/15 4:14 PM, Thomas F Herbert wrote: >>> I just noticed that

[dpdk-dev] Build broken with COMBINE_LIBS=y

2015-06-09 Thread Gonzalez Monroy, Sergio
On 09/06/2015 07:31, Li Wei wrote: > Hi list, > > After drivers separation, the following building error was encountered, > it seems the build system build lib/ first and link it into libintel_dpdk.a > and then drivers/ got compiled, so the symbols in drivers never got linked > into libintel_dpdk.a

[dpdk-dev] [PATCH v7 4/4] lib_vhost: Remove unnecessary vring descriptor length updating

2015-06-09 Thread Ouyang Changchun
Remove these unnecessary vring descriptor length updating, vhost should not change them. virtio in front end should assign value to desc.len for both rx and tx. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 17 + 1 file changed, 1 insertion(+), 16 deletions

[dpdk-dev] [PATCH v7 3/4] lib_vhost: Extract function

2015-06-09 Thread Ouyang Changchun
Extract codes into 2 common functions: update_secure_len which is used to accumulate the buffer len in the vring descriptors. and fill_buf_vec which is used to fill struct buf_vec. Changes in v5 - merge fill_buf_vec into update_secure_len - do both tasks in one-time loop Signed-off-by: Chang

[dpdk-dev] [PATCH v7 2/4] lib_vhost: Refine code style

2015-06-09 Thread Ouyang Changchun
Remove unnecessary new line. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index b887e0b..1f145bf 100644 --- a/lib/librte_vhost/vhost_rxt

[dpdk-dev] [PATCH v7 1/4] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-06-09 Thread Ouyang Changchun
Vring enqueue need consider the 2 cases: 1. use separate descriptors to contain virtio header and actual data, e.g. the first descriptor is for virtio header, and then followed by descriptors for actual data. 2. virtio header and some data are put together in one descriptor, e.g. the first

[dpdk-dev] [PATCH v7 0/4] Fix vhost enqueue/dequeue issue

2015-06-09 Thread Ouyang Changchun
Fix enqueue/dequeue can't handle chained vring descriptors; Remove unnecessary vring descriptor length updating; Add support copying scattered mbuf to vring; Changchun Ouyang (4): lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors lib_vhost: Refine code style lib_vhost: Ex

[dpdk-dev] [PATCH 3/3] fm10k: update VLAN offload features

2015-06-09 Thread He, Shaopeng
> -Original Message- > From: Chen, Jing D > Sent: Tuesday, June 09, 2015 11:27 AM > To: He, Shaopeng; dev at dpdk.org > Cc: Qiu, Michael > Subject: RE: [PATCH 3/3] fm10k: update VLAN offload features > > Hi, > > > > -Original Message- > > From: He, Shaopeng > > Sent: Tuesday, Jun

[dpdk-dev] [PATCH 2/3] fm10k: add MAC filter

2015-06-09 Thread He, Shaopeng
> -Original Message- > From: Chen, Jing D > Sent: Tuesday, June 09, 2015 11:25 AM > To: He, Shaopeng; dev at dpdk.org > Cc: Qiu, Michael > Subject: RE: [PATCH 2/3] fm10k: add MAC filter > > Hi, > > > -Original Message- > > From: He, Shaopeng > > Sent: Tuesday, June 02, 2015 10:59

[dpdk-dev] [PATCH 1/3] fm10k: update VLAN filter

2015-06-09 Thread He, Shaopeng
> -Original Message- > From: Chen, Jing D > Sent: Tuesday, June 09, 2015 10:54 AM > To: He, Shaopeng; dev at dpdk.org > Cc: Qiu, Michael > Subject: RE: [PATCH 1/3] fm10k: update VLAN filter > > Hi, > > > -Original Message- > > From: He, Shaopeng > > Sent: Tuesday, June 02, 2015 10

[dpdk-dev] [PATCH] vhost: enable live migration

2015-06-09 Thread Long, Thomas
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, June 4, 2015 2:00 PM > To: Xie, Huawei > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vhost: enable live migration > 2015-06-01 04:47, Ouyang, Changchun: > > From: d

[dpdk-dev] [PATCH 00/26] update ixgbe base driver

2015-06-09 Thread Zhang, Helin
Acked-by: Helin Zhang > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, June 5, 2015 1:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 00/26] update ixgbe base driver > > Short summary: > *update copyright and readme > *fix

[dpdk-dev] [PATCH v4 4/7] move rte_eth_dev_check_mq_mode() logic to driver

2015-06-09 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pawel Wodkowski > Sent: Thursday, February 19, 2015 11:55 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/7] move rte_eth_dev_check_mq_mode() > logic to driver > > Function rte_eth_dev_check_mq_mode

[dpdk-dev] [PATCH 0/2] vhost: numa aware allocation of virtio_net device and vhost virt queue

2015-06-09 Thread Long, Thomas
Acked-by: Tommy Long -Original Message- From: Xie, Huawei Sent: Friday, June 5, 2015 4:13 AM To: dev at dpdk.org Cc: Long, Thomas Subject: [PATCH 0/2] vhost: numa aware allocation of virtio_net device and vhost virt queue The virtio_net device and vhost virt queue should be allocated o

[dpdk-dev] [PATCH 3/3] fm10k: update VLAN offload features

2015-06-09 Thread Chen, Jing D
Hi, > -Original Message- > From: He, Shaopeng > Sent: Tuesday, June 02, 2015 10:59 AM > To: dev at dpdk.org > Cc: Chen, Jing D; Qiu, Michael; He, Shaopeng > Subject: [PATCH 3/3] fm10k: update VLAN offload features > > Fm10k PF/VF does not support QinQ; VLAN strip and filter are always on

[dpdk-dev] [PATCH 2/3] fm10k: add MAC filter

2015-06-09 Thread Chen, Jing D
Hi, > -Original Message- > From: He, Shaopeng > Sent: Tuesday, June 02, 2015 10:59 AM > To: dev at dpdk.org > Cc: Chen, Jing D; Qiu, Michael; He, Shaopeng > Subject: [PATCH 2/3] fm10k: add MAC filter > > MAC filter function was newly added, each PF and VF can have up to 64 MAC > addresses

[dpdk-dev] [PATCH 1/3] fm10k: update VLAN filter

2015-06-09 Thread Chen, Jing D
Hi, > -Original Message- > From: He, Shaopeng > Sent: Tuesday, June 02, 2015 10:59 AM > To: dev at dpdk.org > Cc: Chen, Jing D; Qiu, Michael; He, Shaopeng > Subject: [PATCH 1/3] fm10k: update VLAN filter > > VLAN filter was updated to add/delete one static entry in MAC table for each > co