[dpdk-dev] [PATCH] i40e: fix of compile error

2014-10-13 Thread Zhan, Zhaochen
> It fixes the compile error as below on gcc version 4.3.4. > cc1: error: unrecognized command line option "-Wno-unused-but-set- > variable" > > Signed-off-by: Helin Zhang Tested-by: Zhaochen Zhan This patch has been verified on SUSE with gcc4.3.4. It has fixed the compile error related to

[dpdk-dev] [PATCH v4 0/7] Support configuring hash functions

2014-10-13 Thread Zhan, Zhaochen
> These patches mainly support configuring hash functions. Tested-by: Zhaochen Zhan This patch has been verified on three kinds of Fortville NICs. Base commit: 23fcffe8ffaccf8a2901050e7daa4979597141ed CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz OS: Linux fc20 3.11.10-301.fc20.x86_64 GCC:

[dpdk-dev] [PATCH] i40e: fix of compile error

2014-10-13 Thread Zhan, Zhaochen
INSTALL-MAP testpmd.map make[3]: *** [app] Error 2 make[2]: *** [all] Error 2 make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2 make: *** [install] Error 2 > -Original Message- > From: Zhang, Helin > Sent: Monday, October 13, 2014 3:18 PM > To: dev at dpdk.org > Cc: Zhan

[dpdk-dev] [PATCH] eal/bsd: fix core detection

2014-10-08 Thread Zhan, Zhaochen
id coremask > > > > Align bsd to linux: > > - commit f563a372 "eal: fix recording of detected/enabled logical cores" > > - commit 4f04db8b "eal: check coremask against detected lcores" > > > > Reported-by: Zhan, Zhaochen > > Signed-off-by: Da

[dpdk-dev] [PATCH v2 0/3] add i40e RSS support in VF

2014-09-29 Thread Zhan, Zhaochen
Tested-by: Zhaochen Zhan This patch has been verified on KVM virtual environment with 4*10G, 2*40G and 1*40G NICs. The VF is generated by SRIOV. And testpmd should be run on HOST to support testpmd works on VM. The RSS function works well in the testpmd app in VM environment of KVM. Please see

[dpdk-dev] [PATCHv5] librte_acl make it build/work for 'default' target

2014-09-25 Thread Zhan, Zhaochen
Tested-by: Zhaochen Zhan This patch has been verified both on "native" and "default" target. Please see environment information as the following: CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz OS: Linux fc20 3.11.10-301.fc20.x86_64 GCC: 4.8.3 NIC: Intel Niantic 82599

[dpdk-dev] [PATCH 0/5] app/test: unit test to measure cycles per packet

2014-09-03 Thread Zhan, Zhaochen
> It provides unit test to measure cycles/packet in NIC loopback mode. > It simply gives the average cycles of IO used per packet without test > equipment. > When doing the test, make sure the link is UP. Tested-by: Zhaochen Zhan This patch has been verified on ixgbe and it is ready to be

[dpdk-dev] [PATCH] i40e: support xen domain0

2014-08-14 Thread Zhan, Zhaochen
> i40e was failing to run in XEN domain0, as the physical > memory for adminq DMA should be allocated and translated > in a different way for XEN domain0. So > rte_memzone_reserve_bounded() should be used for DMA > memory allocation, and rte_mem_phy2mch() should be used > for DMA memory address

[dpdk-dev] [PATCH v2 0/6] Support configuring hash functions

2014-07-31 Thread Zhan, Zhaochen
> These pathches mainly support configuring hash functions. > In detail, > - It can select Toeplitz or simple XOR hash functions. > - It can configure symmetric hash functions. >* Get/set symmetric hash enable per port. >* Get/set symmetric hash enable per 'PCTYPE'. >* Get/set

[dpdk-dev] [PATCH 0/3] add i40e RSS support in VF

2014-07-31 Thread Zhan, Zhaochen
> As RSS in i40e VF is supported by hardware, these patches enable > it in i40e PMD, and also enable its testing in testpmd. > > Helin Zhang (3): > i40evf: add RSS support in VF > app/testpmd: enable RSS support for i40e > ethdev: improvements for some macro definition in head file

[dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and Linux

2014-07-11 Thread Zhan, Zhaochen
> > This patch set enables clang compilation on FreeBSD and Linux. It > > includes patches to fix a number of compilation errors thrown up by > > clang, and then adds in the appropriate toolchain makefiles and > > compile-time configurations. > > > > This set has been tested with clang v3.3 on

[dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and Linux

2014-07-10 Thread Zhan, Zhaochen
Tested by Zhan, Zhaochen Applying these patches on the dpdk-1.7.0, we verified the compilation on FreeBSD10.0 with Clang 3.3 and Fedora20 with Clang 3.4. We also verified some simple test case (pmd, cmdline, hello_world and timer) on FreeBSD with Clang 3.3. > -Original Message- >

[dpdk-dev] [PATCH] eal: fix build for bsd

2014-07-02 Thread Zhan, Zhaochen
Hi I have tested the patch, it still has a build error although it is different from the previous one. OS: FreeBSD10 == Build lib/librte_pmd_bond CC rte_eth_bond_api.o /root/zzc/dpdk-1.7.0-rc3/lib/librte_pmd_bond/rte_eth_bond_api.c:35:27: fatal error: linux/binfmts.h: No such file or