[dpdk-dev] [PATCH] MAINTAINERS: claim i40e and KNI

2015-02-09 Thread Helin Zhang
Claim i40e and KNI modules. Signed-off-by: Helin Zhang --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9a63714..60d283b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -174,6 +174,7 @@ F: doc/guides/prog_guide

[dpdk-dev] [PATCH v2 00/15] unified packet type

2015-02-09 Thread Helin Zhang
rte_kni_mbuf' for KNI according to the mbuf changes. * Used redefined packet types and enlarged packet_type field for all PMDs and corresponding applications. * Removed changes in bond and its relevant application, as there is no need at all according to the recent bond changes. Helin Zhang (15

[dpdk-dev] [PATCH v2 01/15] mbuf: add definitions of unified packet types

2015-02-09 Thread Helin Zhang
and inner L3 type fields, and can be stored in mbuf field of 'packet_type' which is modified from 16 bits to 32 bits in mbuf structure. Accordingly, the structure of 'rte_kni_mbuf' needs to be modifed as well. Signed-off-by: Helin Zhang Signed-off-by: Cunming Liang Signed-off-by: Jijiang Liu

[dpdk-dev] [PATCH v2 02/15] e1000: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_e1000/igb_rxtx.c | 98 ++--- 1 file changed, 83 insertions(+), 15 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v2 03/15] ixgbe: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Note that around 2.5% performance drop (64B) was observed of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Helin Zhang --- lib

[dpdk-dev] [PATCH v2 04/15] ixgbe: support of unified packet type for vector

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Note that around 2% performance drop (64B) was observed of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Cunming Liang Signed-off-by: Helin

[dpdk-dev] [PATCH v2 05/15] i40e: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_rxtx.c | 786 ++-- 1 file changed, 512 insertions(+), 274 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v2 07/15] vmxnet3: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v2 09/15] app/test: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 6 +++--- app/test-pmd/rxonly.c | 9 +++-- 2 files

[dpdk-dev] [PATCH v2 10/15] examples/ip_fragmentation: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/ip_fragmentation/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes

[dpdk-dev] [PATCH v2 11/15] examples/ip_reassembly: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/ip_reassembly/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v2 12/15] examples/l3fwd-acl: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/l3fwd-acl/main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) v2

[dpdk-dev] [PATCH v2 14/15] examples/l3fwd: support of unified packet type

2015-02-09 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c | 64 --- 1 file changed, 35 insertions

[dpdk-dev] [PATCH v2 15/15] mbuf: remove old packet type bit masks

2015-02-09 Thread Helin Zhang
As unified packet types are used instead, those old bit masks and the relevant macros for packet type indication need to be removed. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.c | 6 -- lib/librte_mbuf/rte_mbuf.h | 14 -- 2 files changed, 4 insertions(+), 16

[dpdk-dev] [PULL REQUEST] i40e: Performance workaround for XL710, enable

2015-02-15 Thread Helin Zhang
to 2f88e48bb4aaab118edf9344e895bf6bf2dd92bd: i40e: enable internal switch of pf (2015-02-15 01:39:43 -0500) Helin Zhang (1): i40e: workaround for XL710 performance Jingjing Wu (2): i40e: fix the bug when configuring vsi i40e: enable internal

[dpdk-dev] [PATCH v3 00/16] unified packet type

2015-02-17 Thread Helin Zhang
and enhancements in l3fwd example. Helin Zhang (16): mbuf: redefinition of packet_type in rte_mbuf ixgbe: support of unified packet type for vector mbuf: add definitions of unified packet types e1000: support of unified packet type ixgbe: support of unified packet type i40e: support

[dpdk-dev] [PATCH v3 02/16] ixgbe: support of unified packet type for vector

2015-02-17 Thread Helin Zhang
core. Signed-off-by: Cunming Liang Signed-off-by: Helin Zhang --- config/common_linuxapp| 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 49 +++ 2 files changed, 27 insertions(+), 24 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v3 04/16] e1000: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_e1000/igb_rxtx.c | 98 ++--- 1 file changed, 83 insertions(+), 15 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v3 03/16] mbuf: add definitions of unified packet types

2015-02-17 Thread Helin Zhang
type, inner L2 type, inner L3 type and inner L4 type fields, and can be stored in 'struct rte_mbuf' of 32 bits field 'packet_type'. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.h | 90 ++ 1 file changed, 90 insertions(+) v3 changes: * Put

[dpdk-dev] [PATCH v3 06/16] i40e: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_rxtx.c | 786 ++-- 1 file changed, 512 insertions(+), 274 deletions(-) v2 changes

[dpdk-dev] [PATCH v3 07/16] enic: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_enic/enic_main.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v3 09/16] app/test-pipeline: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- app/test-pipeline/pipeline_hash.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v3 10/16] app/testpmd: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 10 +- app/test-pmd/rxonly.c | 9 +++-- 2 files changed, 8 insertions(+), 11

[dpdk-dev] [PATCH v3 11/16] examples/ip_fragmentation: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/ip_fragmentation/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v3 14/16] examples/l3fwd-power: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/l3fwd-power/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v3 16/16] mbuf: remove old packet type bit masks

2015-02-17 Thread Helin Zhang
As unified packet types are used instead, those old bit masks and the relevant macros for packet type indication need to be removed. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.c | 6 -- lib/librte_mbuf/rte_mbuf.h | 14 -- 2 files changed, 4 insertions(+), 16

[dpdk-dev] [PATCH v3 08/16] vmxnet3: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v3 05/16] ixgbe: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet type among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Note that around 2.5% performance drop (64B) was observed of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Helin Zhang --- lib

[dpdk-dev] [PATCH v3 15/16] examples/l3fwd: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c | 71 +-- 1 file changed, 40 insertions(+), 31 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v3 12/16] examples/ip_reassembly: support of unified packet type

2015-02-17 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/ip_reassembly/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v4 00/18] unified packet type

2015-02-27 Thread Helin Zhang
unification from app/test/packet_burst_generator.c. Helin Zhang (18): mbuf: redefinition of packet_type in rte_mbuf ixgbe: support of unified packet type for vector mbuf: add definitions of unified packet types e1000: support of unified packet type ixgbe: support of unified packet type

[dpdk-dev] [PATCH v4 04/18] e1000: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_e1000/igb_rxtx.c | 98 ++--- 1 file changed, 83 insertions(+), 15 deletions(-) v2 changes: * Used

[dpdk-dev] [PATCH v4 05/18] ixgbe: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet type among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Note that around 2.5% performance drop (64B) was observed of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Helin Zhang --- lib

[dpdk-dev] [PATCH v4 02/18] ixgbe: support of unified packet type for vector

2015-02-27 Thread Helin Zhang
core. Signed-off-by: Cunming Liang Signed-off-by: Helin Zhang --- config/common_linuxapp| 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 49 +++ 2 files changed, 27 insertions(+), 24 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v4 07/18] enic: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_enic/enic_main.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v4 12/18] app/test: Remove useless code

2015-02-27 Thread Helin Zhang
Severl useless code lines are added accidenly, which blocks packet type unification. They should be deleted at all. Signed-off-by: Helin Zhang --- app/test/packet_burst_generator.c | 10 -- 1 file changed, 10 deletions(-) v4 changes: * Removed several useless code lines which block

[dpdk-dev] [PATCH v4 15/18] examples/l3fwd-acl: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/l3fwd-acl/main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v4 03/18] mbuf: add definitions of unified packet types

2015-02-27 Thread Helin Zhang
type, inner L2 type, inner L3 type and inner L4 type fields, and can be stored in 'struct rte_mbuf' of 32 bits field 'packet_type'. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.h | 253 + 1 file changed, 253 insertions(+) v3 changes: * Put

[dpdk-dev] [PATCH v4 09/18] fm10k: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_fm10k/fm10k_rxtx.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) v4 changes: * Supported

[dpdk-dev] [PATCH v4 06/18] i40e: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_rxtx.c | 786 ++-- 1 file changed, 512 insertions(+), 274 deletions(-) v2 changes

[dpdk-dev] [PATCH v4 18/18] mbuf: remove old packet type bit masks

2015-02-27 Thread Helin Zhang
As unified packet types are used instead, those old bit masks and the relevant macros for packet type indication need to be removed. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.c | 6 -- lib/librte_mbuf/rte_mbuf.h | 14 -- 2 files changed, 4 insertions(+), 16

[dpdk-dev] [PATCH v4 08/18] vmxnet3: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang Acked-by: Yong Wang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) v2 changes: * Used redefined

[dpdk-dev] [PATCH v4 10/18] app/test-pipeline: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- app/test-pipeline/pipeline_hash.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) v2 changes: * Used redefined packet types

[dpdk-dev] [PATCH v4 16/18] examples/l3fwd-power: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/l3fwd-power/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v4 13/18] examples/ip_fragmentation: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/ip_fragmentation/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v4 14/18] examples/ip_reassembly: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/ip_reassembly/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) v2 changes: * Used redefined packet types and enlarged

[dpdk-dev] [PATCH v4 17/18] examples/l3fwd: support of unified packet type

2015-02-27 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c | 71 +-- 1 file changed, 40 insertions(+), 31 deletions(-) v2 changes: * Used

[dpdk-dev] [RFC 00/17] unified packet type

2015-01-19 Thread Helin Zhang
types and L4 types. All PMDs should translate the offloaded packet types into this 4 fields of information, for user applications. As the changes affect all PMDs, mbuf and ethdev library, comments and ideas are welcome! Helin Zhang (17): mbuf: add definitions of unified packet types e1000

[dpdk-dev] [RFC 01/17] mbuf: add definitions of unified packet types

2015-01-19 Thread Helin Zhang
and inner L3 type fields, and can be stored in 16 bits mbuf field of 'packet_type'. Signed-off-by: Helin Zhang Signed-off-by: Cunming Liang Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h | 68 ++ 1 file changed, 68 insertions(+) diff --git a/lib

[dpdk-dev] [RFC 02/17] e1000: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_e1000/igb_rxtx.c | 95 ++--- 1 file changed, 80 insertions(+), 15 deletions(-) diff --git a/lib

[dpdk-dev] [RFC 03/17] ixgbe: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 141 +- 1 file changed, 107 insertions(+), 34 deletions(-) diff --git a/lib

[dpdk-dev] [RFC 04/17] ixgbe: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type for Vector PMD. Signed-off-by: Cunming Liang Signed-off-by: Helin Zhang --- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 39 +++ 1 file changed, 21

[dpdk-dev] [RFC 05/17] i40e: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_rxtx.c | 778 ++-- 1 file changed, 504 insertions(+), 274

[dpdk-dev] [RFC 07/17] enic: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_enic/enic_main.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/librte_pmd_enic/enic_main.c b

[dpdk-dev] [RFC 06/17] bond: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_bond

[dpdk-dev] [RFC 10/17] app/test-pmd: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- app/test-pmd/csumonly.c | 6 +++--- app/test-pmd/rxonly.c | 9 +++-- 2 files changed, 6 insertions(+), 9

[dpdk-dev] [RFC 08/17] vmxnet3: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for ol_flags are replaced by unified packet type. Signed-off-by: Helin Zhang --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b

[dpdk-dev] [RFC 09/17] app/test-pipeline: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- app/test-pipeline/pipeline_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app

[dpdk-dev] [RFC 12/17] examples/ip_fragmentation: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/ip_fragmentation/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [RFC 11/17] app/test: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- app/test/packet_burst_generator.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[dpdk-dev] [RFC 13/17] examples/ip_reassembly: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/ip_reassembly/main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[dpdk-dev] [RFC 14/17] examples/l3fwd-acl: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/l3fwd-acl/main.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff

[dpdk-dev] [RFC 15/17] examples/l3fwd-power: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/l3fwd-power/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples

[dpdk-dev] [RFC 16/17] examples/l3fwd: support of unified packet type

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c | 64 +-- 1 file changed, 37 insertions

[dpdk-dev] [RFC 17/17] mbuf: remove old packet type bit masks for ol_flags

2015-01-19 Thread Helin Zhang
To unify packet types among all PMDs, bit masks and relevant macros of packet type for ol_flags are replaced by unified packet type and relevant macros. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.c | 6 -- lib/librte_mbuf/rte_mbuf.h | 10 ++ 2 files changed, 2

[dpdk-dev] [PATCH 0/7] unification of flow types and RSS offload types

2015-01-19 Thread Helin Zhang
, it enables new RSS offloads of 'tcp' and 'all' in testpmd. Helin Zhang (7): app/test-pmd: code style fix ethdev: code style fix i40e: code style fix ethdev: fix of calculating the size of flow type mask array ethdev: unification of flow types ethdev: unification of RSS offload types app

[dpdk-dev] [PATCH 1/7] app/test-pmd: code style fix

2015-01-19 Thread Helin Zhang
Added code style fixes. Signed-off-by: Helin Zhang --- app/test-pmd/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 97b6525..87dedf9 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1918,11

[dpdk-dev] [PATCH 2/7] ethdev: code style fix

2015-01-19 Thread Helin Zhang
Added code style fixes. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_eth_ctrl.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 5d9c387..4308eae 100644 --- a/lib

[dpdk-dev] [PATCH 3/7] i40e: code style fix

2015-01-19 Thread Helin Zhang
Added code style fixes. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_fdir.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_fdir.c b/lib/librte_pmd_i40e/i40e_fdir.c index 68511c8..c9e535b 100644 --- a/lib/librte_pmd_i40e/i40e_fdir.c

[dpdk-dev] [PATCH 4/7] ethdev: fix of calculating the size of flow type mask array

2015-01-19 Thread Helin Zhang
It wrongly calculates the size of the flow type mask array. The fix is to align the flow type maximum index ID with the number of element bit width, and then divide the number of element bit width. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_eth_ctrl.h | 6 +- 1 file changed, 5

[dpdk-dev] [PATCH 5/7] ethdev: unification of flow types

2015-01-19 Thread Helin Zhang
are made in i40e and testpmd accordingly. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c| 88 --- app/test-pmd/config.c | 71 +-- lib/librte_ether/rte_eth_ctrl.h | 55 ++-- lib

[dpdk-dev] [PATCH 7/7] app/testpmd: support new rss offloads

2015-01-19 Thread Helin Zhang
RSS offloads supported 'ip' and 'udp' only, which did not demonstrate all of the hardware capabilities. The modifications adds support of new RSS offloads of 'tcp', 'sctp', 'ether' and 'all'. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 19 +++ 1 file changed, 15

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

2015-07-29 Thread Helin Zhang
It fixes the build error of implicit declaration of function. Signed-off-by: Helin Zhang --- lib/librte_eal/common/include/rte_pci.h | 11 +++ lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include

[dpdk-dev] [PATCH] i40e: fix the issue of wrongly reporting descriptor done

2015-07-30 Thread Helin Zhang
. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_rxtx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 891a221..a267b4d 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c

[dpdk-dev] [PATCH v6 01/18] mbuf: redefine packet_type in rte_mbuf

2015-06-01 Thread Helin Zhang
rte_mbuf', it should be modified accordingly. In addition, Vector PMD of ixgbe is disabled by default, as 'struct rte_mbuf' changed. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang Signed-off

[dpdk-dev] [PATCH v6 02/18] ixgbe: support unified packet type in vectorized PMD

2015-06-01 Thread Helin Zhang
that around 2% performance drop (64B) was observed of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Cunming Liang Signed-off-by: Helin Zhang --- config/common_linuxapp | 2 +- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 75

[dpdk-dev] [PATCH v6 03/18] mbuf: add definitions of unified packet types

2015-06-01 Thread Helin Zhang
type, inner L2 type, inner L3 type and inner L4 type fields, and can be stored in 'struct rte_mbuf' of 32 bits field 'packet_type'. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- lib

[dpdk-dev] [PATCH v6 05/18] ixgbe: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
of doing 4 ports (1 port per 82599 card) IO forwarding on the same SNB core. Signed-off-by: Helin Zhang --- drivers/net/ixgbe/ixgbe_rxtx.c | 163 + 1 file changed, 163 insertions(+) v2 changes: * Used redefined packet types and enlarged packet_type field

[dpdk-dev] [PATCH v6 04/18] e1000: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- drivers/net/e1000

[dpdk-dev] [PATCH v6 07/18] enic: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- drivers/net/enic

[dpdk-dev] [PATCH v6 08/18] vmxnet3: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- drivers/net/vmxnet3

[dpdk-dev] [PATCH v6 10/18] app/test-pipeline: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- app/test-pipeline

[dpdk-dev] [PATCH v6 06/18] i40e: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- drivers/net/i40e

[dpdk-dev] [PATCH v6 11/18] app/testpmd: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang Signed-off-by: Jijiang Liu

[dpdk-dev] [PATCH v6 09/18] fm10k: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- drivers/net/fm10k

[dpdk-dev] [PATCH v6 12/18] app/test: Remove useless code

2015-06-01 Thread Helin Zhang
Severl useless code lines are added accidently, which blocks packet type unification. They should be deleted at all. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- app/test

[dpdk-dev] [PATCH v6 14/18] examples/ip_reassembly: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples/ip_reassembly

[dpdk-dev] [PATCH v6 15/18] examples/l3fwd-acl: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples/l3fwd-acl

[dpdk-dev] [PATCH v6 16/18] examples/l3fwd-power: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples/l3fwd-power

[dpdk-dev] [PATCH v6 18/18] mbuf: remove old packet type bit masks

2015-06-01 Thread Helin Zhang
As unified packet types are used instead, those old bit masks and the relevant macros for packet type indication need to be removed. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- lib

[dpdk-dev] [PATCH v6 13/18] examples/ip_fragmentation: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples

[dpdk-dev] [PATCH v6 17/18] examples/l3fwd: replace bit mask based packet type with unified packet type

2015-06-01 Thread Helin Zhang
To unify packet types among all PMDs, bit masks of packet type for 'ol_flags' are replaced by unified packet type. To avoid breaking ABI compatibility, all the changes would be enabled by RTE_UNIFIED_PKT_TYPE, which is disabled by default. Signed-off-by: Helin Zhang --- examples/l3fwd/main.c

[dpdk-dev] [PATCH v2 0/6] support i40e QinQ stripping and insertion

2015-06-02 Thread Helin Zhang
. Helin Zhang (6): ixgbe: remove a discarded source line mbuf: use the reserved 16 bits for double vlan i40e: support double vlan stripping and insertion i40evf: add supported offload capability flags app/testpmd: add test cases for qinq stripping and insertion examples/ipv4_multicast

[dpdk-dev] [PATCH v2 1/6] ixgbe: remove a discarded source line

2015-06-02 Thread Helin Zhang
Little endian to CPU order conversion had been added for reading vlan tag from RX descriptor, while its original source line was forgotten to delete. That's a discarded source line and should be deleted. Fixes: 23fcffe8ffac ("ixgbe: fix id and hash with flow director") Signed-off-by: H

[dpdk-dev] [PATCH v2 2/6] mbuf: use the reserved 16 bits for double vlan

2015-06-02 Thread Helin Zhang
Use the reserved 16 bits in rte_mbuf structure for the outer vlan, also add QinQ offloading flags for both RX and TX sides. Signed-off-by: Helin Zhang --- lib/librte_mbuf/rte_mbuf.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) v2 changes: * Fixed a typo. diff --git a/lib

[dpdk-dev] [PATCH v2 3/6] i40e: support double vlan stripping and insertion

2015-06-02 Thread Helin Zhang
in mbufs, to trigger the hardware insertion of double vlan tags for each packets sent out. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c| 52 + drivers/net/i40e/i40e_ethdev_vf.c | 6 +++ drivers/net/i40e/i40e_rxtx.c | 81

[dpdk-dev] [PATCH v2 4/6] i40evf: add supported offload capability flags

2015-06-02 Thread Helin Zhang
Add checksum offload capability flags which have already been supported for a long time. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev_vf.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e

[dpdk-dev] [PATCH v2 5/6] app/testpmd: add test cases for qinq stripping and insertion

2015-06-02 Thread Helin Zhang
If double vlan is detected, its stripped flag and vlan tags can be printed on rxonly mode. Test command of 'tx_vlan set' is expanded to set both single and double vlan tags on TX side for each packets to be sent out. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 78

[dpdk-dev] [PATCH v2 6/6] examples/ipv4_multicast: support double vlan stripping and insertion

2015-06-02 Thread Helin Zhang
The outer vlan should be copied from source packet buffer to support double vlan stripping and insertion, as double vlan can be stripped or inserted by some of NIC hardware. Signed-off-by: Helin Zhang --- examples/ipv4_multicast/main.c | 1 + 1 file changed, 1 insertion(+) diff --git

[dpdk-dev] [PATCH 0/6] query hash key size in byte

2015-06-04 Thread Helin Zhang
As different hardware has different hash key size, querying it (in byte) per port was asked by users. Otherwise there is no convenient way to know the size of hash key should be prepared. Helin Zhang (6): ethdev: add an field for querying hash key size e1000: fill the hash key size fm10k

  1   2   3   4   5   6   7   8   9   >