[dpdk-dev] [PATCH] net/virtio-user: Fix missing brackets in if condition

2016-07-12 Thread Yuanhan Liu
On Tue, Jul 12, 2016 at 11:30:25AM +0200, Maxime Coquelin wrote: > The error is reported using test build script: > > $ scripts/test-build.sh x86_64-native-linuxapp-gcc > ... > drivers/net/virtio/virtio_user_ethdev.c: In function > ?virtio_user_pmd_devinit?: >

[dpdk-dev] [PATCH v2] Memory leak when adding/removing vhost_user ports

2016-07-12 Thread Yuanhan Liu
On Wed, Jul 06, 2016 at 09:08:12PM +0800, Yuanhan Liu wrote: > On Wed, Jul 06, 2016 at 02:24:57PM +0200, Christian Ehrhardt wrote: > > Hi, > > while checking for dpdk 16.07 what backports are accepted in the meantime > > so I > > can drop them I found this particular discussion has been silently

[dpdk-dev] Help: How to read packet statistics from device registers via dpdk PMD?

2016-07-12 Thread Bill Bonaparte
Hi, Jay: My apologies for taking me to get back to you. I tried the sample apps on my environment follow your advice, and I found it works well. so I started to compare the code related to the api between my app and the sample app, I didn't find any significative difference. I

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Ananyev, Konstantin
> > > Hi Juhamatti, > > > > > Hello, > > > > > > > > -Original Message- > > > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > > > > Kuusisaari > > > > > > Sent: Monday, July 11, 2016 11:21 AM > > > > > > To: dev at dpdk.org > > > > > > Subject: [dpdk-dev]

[dpdk-dev] [PATCH] scripts: remove old build option

2016-07-12 Thread Thomas Monjalon
The config option CONFIG_RTE_PCI_CONFIG does not exist anymore. Fixes: 7d619406f31d ("pci: remove deprecated specific config") Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index

[dpdk-dev] [PATCH] scripts: fix libnuma dependency in build test

2016-07-12 Thread Thomas Monjalon
The option CONFIG_RTE_LIBRTE_VHOST_NUMA depends on availability of libnuma in the system. The configuration option DPDK_DEP_NUMA can be set if available for the DPDK_TARGET being built. Fixes: cd31ca579c0d ("scripts: add build tests") Signed-off-by: Thomas Monjalon --- scripts/test-build.sh |

[dpdk-dev] option for IEEE1588

2016-07-12 Thread Thomas Monjalon
Hi all, We have a compile-time option for IEEE1588 feature. It means we must know wether the application will need it before compiling DPDK. Linux distributions must make this choice when packaging. Does it make sense to transform it into a runtime option? Is the performance drawback so big?

[dpdk-dev] [PATCH v2] vhost_user: avoid crash when exeeding file descriptors

2016-07-12 Thread Yuanhan Liu
On Wed, Jul 06, 2016 at 02:24:58PM +0200, Christian Ehrhardt wrote: > *update in v2* > - refreshing for DPDK 16.07 > - Close fd on vserver->listenfd as suggested in discussion > > Original From: > From: Patrik Andersson > > Protect against DPDK crash when allocation of listen fd >= 1023. > For

[dpdk-dev] [RFC] vhost: Add indirect descriptors support to the TX path

2016-07-12 Thread Maxime Coquelin
Indirect descriptors are usually supported by virtio-net devices, allowing to dispatch a large number of large requests. When the virtio device sends a packet using indirect descriptors, only one slot is used in the ring, even for large packets. Signed-off-by: Maxime Coquelin --- I have a two

[dpdk-dev] [PATCH] doc: grammatical fix in EAL docs

2016-07-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shreyansh Jain > Sent: Tuesday, July 12, 2016 10:28 AM > To: david.marchand at 6wind.com > Cc: dev at dpdk.org; thomas.monjalon at 6wind.com > Subject: [dpdk-dev] [PATCH] doc: grammatical fix in EAL docs > >

[dpdk-dev] [PATCH] doc: fix consumer/producer mixup in Ring lib doc

2016-07-12 Thread Shreyansh Jain
Signed-off-by: Shreyansh Jain --- doc/guides/prog_guide/ring_lib.rst | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/guides/prog_guide/ring_lib.rst b/doc/guides/prog_guide/ring_lib.rst index 3b92a8f..5cf4ce2 100644 ---

[dpdk-dev] [PATCH] doc: grammatical fix in EAL docs

2016-07-12 Thread Shreyansh Jain
Signed-off-by: Shreyansh Jain --- doc/guides/prog_guide/env_abstraction_layer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst b/doc/guides/prog_guide/env_abstraction_layer.rst index 4b9895e..10a10a8 100644 ---

[dpdk-dev] [PATCH 0/2] doc: live migration procedure with vhost_user

2016-07-12 Thread Yuanhan Liu
On Mon, Jul 11, 2016 at 04:05:17PM +0100, Bernard Iremonger wrote: > This patchset describes the procedure to Live migrate a VM with > Virtio PMD's with the vhost_user sample application (vhost-switch) > running on the host. > > Bernard Iremonger (2): > doc: live migration of VM with vhost_user

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Thomas Monjalon
Hi, 2016-07-12 11:35, Raslan Darawsheh: > I think the option is there as you see: > [...] > -Wl,--as-needed -Wl,-lrt -Wl,-lm |...] -Wl,-lrte_eal [...] > eal_timer.c:(.text+0x152): undefined reference to `clock_gettime' I suspect we need -lrt after -lrte_eal. Please could you try the following

[dpdk-dev] [PATCH v1 28/28] ether: support SoC device/driver

2016-07-12 Thread Shreyansh jain
Hi Jan, On Monday 04 July 2016 08:06 PM, Jan Viktorin wrote: > On Mon, 4 Jul 2016 19:57:18 +0530 > Shreyansh jain wrote: > > [...] > > @@ -1431,7 +1524,7 @@ rte_eth_dev_info_get(uint8_t port_id, struct > rte_eth_dev_info *dev_info) > >

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix inbound segfault

2016-07-12 Thread Sergio Gonzalez Monroy
When sending Inbound non IPSec traffic that matches an Inbound Security Policy set to Protect, the code will check that the SPI of the packet and the associated Security Association match. That check should only be done for IPSec packets and results in SEGFAULT when done on non IPSec packets.

[dpdk-dev] [PATCH] mk: fix default rule of test subdirectory

2016-07-12 Thread Thomas Monjalon
> 2016-07-12 11:16, Pattan, Reshma: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > Note that make app/test_sub (without environment variable) is preffered. > > > > What is test_sub here? I could not execute the command make > > app/test_sub(without environment

[dpdk-dev] mutli process C/S model example init failed on xen dom0 with dpdk-16.07 rc2 package

2016-07-12 Thread Olivier MATZ
Hi Huilong, On 07/12/2016 11:22 AM, Xu, HuilongX wrote: > Hi all, > > I run mutli procee C/S model example failed on xen dom0. Does anyone > give me some suggest how to debug it? > > Thanks a lot > > test environment: > >OS: 3.17.4-301.fc21.x86_64 > > Gcc version: gcc version 4.9.2

[dpdk-dev] [PATCH v1 28/28] ether: support SoC device/driver

2016-07-12 Thread Jan Viktorin
On Tue, 12 Jul 2016 14:15:17 +0530 Shreyansh jain wrote: > Hi Jan, > > On Monday 04 July 2016 08:06 PM, Jan Viktorin wrote: > > On Mon, 4 Jul 2016 19:57:18 +0530 > > Shreyansh jain wrote: > > > > [...] > > > > @@ -1431,7 +1524,7 @@ rte_eth_dev_info_get(uint8_t port_id, struct > >

[dpdk-dev] [PATCH] net/enic: fix Tx and Rx queue stop and start

2016-07-12 Thread John Daley
The exported device start and stop functions where not setting the queue states to RTE_ETH_QUEUE_STATE_STARTED and RTE_ETH_QUEUE_STATE_STOPPED. After starting the device, the RTE queue stop function would not call the enic queue stop function since queue was already marked as stopped. Put queue

[dpdk-dev] [PATCH] mk: fix default rule of test subdirectory

2016-07-12 Thread Thomas Monjalon
When using "make -C app/test" (with RTE_SDK/RTE_TARGET adjusted) without specifying the rule (all), the build is not done. Indeed the default rule is not "all" anymore since there are some rules added for external resources link. It is fixed by adding a reference to "all" at the top of the file

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Christian Ehrhardt
Hi, checking "man clock_gettime" I see: "Link with -lrt (only for glibc versions before 2.17)." RH 6.7 is at glibc 2.12, I haven't check the build, but you might easily run the make with V=1 and see the call. Check if it contains -lrt for the linking step. Christian Ehrhardt Software

[dpdk-dev] [PATCH] net/virtio-user: Fix missing brackets in if condition

2016-07-12 Thread Maxime Coquelin
On 07/12/2016 11:35 AM, Thomas Monjalon wrote: > Hi, > > 2016-07-12 11:30, Maxime Coquelin: >> The error is reported using test build script: >> >> $ scripts/test-build.sh x86_64-native-linuxapp-gcc >> ... >> drivers/net/virtio/virtio_user_ethdev.c: In function >> ?virtio_user_pmd_devinit?: >>

[dpdk-dev] [PATCH] net/virtio-user: Fix missing brackets in if condition

2016-07-12 Thread Thomas Monjalon
Hi, 2016-07-12 11:30, Maxime Coquelin: > The error is reported using test build script: > > $ scripts/test-build.sh x86_64-native-linuxapp-gcc > ... > drivers/net/virtio/virtio_user_ethdev.c: In function > ?virtio_user_pmd_devinit?: > drivers/net/virtio/virtio_user_ethdev.c:345:2: error: this

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Raslan Darawsheh
I think the option is there as you see: == Build app/test gcc -m64 -pthread -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_MACHINE_CPUFLAG_AES

[dpdk-dev] DPDK on Xen maintenance

2016-07-12 Thread Thomas Monjalon
Hi all, We are facing some issues with Xen dom0. Some were fixed in RC2: http://dpdk.org/ml/archives/dev/2016-July/043760.html and there still have some other issues. It seems Xen is becoming less attractive: - we do not have a lot of test reports or feedbacks - there is

[dpdk-dev] [PATCH v6 17/17] ethdev: get rid of device type

2016-07-12 Thread Shreyansh Jain
Now that hotplug has been moved to eal, there is no reason to keep the device type in this layer. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- app/test/virtual_pmd.c| 2 +- drivers/net/af_packet/rte_eth_af_packet.c | 2 +-

[dpdk-dev] [PATCH v6 16/17] ethdev: convert to eal hotplug

2016-07-12 Thread Shreyansh Jain
Remove bus logic from ethdev hotplug by using eal for this. Current api is preserved: - the last port that has been created is tracked to return it to the application when attaching, - the internal device name is reused when detaching. We can not get rid of ethdev hotplug yet since we still

[dpdk-dev] [PATCH v6 15/17] eal: add hotplug operations for pci and vdev

2016-07-12 Thread Shreyansh Jain
Hotplug which deals with resources should come from the layer that already handles them, i.e. EAL. For both attach and detach operations, 'name' is used to select the bus that will handle the request. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain ---

[dpdk-dev] [PATCH v6 14/17] ethdev: do not scan all pci devices on attach

2016-07-12 Thread Shreyansh Jain
No need to scan all devices, we only need to update the device being attached. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_eal/common/eal_common_pci.c | 11 --- lib/librte_ether/rte_ethdev.c | 3 --- 2 files changed, 8 insertions(+), 6

[dpdk-dev] [PATCH v6 13/17] pci: add a helper to update a device

2016-07-12 Thread Shreyansh Jain
This helper updates a pci device object with latest information it can find. It will be used mainly for hotplug code. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_eal/bsdapp/eal/eal_pci.c | 49 +

[dpdk-dev] [PATCH v6 12/17] pci: add a helper for device name

2016-07-12 Thread Shreyansh Jain
eal is a better place than crypto / ethdev for naming resources. Add a helper in eal and make use of it in crypto / ethdev. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_cryptodev/rte_cryptodev.c| 27 ---

[dpdk-dev] [PATCH v6 11/17] eal/linux: move back interrupt thread init before setting affinity

2016-07-12 Thread Shreyansh Jain
Now that virtio pci driver is initialized in a constructor, iopl() stuff happens early enough so that interrupt thread can be created right after plugin loading. This way, chelsio driver should be happy again [1]. [1] http://dpdk.org/ml/archives/dev/2015-November/028289.html Signed-off-by: David

[dpdk-dev] [PATCH v6 10/17] ethdev: get rid of eth driver register callback

2016-07-12 Thread Shreyansh Jain
Now that all pdev are pci drivers, we don't need to register ethdev drivers through a dedicated channel. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_ether/rte_ethdev.c | 22 -- lib/librte_ether/rte_ethdev.h | 12

[dpdk-dev] [PATCH v6 09/17] crypto: get rid of crypto driver register callback

2016-07-12 Thread Shreyansh Jain
Now that all pdev are pci drivers, we don't need to register crypto drivers through a dedicated channel. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_cryptodev/rte_cryptodev.c | 22 --- lib/librte_cryptodev/rte_cryptodev_pmd.h | 30

[dpdk-dev] [PATCH v6 08/17] drivers: convert all pdev drivers as pci drivers

2016-07-12 Thread Shreyansh Jain
Simplify crypto and ethdev pci drivers init by using newly introduced init macros and helpers. Those drivers then don't need to register as "rte_driver"s anymore. Exceptions: - virtio and mlx* use RTE_INIT directly as they have custom initialization steps. - VDEV devices are not modified - they

[dpdk-dev] [PATCH v6 07/17] ethdev: export init/uninit common wrappers for pci drivers

2016-07-12 Thread Shreyansh Jain
Preparing for getting rid of eth_drv, here are two wrappers that can be used by pci drivers that assume a 1 to 1 association between pci resource and upper interface. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_ether/rte_ethdev.c | 14 +++---

[dpdk-dev] [PATCH v6 06/17] crypto: export init/uninit common wrappers for pci drivers

2016-07-12 Thread Shreyansh Jain
Preparing for getting rid of rte_cryptodev_driver, here are two wrappers that can be used by pci drivers that assume a 1 to 1 association between pci resource and upper interface. Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain --- lib/librte_cryptodev/rte_cryptodev.c |

[dpdk-dev] [PATCH v6 05/17] eal: introduce init macros

2016-07-12 Thread Shreyansh Jain
Introduce a RTE_INIT macro used to mark an init function as a constructor. Current eal macros have been converted to use this (no functional impact). DRIVER_REGISTER_PCI is added as a helper for pci drivers. Suggested-by: Jan Viktorin Signed-off-by: David Marchand Signed-off-by: Shreyansh Jain

[dpdk-dev] [PATCH v6 04/17] eal: remove duplicate function declaration

2016-07-12 Thread Shreyansh Jain
rte_eal_dev_init is declared in both eal_private.h and rte_dev.h since its introduction. This function has been exported in ABI, so remove it from eal_private.h Fixes: e57f20e05177 ("eal: make vdev init path generic for both virtual and pci devices") Signed-off-by: David Marchand Signed-off-by:

[dpdk-dev] [PATCH v6 00/17] Prepare for rte_device / rte_driver

2016-07-12 Thread Shreyansh Jain
* Original patch series is from David Marchand [1], [2]. * Link with patch series [4] from Jan Viktorin for a more complete picture of proposed EAL device heirarchy changes. * This might not be in-sync with pmdinfogen as PMD_REGISTER_DRIVER is removed [7]. David created the original patchset

[dpdk-dev] [PATCH] net/virtio-user: Fix missing brackets in if condition

2016-07-12 Thread Maxime Coquelin
The error is reported using test build script: $ scripts/test-build.sh x86_64-native-linuxapp-gcc ... drivers/net/virtio/virtio_user_ethdev.c: In function ?virtio_user_pmd_devinit?: drivers/net/virtio/virtio_user_ethdev.c:345:2: error: this ?if? clause does not guard...

[dpdk-dev] [PATCH] mk: fix default rule of test subdirectory

2016-07-12 Thread Pattan, Reshma
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, July 12, 2016 11:22 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: fix default rule of test subdirectory > > When using "make -C app/test" (with

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Ananyev, Konstantin
Hi Juhamatti, > > Hello, > > > > > > -Original Message- > > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > > > Kuusisaari > > > > > Sent: Monday, July 11, 2016 11:21 AM > > > > > To: dev at dpdk.org > > > > > Subject: [dpdk-dev] [PATCH] lib: move rte_ring

[dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add sample configuration files

2016-07-12 Thread Fan Zhang
This patch adds two sample configuration files to ipsec-secgw sample application. The sample configuration files shows how to set-up systems back-to-back that would forward traffic through an IPsec tunnel. Signed-off-by: Fan Zhang --- examples/ipsec-secgw/ep0.cfg | 119

[dpdk-dev] [PATCH v3 1/2] examples/ipsec-secgw: add configuration file support

2016-07-12 Thread Fan Zhang
This patch adds the configuration file support to ipsec_secgw sample application. Instead of hard-coded rules, the users can specify their own SP, SA, and routing rules in the configuration file. An command line option "-f" is added to pass the configuration file location to the application.

[dpdk-dev] [PATCH v3 0/2] examples/ipsec_secgw: add configuration file support

2016-07-12 Thread Fan Zhang
This patchset adds the configuration file supported to ipsec_secgw sample application. Two sample configuration files, ep0.cfg and ep1.cfg are also added to show how to configure two systems back-to-back that would forward traffic through an IPsec tunnel v3 change: - fix 32-bit compilation error

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-07-12 Thread Yuanhan Liu
On Mon, Jul 11, 2016 at 02:47:56PM +0300, Ilya Maximets wrote: > On 11.07.2016 14:05, Yuanhan Liu wrote: > > On Mon, Jul 11, 2016 at 12:50:24PM +0300, Ilya Maximets wrote: > >> On 11.07.2016 11:38, Yuanhan Liu wrote: > >>> On Sun, Jul 10, 2016 at 09:17:31PM +0800, Yuanhan Liu wrote: > On Fri,

[dpdk-dev] Compiling DPDK is not working on Red Hat 6.7

2016-07-12 Thread Raslan Darawsheh
Hi, When trying to compile DPDK on Red Hat Enterprise Linux Server release 6.7 (Santiago) it fails to compile. This is the compilation error that is being seen: LD test /download/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_timer.o): In function `get_tsc_freq':

[dpdk-dev] [PATCH 10/10] bnx2x: Merge debug register operations into headers

2016-07-12 Thread Chas Williams
The register read/writes should just be static inline instead of alternately defined as routines or macros depending on the status of debugging. Fix bnx2x_reg_read32() returning 0 during debug unaligned reads. Fixes: b5bf7719221d ("bnx2x: driver support routines") Signed-off-by: Chas Williams

[dpdk-dev] [PATCH 09/10] bnx2x: Don't return structs

2016-07-12 Thread Chas Williams
bnx2x_loop_obtain_resources() returns a struct. This routine either succeeds or fails -- We don't need a struct for that. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x_vfpf.c | 51

[dpdk-dev] [PATCH 08/10] bnx2x: Check return codes during VF mailbox operation

2016-07-12 Thread Chas Williams
Refactor bnx2x_do_req4pf() to be easier to read and return errors when the transaction fails -- Previously, it could succeed when the control channel was down. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x_vfpf.c | 110

[dpdk-dev] [PATCH 07/10] bnx2x: Serialize access to pf2vf mailbox

2016-07-12 Thread Chas Williams
The pf2vf mailbox can only be used by one thread at a time. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x.h| 12 +++-- drivers/net/bnx2x/bnx2x_ethdev.c | 2 + drivers/net/bnx2x/bnx2x_vfpf.c | 113

[dpdk-dev] [PATCH 06/10] bnx2x: Replace macro with static function

2016-07-12 Thread Chas Williams
Replace BNX2X_TLV_APPEND() with the clearer and safer bnx2x_add_tlv(). bnx2x_add_tlv() was previously prototyped at some point but can be static. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x_vfpf.c | 80

[dpdk-dev] [PATCH 05/10] bnx2x: Restrict RX mask flags sent to the PF

2016-07-12 Thread Chas Williams
Don't use bnx2x_fill_accept_flags() to fill the RX mask in the VF since the PF only handles a subset of the existing flags. now, bnx2x_fill_accept_flags() can be static. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x.c

[dpdk-dev] [PATCH 04/10] bnx2x: Remove unused RX queue code

2016-07-12 Thread Chas Williams
Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x_rxtx.c | 13 +++-- drivers/net/bnx2x/bnx2x_rxtx.h | 6 -- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c

[dpdk-dev] [PATCH 03/10] bnx2x: Remove delay during device startup

2016-07-12 Thread Chas Williams
This 2.5s delay doesn't seem to serve any purpose other than a being a pause after logging the device configuration. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff

[dpdk-dev] [PATCH 02/10] bnx2x: Remove unused preprocessor symbols and code

2016-07-12 Thread Chas Williams
ELINK_INCLUDE_EMUL and ELINK_INCLUDE_FPGA are never defined. Remove them along with enumeration constants dependent on their inclusion. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Chas Williams <3chas3 at gmail.com> --- drivers/net/bnx2x/bnx2x.c | 28

[dpdk-dev] mutli process C/S model example init failed on xen dom0 with dpdk-16.07 rc2 package

2016-07-12 Thread Xu, HuilongX
Hi all, I run mutli procee C/S model example failed on xen dom0. Does anyone give me some suggest how to debug it? Thanks a lot test environment: OS: 3.17.4-301.fc21.x86_64 Gcc version: gcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC) Package :dpdk.16.07-rc1.tar.gz Target:

[dpdk-dev] No RX frames on Intel 82599 VF

2016-07-12 Thread Garik E
On Tue, Jul 12, 2016 at 7:48 AM, Garik E wrote: > Hi, > > On the S2600WT2 server, when DPDK is bound to VF, there is no incoming > traffic. > But when the same VF is bound to ixgbevf driver and configured as Linux > interface, > it works normally. I was able to run ping and ssh through that VF.

[dpdk-dev] [PATCH] vhost: fix segfault on bad descriptor address.

2016-07-12 Thread Ilya Maximets
On 12.07.2016 05:43, Yuanhan Liu wrote: > On Mon, Jul 11, 2016 at 02:47:56PM +0300, Ilya Maximets wrote: >> On 11.07.2016 14:05, Yuanhan Liu wrote: >>> On Mon, Jul 11, 2016 at 12:50:24PM +0300, Ilya Maximets wrote: On 11.07.2016 11:38, Yuanhan Liu wrote: > On Sun, Jul 10, 2016 at

[dpdk-dev] No RX frames on Intel 82599 VF

2016-07-12 Thread Lu, Wenzhuo
From: Garik E [mailto:kira...@gmail.com] Sent: Tuesday, July 12, 2016 12:48 PM To: Lu, Wenzhuo Cc: dev at dpdk.org Subject: Re: [dpdk-dev] No RX frames on Intel 82599 VF Hi, On the S2600WT2 server, when DPDK is bound to VF, there is no incoming traffic. But when the same VF is bound to ixgbevf

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Kuusisaari, Juhamatti
Hello, > > > > -Original Message- > > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > > > > Kuusisaari > > > > Sent: Monday, July 11, 2016 11:21 AM > > > > To: dev at dpdk.org > > > > Subject: [dpdk-dev] [PATCH] lib: move rte_ring read barrier to > > > > correct

[dpdk-dev] [PATCH] lib: move rte_ring read barrier to correct location

2016-07-12 Thread Kuusisaari, Juhamatti
Hello, > >>> -Original Message- > >>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Juhamatti > >>> Kuusisaari > >>> Sent: Monday, July 11, 2016 11:21 AM > >>> To: dev at dpdk.org > >>> Subject: [dpdk-dev] [PATCH] lib: move rte_ring read barrier to > >>> correct location > >>> >

[dpdk-dev] [PATCH] ethdev: ensure consistent port id assignment

2016-07-12 Thread Tootoonchian, Amin
The rte_eth_dev_allocate() code has an implicit assumption that the port id assignment in the secondary process is consistent with that of the primary. The current code breaks if the enumeration of ethdevs in primary and secondary processes are not identical (e.g., when the black/whitelist and

[dpdk-dev] No RX frames on Intel 82599 VF

2016-07-12 Thread Lu, Wenzhuo
Hi Garik, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Garik E > Sent: Tuesday, July 12, 2016 2:22 AM > To: dev at dpdk.org > Subject: [dpdk-dev] No RX frames on Intel 82599 VF > > Hello, > > > I have two Intel servers S2600WTTR and S2600WT2 both with

[dpdk-dev] [PATCH v6 0/4] support reset of VF link

2016-07-12 Thread Lu, Wenzhuo
> -Original Message- > From: Luca Boccassi [mailto:lboccass at Brocade.com] > Sent: Monday, July 11, 2016 11:43 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 0/4] support reset of VF link > > On Mon, 2016-07-11 at 13:02 +0100, Luca Boccassi wrote: > > On

[dpdk-dev] [PATCH 0/4] fix mempool creation with Xen Dom0

2016-07-12 Thread Chen, WeichunX
Add huilong -Original Message- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: Tuesday, July 12, 2016 1:10 AM To: Olivier Matz Cc: dev at dpdk.org; Xu, HuilongX ; Cao, Waterman ; Liu, Yuanhan ; Chen, WeichunX ; Liu, Yu Y Subject: Re: [PATCH 0/4] fix mempool creation