[dpdk-dev] [RESEND PATCH] vhost_user: Make sure that memory map is set before attempting address translation

2016-02-21 Thread Thomas Monjalon
2016-01-13 10:32, Pavel Fedin: > Malfunctioning virtio clients may not send VHOST_USER_SET_MEM_TABLE for > some reason. This causes NULL dereference in qva_to_vva(). > > Signed-off-by: Pavel Fedin > Acked-by: Yuanhan Liu Applied, thanks

[dpdk-dev] [PATCH v2 0/3] fix C++ includes

2016-02-21 Thread Thomas Monjalon
2016-02-16 08:14, Thomas Monjalon: > When trying to build a C++ application, some errors appear from DPDK headers. > 2 libraries are not fixed in this series: > - cmdline > - vhost which includes some not compliant Linux virtio headers > > v2: > - move keep-alive struct out of header > - fix synta

[dpdk-dev] [PATCH] aesni_mb: fix build clean

2016-02-21 Thread Thomas Monjalon
2016-02-19 09:37, Declan Doherty: > On 18/02/16 19:21, Thomas Monjalon wrote: > > The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for > > make clean > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Declan Doherty Applied

[dpdk-dev] [PATCH v9 0/3] Add virtio support for arm/arm64

2016-02-21 Thread Santosh Shukla
v9 patchset to support vfio infrasture for ioport, required for archs example arm64/arm and x86. For virtio inc_vector patch which is not part of v9..its under review, refer [2]. Follow on patch history summary, refer[1] [1] http://comments.gmane.org/gmane.comp.networking.dpdk.devel/32821 [2] h

[dpdk-dev] [PATCH v9 1/3] eal/linux: never check iopl for arm

2016-02-21 Thread Santosh Shukla
iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Signed-off-by: Santosh Shukla Suggested-by: Stephen Hemminger Acked-by: Jan Viktorin Acked-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal

[dpdk-dev] [PATCH v9 2/3] eal/linux: vfio: ignore mapping for ioport region

2016-02-21 Thread Santosh Shukla
vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in vfio/kernel so ignore mmaping for ioport. Signed-off-by: Santosh Shukla Acked-by: Anatoly Burakov --- v9: included anatoly acked-by lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 20 1 file changed,

[dpdk-dev] [PATCH v9 3/3] eal/linux: vfio: add pci ioport support

2016-02-21 Thread Santosh Shukla
Include vfio map/rd/wr support for pci ioport. Signed-off-by: Santosh Shukla Acked-by: Anatoly Burakov Acked-by: David Marchand --- v7: - This is enhancement patch for vfio map/rd/wr, rebased on top of David(s) - "Rework ioport for virtio" patchset. For more information about api, refer patch [

[dpdk-dev] snapshot for 2.2.0 problem?

2016-02-21 Thread Thomas F Herbert
On 2/20/16 7:27 AM, Vincent JARDIN wrote: > Thomas, > >> I am not sure if anyone has noticed yet this but is the dpdk snapshot >> bad today? > > can you check again? Thanks, it was a networking problem. Maybe the shasums could be published along with the snapshots? > > For 2 download: > > $ md5s

[dpdk-dev] [PATCH] enic: fix last packet being not sent bug

2016-02-21 Thread johndale
The last packet of the tx burst function array was not being emitted until the subsequent call. The nic descriptor index was being set to the current tx descriptr instead of one past the the descriptor as required by nic. Signed-off-by: johndale --- drivers/net/enic/base/enic_vnic_wq.h | 6 +++-

[dpdk-dev] [PATCH v2] enic: receive path performance improvements

2016-02-21 Thread johndale
- Simplify and reduce code path length of receive function. - Put most of the fast-path receive funtions in one file. - Reduce the number of posted_index updates (pay attention to rx_free_thresh) - Remove the unneeded container structure around the rq mbuf ring - Prefetch next Mbuf and descriptors

[dpdk-dev] [PATCH v2] enic: fix last packet being not sent bug

2016-02-21 Thread johndale
Oops, forgot sign-off. The last packet of the tx burst function array was not being emitted until the subsequent call. The nic descriptor index was being set to the current tx descriptr instead of one past the the descriptor as required by nic. Signed-off-by: johndale --- drivers/net/enic/base

[dpdk-dev] [PATCH v3] enic: fix last packet being not sent bug

2016-02-21 Thread johndale
The last packet of the tx burst function array was not being emitted until the subsequent call. The nic descriptor index was being set to the current tx descriptr instead of one past the the descriptor as required by nic. Signed-off-by: johndale --- Forgot sign-off, annotated message in wrong sp

[dpdk-dev] [PATCH v3] enic: receive path performance improvements

2016-02-21 Thread johndale
- Simplify and reduce code path length of receive function. - Put most of the fast-path receive funtions in one file. - Reduce the number of posted_index updates (pay attention to rx_free_thresh) - Remove the unneeded container structure around the rq mbuf ring - Prefetch next Mbuf and descriptors