[dpdk-dev] [PATCH v4 0/8] support of multiple sizes of redirection table

2014-10-31 Thread Helin Zhang
RTE_RETA_GROUP_SIZE. * Added more comments to rte_eth_dev_rss_reta_update() and rte_eth_dev_rss_reta_query(). Helin Zhang (8): app/testpmd: code style fix i40evf: code style fix i40e: support of setting hash lookup table size igb: implement ops of 'dev_infos_get' for PF and VF respective

[dpdk-dev] [PATCH v4 2/8] i40evf: code style fix

2014-10-31 Thread Helin Zhang
Fix of several code style issues. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev_vf.c b/lib/librte_pmd_i40e/i40e_ethdev_vf.c index fa838e6..5b8a3bf 100644 --- a

[dpdk-dev] [PATCH v4 1/8] app/testpmd: code style fix

2014-10-31 Thread Helin Zhang
Fix of several code style issues. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 28 +++- app/test-pmd/config.c | 2 +- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 4c3fc76..daba286

[dpdk-dev] [PATCH v4 3/8] i40e: support of setting hash lookup table size

2014-10-31 Thread Helin Zhang
Add support of setting hash lookup table size according to the hardawre capability. Signed-off-by: Helin Zhang --- lib/librte_ether/rte_ethdev.h | 3 +++ lib/librte_pmd_i40e/i40e_ethdev.c | 14 +- lib/librte_pmd_i40e/i40e_ethdev.h | 1 + 3 files changed, 17 insertions(+), 1

[dpdk-dev] [PATCH v4 5/8] ixgbe: implement ops of 'dev_infos_get' for PF and VF respectively

2014-10-31 Thread Helin Zhang
As more and more information are different between PF and VF, ops of 'dev_infos_get' has been implemented respectively. In addition, returning redirection table size has been supported in it. Signed-off-by: Helin Zhang --- lib/librte_pmd_ixgbe/ixgbe_eth

[dpdk-dev] [PATCH v4 7/8] ethdev: support of multiple sizes of redirection table

2014-10-31 Thread Helin Zhang
te has been reworked. - reta query has been reworked. * Rework of 40G PMD (PF only) in i40e. - reta update has been reworked. - reta query has been reworked. * Implement relevant commands in testpmd. Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.

[dpdk-dev] [PATCH v4 8/8] i40evf: support of updating/querying redirection table

2014-10-31 Thread Helin Zhang
Support of updating/querying redirection table has been added for VF. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 99 ++-- 1 file changed, 94 insertions(+), 5 deletions(-) v2 changes: * Add support of updating/querying i40e reta of VF

[dpdk-dev] [PATCH v4 4/8] igb: implement ops of 'dev_infos_get' for PF and VF respectively

2014-10-31 Thread Helin Zhang
As more and more information are different between PF and VF, ops of 'dev_infos_get' has been implemented respectively. In addition, new field of 'reta_size' has been added in 'struct rte_eth_dev_info' for returning redirection table size. Signed-off-by: Heli

[dpdk-dev] [PATCH v4 6/8] i40e: rework of ops of 'dev_infos_get' for both PF and VF

2014-10-31 Thread Helin Zhang
Returning redirection table size has been supported in ops of 'dev_infos_get' for both PF and VF. Default RX/TX configurations of VF can be returned in ops of 'dev_infos_get', while it was missed before. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i

[dpdk-dev] [PATCH 0/3] add i40e series x722 support

2015-10-13 Thread Helin Zhang
It supports i40e series x722 and its A0 hardware for early access. Helin Zhang (3): i40e: add support of X722 and its A0 hardware i40e: add support of AQ based RSS config i40evf: add support of AQ based RSS config drivers/net/i40e/Makefile | 1 + drivers/net/i40e

[dpdk-dev] [PATCH 2/3] i40e: add support of AQ based RSS config

2015-10-13 Thread Helin Zhang
It supports both Admin queue based and directly writing registers based RSS hash key and lookup table configuration, as X722 supports AQ based configuration. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c | 229 ++--- drivers/net/i40e

[dpdk-dev] [PATCH 1/3] i40e: add support of X722 and its A0 hardware

2015-10-13 Thread Helin Zhang
In order to provide users early access of X722 and its A0 hardware, new device IDs are added, and also compilation with those support in base driver is enabled. Signed-off-by: Helin Zhang --- drivers/net/i40e/Makefile | 1 + lib/librte_eal/common/include/rte_pci_dev_ids.h

[dpdk-dev] [PATCH 3/3] i40evf: add support of AQ based RSS config

2015-10-13 Thread Helin Zhang
It supports both Admin queue based and directly writing registers based RSS hash key and lookup table configuration, as X722 supports AQ based configuration. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.h| 3 + drivers/net/i40e/i40e_ethdev_vf.c | 230

[dpdk-dev] [PATCH v4 0/2] i40e: RSS/FD granularity configuration

2015-10-20 Thread Helin Zhang
modifications in testpmd to support the testing. v2 changes: Solved the compilation issues. v3 changes: Support selecting more input set fields. v4 changes: Removed operation of 'delete', as it is not necessary. Added FD granularity in both pmd and testpmd, as it is similar to RSS granulari

[dpdk-dev] [PATCH v4 2/2] app/testpmd: add test commands for RSS/FD granularity

2015-10-20 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 196 + 1 file changed, 196 insertions(+) v3 changes

[dpdk-dev] [PATCH v4 1/2] i40e: RSS/FD granularity configuration

2015-10-20 Thread Helin Zhang
The default fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin Zhang Signed

[dpdk-dev] [PATCH v2 0/2] add selecting different GRE key length

2015-10-20 Thread Helin Zhang
ith RSS/FD granularity code. Helin Zhang (2): i40e: add selecting GRE key length app/testpmd: add test commands for selecting different GRE key sizes app/test-pmd/cmdline.c | 52 drivers/net/i40e/i40e_ethdev.c | 87 +++-- lib/li

[dpdk-dev] [PATCH v2 1/2] i40e: add selecting GRE key length

2015-10-20 Thread Helin Zhang
By default, only first 3 bytes of GRE key will be used for hash or FD calculation. With these changes, it can select 3 or 4 bytes of GRE key for hash or FD calculation. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- drivers/net/i40e/i40e_ethdev.c | 87

[dpdk-dev] [PATCH v2 2/2] app/testpmd: add test commands for selecting different GRE key sizes

2015-10-20 Thread Helin Zhang
Test commands are added to support selecting differnt length of GRE key. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app

[dpdk-dev] [PATCH v2 0/2] i40e: Enlarge the number of supported queues

2015-10-22 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. v2 changes: Fixed issues of using wrong configured number of VF queues. Helin Zhang (2): i40e: adjust the number of queues for RSS i40e

[dpdk-dev] [PATCH v2 1/2] i40e: adjust the number of queues for RSS

2015-10-22 Thread Helin Zhang
It adjusts the number of queues for RSS from power of 2 to any as long as it does not exceeds the hardware allowed. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c| 8 drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH v2 2/2] i40e: Enlarge the number of supported queues

2015-10-22 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. Signed-off-by: Helin Zhang --- config/common_bsdapp | 3 +- config/common_linuxapp | 3 +- drivers/net/i40e

[dpdk-dev] [PATCH v5 0/2] i40e: RSS/FD granularity configuration

2015-10-29 Thread Helin Zhang
lar to RSS granularity. v5 changes: Fixed issue of generating wrong input set for registers on ipv6-udp and ipv6-tcp pc types. Added clear masking operations during checking if MASK registers are opcupied or not. Reworked several annotations. Helin Zhang (2): i40e: RSS/FD granularity configuration a

[dpdk-dev] [PATCH v5 1/2] i40e: RSS/FD granularity configuration

2015-10-29 Thread Helin Zhang
The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin

[dpdk-dev] [PATCH v5 2/2] app/testpmd: add test commands for RSS/FD granularity

2015-10-29 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 196 + 1 file changed, 196 insertions(+) v3 changes

[dpdk-dev] [PATCH v6 0/3] i40e: RSS/FD granularity configuration

2015-10-29 Thread Helin Zhang
lar to RSS granularity. v5 changes: Fixed issue of generating wrong input set for registers on ipv6-udp and ipv6-tcp pc types. Added clear masking operations during checking if MASK registers are opcupied or not. Reworked several annotations. v6 changes: Updated documentation. Helin Zhang (3): i4

[dpdk-dev] [PATCH v6 2/3] app/testpmd: add test commands for RSS/FD granularity

2015-10-29 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 218 + 1 file changed, 218 insertions(+) v3 changes

[dpdk-dev] [PATCH v6 1/3] i40e: RSS/FD granularity configuration

2015-10-29 Thread Helin Zhang
The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin

[dpdk-dev] [PATCH v6 3/3] doc: update release notes and testpmd guide

2015-10-29 Thread Helin Zhang
Update release notes with the newly added feature of RSS/FD input set granularity, and testpmd guide with newly added commands for RSS/FD input set granularity testing. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst| 2 ++ doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH v3 1/3] i40e: add selecting GRE key length

2015-10-29 Thread Helin Zhang
By default, only first 3 bytes of GRE key will be used for hash or FD calculation. With these changes, it can select 3 or 4 bytes of GRE key for hash or FD calculation. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- drivers/net/i40e/i40e_ethdev.c | 87

[dpdk-dev] [PATCH v3 2/3] app/testpmd: add test commands for selecting different GRE key sizes

2015-10-29 Thread Helin Zhang
Test commands are added to support selecting differnt length of GRE key. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app

[dpdk-dev] [PATCH v3 0/3] add selecting different GRE key length

2015-10-29 Thread Helin Zhang
ith RSS/FD granularity code. v3 changes: Updated with RSS/FD granularity code. Updated documentation. Helin Zhang (3): i40e: add selecting GRE key length app/testpmd: add test commands for selecting different GRE key sizes doc: update release notes and testpmd guide app/test-pmd

[dpdk-dev] [PATCH v3 3/3] doc: update release notes and testpmd guide

2015-10-29 Thread Helin Zhang
Update release notes with the newly added feature of selecting different GRE key length for input set, and testpmd guide with newly added commands for that. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst| 2 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11

[dpdk-dev] [PATCH v7 0/2] i40e: RSS/FD granularity configuration

2015-10-30 Thread Helin Zhang
ges. Split documentation into pieces and put them directly into the patch of code changes directly. Helin Zhang (2): i40e: RSS/FD granularity configuration app/testpmd: add test commands for RSS/FD granularity app/test-pmd/cmdline.c | 218 doc/guides/rel_notes/depre

[dpdk-dev] [PATCH v7 2/2] app/testpmd: add test commands for RSS/FD granularity

2015-10-30 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 218 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33

[dpdk-dev] [PATCH v7 1/2] i40e: RSS/FD granularity configuration

2015-10-30 Thread Helin Zhang
The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin

[dpdk-dev] [PATCH v4 0/2] add selecting different GRE key length

2015-10-30 Thread Helin Zhang
ith RSS/FD granularity code. v3 changes: Updated with RSS/FD granularity code. Updated documentation. v4 changes: Added the update of release note and testpmd guide to the code patches separately. Updated with RSS/FD granularity code v7. Helin Zhang (2): i40e: add selecting GRE key length app/testpmd

[dpdk-dev] [PATCH v4 1/2] i40e: add selecting GRE key length

2015-10-30 Thread Helin Zhang
By default, only first 3 bytes of GRE key will be used for hash or FD calculation. With these changes, it can select 3 or 4 bytes of GRE key for hash or FD calculation. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- doc/guides/rel_notes/release_2_2.rst | 2 + drivers/net/i40e

[dpdk-dev] [PATCH v4 2/2] app/testpmd: add test commands for selecting different GRE key sizes

2015-10-30 Thread Helin Zhang
Test commands are added to support selecting differnt length of GRE key. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 52 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files changed, 63

[dpdk-dev] [PATCH RFC 0/2] i40e: enlarge the number of supported queues

2015-09-02 Thread Helin Zhang
There was a software limitation of 64 queues, it should be enlarged to the hardware allowed maximum. As all the queues are shared among PF, VFs and VMDq, the number of queues supported in PF, VFs and VMDq may vary. Helin Zhang (2): i40e: adjust the number of queues for RSS i40e: Enlarge the

[dpdk-dev] [PATCH RFC 2/2] i40e: Enlarge the number of supported queues

2015-09-02 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. Signed-off-by: Helin Zhang --- config/common_bsdapp | 3 +- config/common_linuxapp | 3 +- drivers/net/i40e

[dpdk-dev] [PATCH RFC 1/2] i40e: adjust the number of queues for RSS

2015-09-02 Thread Helin Zhang
It adjusts the number of queues for RSS from power of 2 to any as long as it does not exceeds the hardware allowed. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c| 8 drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH 0/2] i40e: enlarge the number of supported queues

2015-09-20 Thread Helin Zhang
There was a software limitation of 64 queues, it should be enlarged to the hardware allowed maximum. As all the queues are shared among PF, VFs and VMDq, the number of queues supported in PF, VFs and VMDq may vary on different use cases. Helin Zhang (2): i40e: adjust the number of queues for

[dpdk-dev] [PATCH 1/2] i40e: adjust the number of queues for RSS

2015-09-20 Thread Helin Zhang
It adjusts the number of queues for RSS from power of 2 to any as long as it does not exceeds the hardware allowed. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c| 8 drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH 2/2] i40e: Enlarge the number of supported queues

2015-09-20 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. Signed-off-by: Helin Zhang --- config/common_bsdapp | 3 +- config/common_linuxapp | 3 +- drivers/net/i40e

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

2015-05-22 Thread Helin Zhang
acket type unification from app/test/packet_burst_generator.c. v5 changes: * Added more detailed description for each packet types, together with examples. * Rolled back the macro definitions of RX packet flags, for ABI compitability. Helin Zhang (18): mbuf: redefine packet_type in rte_mbuf ixgb

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

2015-05-22 Thread Helin Zhang
or KNI should be right mapped to 'struct rte_mbuf', it should be modified accordingly. In addition, Vector PMD of ixgbe is disabled by default, as 'struct rte_mbuf' changed. Signed-off-by: Helin Zhang Signed-off-by: Cunming Liang --- config/common_linuxapp

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

2015-05-22 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 v5 04/18] e1000: replace bit mask based packet type with unified packet type

2015-05-22 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 chang

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

2015-05-22 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(-)

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

2015-05-22 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

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

2015-05-22 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

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

2015-05-22 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: *

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

2015-05-22 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

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

2015-05-22 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 | 485 + 1 file changed, 485 insertions(+) v

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

2015-05-22 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 | 178 +

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

2015-05-22 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

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

2015-05-22 Thread Helin Zhang
Severl useless code lines are added accidently, 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 v5 13/18] examples/ip_fragmentation: replace bit mask based packet type with unified packet type

2015-05-22 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 an

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

2015-05-22 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 an

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

2015-05-22 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

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

2015-05-22 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 an

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

2015-05-22 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 | 6 -- 2 files changed, 12 deletions(-) v2 changes: * Used

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

2015-05-22 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 chang

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

2015-05-26 Thread Helin Zhang
k vPMD, as nothings used in it changed. Helin Zhang (5): 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 inser

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

2015-05-26 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. Signed-off-by: Helin Zhang --- drivers/net/ixgbe/ixgbe_rxtx.c | 1 - 1 file chang

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

2015-05-26 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(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib

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

2015-05-26 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 4/5] i40evf: add supported offload capability flags

2015-05-26 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 5/5] app/testpmd: add test cases for qinq stripping and insertion

2015-05-26 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/cmdl

[dpdk-dev] [PATCH v8 0/2] i40e: RSS/FD granularity configuration

2015-11-02 Thread Helin Zhang
: Modified RTE_ETH_INSET_SIZE_MAX from 128 to 1, to avoid ABI changes. Split documentation into pieces and put them directly into the patch of code changes directly. v8 changes: Modified RTE_ETH_INSET_SIZE_MAX from 1 to 128, as ABI changes is allowed in ethdev. Updated release notes. Helin Zhang (2): i4

[dpdk-dev] [PATCH v8 1/2] i40e: RSS/FD granularity configuration

2015-11-02 Thread Helin Zhang
The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin

[dpdk-dev] [PATCH v8 2/2] app/testpmd: add test commands for RSS/FD granularity

2015-11-02 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 218 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33

[dpdk-dev] [PATCH v5 0/2] add selecting different GRE key length

2015-11-02 Thread Helin Zhang
ith RSS/FD granularity code. v3 changes: Updated with RSS/FD granularity code. Updated documentation. v4 changes: Added the update of release note and testpmd guide to the code patches separately. Updated with RSS/FD granularity code v7. v5 changes: Updated with RSS/FD granularity code v8. Helin Zhang (

[dpdk-dev] [PATCH v5 1/2] i40e: add selecting GRE key length

2015-11-02 Thread Helin Zhang
By default, only first 3 bytes of GRE key will be used for hash or FD calculation. With these changes, it can select 3 or 4 bytes of GRE key for hash or FD calculation. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- doc/guides/rel_notes/release_2_2.rst | 2 + drivers/net/i40e

[dpdk-dev] [PATCH v5 2/2] app/testpmd: add test commands for selecting different GRE key sizes

2015-11-02 Thread Helin Zhang
Test commands are added to support selecting differnt length of GRE key. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 52 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files changed, 63

[dpdk-dev] [PATCH v3 1/2] i40e: adjust the number of queues for RSS

2015-11-03 Thread Helin Zhang
It adjusts the number of queues for RSS from power of 2 to any as long as it does not exceeds the hardware allowed. Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c| 8 drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH v3 0/2] i40e: Enlarge the number of supported queues

2015-11-03 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. v2 changes: Fixed issues of using wrong configured number of VF queues. v3 changes: Updated release notes. Helin Zhang (2): i40e: adjust the

[dpdk-dev] [PATCH v3 2/2] i40e: Enlarge the number of supported queues

2015-11-03 Thread Helin Zhang
It enlarges the number of supported queues to hardware allowed maximum. There was a software limitation of 64 per physical port which is not reasonable. Signed-off-by: Helin Zhang --- config/common_bsdapp | 3 +- config/common_linuxapp | 3 +- doc/guides

[dpdk-dev] [PATCH v9 2/2] app/testpmd: add test commands for RSS/FD granularity

2015-11-04 Thread Helin Zhang
Test commands are added to support selecting input set, or adding new input set per different pctype. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 218 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33

[dpdk-dev] [PATCH v9 0/2] i40e: RSS/FD granularity configuration

2015-11-04 Thread Helin Zhang
ease notes. Helin Zhang (2): i40e: RSS/FD granularity configuration app/testpmd: add test commands for RSS/FD granularity app/test-pmd/cmdline.c | 218 doc/guides/rel_notes/release_2_2.rst| 6 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 ++ driver

[dpdk-dev] [PATCH v9 1/2] i40e: RSS/FD granularity configuration

2015-11-04 Thread Helin Zhang
The default input set of fields of a received packet are loaded from firmware, which cannot be modified even users want to use different fields for RSS or flow director. Here adds more flexibilities of selecting packet fields for hash calculation or flow director for users. Signed-off-by: Helin

[dpdk-dev] [PATCH v6 0/2] add selecting different GRE key length

2015-11-04 Thread Helin Zhang
dated with RSS/FD granularity code v9. Helin Zhang (2): i40e: add selecting GRE key length app/testpmd: add test commands for selecting different GRE key sizes app/test-pmd/cmdline.c | 52 + doc/guides/rel_notes/release_2_2.rst| 2 +

[dpdk-dev] [PATCH v6 1/2] i40e: add selecting GRE key length

2015-11-04 Thread Helin Zhang
By default, only first 3 bytes of GRE key will be used for hash or FD calculation. With these changes, it can select 3 or 4 bytes of GRE key for hash or FD calculation. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- doc/guides/rel_notes/release_2_2.rst | 2 + drivers/net/i40e

[dpdk-dev] [PATCH v6 2/2] app/testpmd: add test commands for selecting different GRE key sizes

2015-11-04 Thread Helin Zhang
Test commands are added to support selecting differnt length of GRE key. Signed-off-by: Helin Zhang Signed-off-by: Andrey Chilikin --- app/test-pmd/cmdline.c | 52 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ 2 files changed, 63

[dpdk-dev] [PATCH] i40e: fix the issue of not freeing memzone

2015-11-06 Thread Helin Zhang
This fixes the issue of not freeing memzone in a call to free the memory for adminq DMA. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst | 5 + drivers/net/i40e/base/i40e_osdep.h | 2 +- drivers/net/i40e/i40e_ethdev.c | 12 +++- 3 files changed, 13

[dpdk-dev] [PATCH 0/3] fix compile issues

2015-11-06 Thread Helin Zhang
It fixes compile issues for bonding, i40e, and testpmd on ICC 13.0.0. Helin Zhang (3): bonding: fix ICC compile issue i40e: fix ICC compile issue app/testpmd: fix ICC compile issue app/test-pmd/cmdline.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++- drivers/net

[dpdk-dev] [PATCH 1/3] bonding: fix ICC compile issue

2015-11-06 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: rte_eth_bond_pmd.c(1327): error #188: enumerated type mixed with another type slave_eth_dev->data->dev_conf.rxmode.mq_mode |= ETH_MQ_RX_RSS; Signed-off-by: Helin Zhang --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++- 1 file chan

[dpdk-dev] [PATCH 2/3] i40e: fix ICC compile issue

2015-11-06 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: i40e_ethdev.c(7943): error #188: enumerated type mixed with another type PMD_INIT_LOG(ERR, Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH 3/3] app/testpmd: fix ICC compile issue

2015-11-06 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: app/test-pmd/cmdline.c(8160): error #188: enumerated type mixed with another type entry.input.flow.tunnel_flow.tunnel_type = Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v2] i40e: fix the issue of not freeing memzone

2015-11-06 Thread Helin Zhang
This fixes the issue of not freeing memzone in a call to free the memory for adminq DMA. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst | 5 + drivers/net/i40e/base/i40e_osdep.h | 2 +- drivers/net/i40e/i40e_ethdev.c | 14 +- 3 files changed, 15

[dpdk-dev] [PATCH v3] i40e: fix the issue of not freeing memzone

2015-11-09 Thread Helin Zhang
This fixes the issue of not freeing memzone in a call to free the memory for adminq DMA. Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst | 5 + drivers/net/i40e/base/i40e_osdep.h | 2 +- driver

[dpdk-dev] [PATCH v2 1/2] i40e: fix ICC compile issue

2015-11-09 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: i40e_ethdev.c(7943): error #188: enumerated type mixed with another type PMD_INIT_LOG(ERR, Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_ethdev.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions

[dpdk-dev] [PATCH v2 2/2] app/testpmd: fix ICC compile issue

2015-11-09 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: app/test-pmd/cmdline.c(8160): error #188: enumerated type mixed with another type entry.input.flow.tunnel_flow.tunnel_type = str2fdir_tunneltype(res->tunnel_type); Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 4 ++--

[dpdk-dev] [PATCH v2 0/2] fix compile issues on ICC

2015-11-09 Thread Helin Zhang
It fixes compile issues for i40e, and testpmd on ICC 13.0.0. v2 changes: Corrected the variable/function type, to replace casting. Helin Zhang (2): i40e: fix ICC compile issue app/testpmd: fix ICC compile issue app/test-pmd/cmdline.c | 4 ++-- drivers/net/i40e/i40e_ethdev.c | 34

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-09 Thread Helin Zhang
initialization for kni_net_ops) Fixes: 72a7a2b2469e ("kni: allow per-net instances") Signed-off-by: Helin Zhang --- lib/librte_eal/linuxapp/kni/kni_misc.c | 47 -- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/

[dpdk-dev] [PATCH v4] i40e: fix the issue of not freeing memzone

2015-11-11 Thread Helin Zhang
This fixes the issue of not freeing memzone in a call to free the memory for adminq DMA. Fixes: 4861cde46116 ("i40e: new poll mode driver") Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_2_2.rst | 5 + drivers/net/i40e/base/i40e_osdep.h | 2 +- driver

[dpdk-dev] [PATCH v3 0/2] fix compile issues on ICC

2015-11-11 Thread Helin Zhang
It fixes compile issues for i40e, and testpmd on ICC 13.0.0. v2 changes: Corrected the variable/function type, to replace casting. v3 changes: Added 'Fixes' line in the commit logs. Helin Zhang (2): i40e: fix ICC compile issue app/testpmd: fix ICC compile issue app/test-pmd

[dpdk-dev] [PATCH v3 1/2] i40e: fix ICC compile issue

2015-11-11 Thread Helin Zhang
It fixes compile issue on ICC 13.0.0. Error logs: i40e_ethdev.c(7943): error #188: enumerated type mixed with another type PMD_INIT_LOG(ERR, Fixes: c8b9a3e3fe1b ("i40e: support DCB mode") Signed-off-by: Helin Zhang --- drivers/net/i40e/i40e_eth

[dpdk-dev] [PATCH v3 2/2] app/testpmd: fix ICC compile issue

2015-11-11 Thread Helin Zhang
commands") Signed-off-by: Helin Zhang --- app/test-pmd/cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) v2 changes: Corrected the variable/function type, to replace casting. v3 changes: Added 'Fixes' line in the commit logs. diff --git a/app/test-pmd/cmdline.c b/app/t

<    2   3   4   5   6   7   8   9   10   >