[dpdk-dev] [PATCH v7 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-03-01 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Update the testpmd documentation. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 32 +- doc/guides

[dpdk-dev] [PATCH v7 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-03-01 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 33 - 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 7c22358..237c735 100644 --- a

[dpdk-dev] [PATCH v7 2/4] lib/ether: add IP in GRE type

2016-03-01 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v7 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-03-01 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 -- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_

[dpdk-dev] [PATCH v7 0/4] Add tunnel filter support for IP in GRE on i40e

2016-03-01 Thread Xutao Sun
testpmd documentation. v6 changes: Use internal variables to convert byte order. v7 changes: Modify the mistakes of code style. Xutao Sun (4): lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure lib/ether: add IP in GRE type driver/i40e: implement tunnel filter for

[dpdk-dev] [PATCH v6 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-03-01 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Update the testpmd documentation. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 32 +- doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH v6 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-03-01 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 37 +++-- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 7c22358..6d860ee 100644 --- a

[dpdk-dev] [PATCH v6 2/4] lib/ether: add IP in GRE type

2016-03-01 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v6 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-03-01 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 -- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_

[dpdk-dev] [PATCH v6 0/4] Add tunnel filter support for IP in GRE on i40e

2016-03-01 Thread Xutao Sun
testpmd documentation. v6 changes: Use internal variables to convert byte order. Xutao Sun (4): lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure lib/ether: add IP in GRE type driver/i40e: implement tunnel filter for IP in GRE app/test-pmd: test tunnel filter for IP in

[dpdk-dev] [PATCH v5 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-02-19 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/app/test

[dpdk-dev] [PATCH v5 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-02-19 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 7c22358..a33fef5 100644 --- a

[dpdk-dev] [PATCH v5 2/4] lib/ether: add IP in GRE type

2016-02-19 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v5 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-02-19 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 +++-- doc/guides/rel_notes/deprecation.rst| 5 - doc/g

[dpdk-dev] [PATCH v5 0/4] Add tunnel filter support for IP in GRE on i40e

2016-02-19 Thread Xutao Sun
testpmd documentation. Xutao Sun (4): lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure lib/ether: add IP in GRE type driver/i40e: implement tunnel filter for IP in GRE app/test-pmd: test tunnel filter for IP in GRE app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v4 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-02-18 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 36 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v4 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-02-18 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 7c22358..a33fef5 100644 --- a

[dpdk-dev] [PATCH v4 2/4] lib/ether: add IP in GRE type

2016-02-18 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v4 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-02-18 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 -- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_

[dpdk-dev] [PATCH v4 0/4] Add tunnel filter support for IP in GRE on i40e

2016-02-18 Thread Xutao Sun
This patch set adds tunnel filter support for IP in GRE on i40e. v2 changes: Fix the byte order problem. v3 changes: Remove the deprecation notice and update the release notes. v4 changes: Modify the mistakes in cmdline.c in the old patch Xutao Sun (4): lib/ether: optimize

[dpdk-dev] [PATCH v3 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-01-28 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 36 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v3 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-01-28 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 1dd1077..5c0eff9 100644 --- a

[dpdk-dev] [PATCH v3 2/4] lib/ether: add IP in GRE type

2016-01-28 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v3 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-01-28 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 -- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_

[dpdk-dev] [PATCH v3 0/4] Add tunnel filter support for IP in GRE on i40e

2016-01-28 Thread Xutao Sun
This patch set adds tunnel filter support for IP in GRE on i40e. v2 changes: Fix the byte order problem. v3 changes: Remove the deprecation notice and update the release notes. Xutao Sun (4): lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure lib/ether: add IP i

[dpdk-dev] [PATCH v2 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-01-28 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 36 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v2 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-01-28 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 1dd1077..5c0eff9 100644 --- a

[dpdk-dev] [PATCH v2 2/4] lib/ether: add IP in GRE type

2016-01-28 Thread Xutao Sun
Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib

[dpdk-dev] [PATCH v2 1/4] lib/ether: optimize the 'rte_eth_tunnel_filter_conf' structure

2016-01-28 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Xutao Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 6 -- drivers/net/i40e/i40e_ethdev.c | 12 ++-- lib/librte_ether/rte_eth_c

[dpdk-dev] [PATCH v2 0/4] Add tunnel filter support for IP in GRE on i40e

2016-01-28 Thread Xutao Sun
This patch set adds tunnel filter support for IP in GRE on i40e. v2 changes: Fix the byte order problem. Xutao Sun (4): change the 'rte_eth_tunnel_filter_conf' structure add IP in GRE type in the enum 'rte_eth_tunnel_type' implement cloud filter for ip in GRE on i40e

[dpdk-dev] [PATCH 4/4] app/test-pmd: test tunnel filter for IP in GRE

2016-01-25 Thread Xutao Sun
This patch add some options in tunnel_filter command to test IP in GRE packet classification on i40e. Signed-off-by: Xutao, Sun Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 26 ++ 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/app/test-pmd

[dpdk-dev] [PATCH 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-01-25 Thread Xutao Sun
Signed-off-by: Xutao, Sun Signed-off-by: Jijiang Liu --- drivers/net/i40e/i40e_ethdev.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 1dd1077..25975d2 100644 --- a/drivers/net/i40e

[dpdk-dev] [PATCH 2/4] lib/ether: add IP in GRE type

2016-01-25 Thread Xutao Sun
Signed-off-by: Xutao, Sun Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_eth_ctrl.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 30cbde7..0e948a1 100644 --- a/lib/librte_ether/rte_eth_ctrl.h

[dpdk-dev] [PATCH 1/4] lib/ether: optimize the 'rte_eth_tunnel_filter_conf' structure

2016-01-25 Thread Xutao Sun
Change the fields of outer_mac and inner_mac from pointer to struct in order to keep the code's readability. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c |6 -- drivers/net/i40e/i40e_ethdev.c | 12 ++-- lib/librte_ether/rte_eth_ctrl.h |4 ++-- 3 files cha

[dpdk-dev] [PATCH 0/4] Add tunnel filter support for IP in GRE on i40e

2016-01-25 Thread Xutao Sun
This patch set adds tunnel filter support for IP in GRE on i40e. Jijiang Liu (4): change the 'rte_eth_tunnel_filter_conf' structure add IP in GRE type in the enum 'rte_eth_tunnel_type' implement cloud filter for IP in GRE on i40e add codes to test tunnel filter for IP in GRE app/test-pmd

[dpdk-dev] [PATCH v6] i40e: Fix the statistics issue of i40e

2015-11-04 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. Also update release notes. Signed-off-by: Xutao Sun --- v2: - reword comments v3: - update release notes v4

[dpdk-dev] [PATCH v5] i40e: Fix the statistics issue of i40e

2015-10-30 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. Also update release notes. Signed-off-by: Xutao Sun --- v2: - reword comments v3: - update release notes v4

[dpdk-dev] [PATCH v4] i40e: Fix the statistics issue of i40e

2015-10-30 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. Also update release notes. Signed-off-by: Xutao Sun --- v2: - reword comments v3: - update release notes v4

[dpdk-dev] [PATCH v3 2/2] doc: update release notes

2015-10-29 Thread Xutao Sun
Update release notes with the newly resolved issues about statistics on i40e. Signed-off-by: Xutao Sun --- doc/guides/rel_notes/release_2_1.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/release_2_1.rst b/doc/guides/rel_notes/release_2_1.rst index 103a5ee

[dpdk-dev] [PATCH v3 1/2] i40e: Fix the statistics issue of i40e

2015-10-29 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. Signed-off-by: Xutao Sun --- v2: - reword comments drivers/net/i40e/i40e_ethdev.c | 23

[dpdk-dev] [PATCH v3 0/2] i40e: Fix the statistics issue of i40e

2015-10-29 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. v2 changes: Reword comments. v3 changes: Update documentation. Xutao Sun (2): i40e: Fix the statistics issue of

[dpdk-dev] [PATCH v2] i40e: Fix the statistics issue of i40e

2015-10-29 Thread Xutao Sun
The old statistics on i40e only counted the packets on ports. So the discarding packets on VSI were not counted. This patch is to make statistics for packets both on ports and VSI. Signed-off-by: Xutao Sun --- drivers/net/i40e/i40e_ethdev.c | 23 ++- 1 file changed, 14

[dpdk-dev] [PATCH v1] i40e: Fix the statistics issue of i40e

2015-10-29 Thread Xutao Sun
The old statistics on i40e only count the packets on ports. This patch is to make statistics for packets both on ports and VSI. But there're still some issues about statistics for 'bytes'. Signed-off-by: Xutao Sun --- drivers/net/i40e/i40e_ethdev.c | 19 --- 1 f

[dpdk-dev] [PATCH v3] examples/vmdq: Fix the core dump issue when mem_pool is more than 34

2015-10-27 Thread Xutao Sun
Macro MAX_QUEUES was defined to 128, only allow 16 vmdq_pools in theory. When running vmdq_app with more than 34 vmdq_pools, it will cause the core_dump issue. Change MAX_QUEUES to 1024 will solve this issue. Signed-off-by: Xutao Sun --- v2: - Rectify the NUM_MBUFS_PER_PORT since MAX_QUEUES has

[dpdk-dev] [PATCH v2] examples/vmdq: Fix the core dump issue when mem_pool is more than 34

2015-10-27 Thread Xutao Sun
Macro MAX_QUEUES was defined to 128, only allow 16 vmdq_pools in theory. When running vmdq_app with more than 34 vmdq_pools, it will cause the core_dump issue. Change MAX_QUEUES to 1024 will solve this issue. Signed-off-by: Xutao Sun --- v2: - rectify the NUM_MBUFS_PER_PORT since MAX_QUEUES has

[dpdk-dev] [PATCH] examples/vmdq: Fix the core dump issue when mem_pool is more than 34

2015-10-13 Thread Xutao Sun
Macro MAX_QUEUES was defined to 128, only allow 16 mem_pools in theory. When running vmdq_app with more than 34 mem_pools, it will cause the core_dump issue. Change MAX_QUEUES to 1024 will solve this issue. Signed-off-by: Xutao Sun --- examples/vmdq/main.c | 2 +- 1 file changed, 1 insertion