From: "Liu, Yong" <yong.liu@intel.com>
To: "Sun, Xutao" <xutao.sun@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v7 0/4] Add tunnel filter support for IP in GRE on i40e
Date: Wed, 2 Mar 2016 07:04:23 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E144FFC97@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1456821665-21831-1-git-send-email-xutao.sun@intel.com>
Tested-by: Yong Liu <yong.liu@intel.com>
- Tested Branch: dpdk-next-net
- Tested Commit: 5fa83b5398e26af7537b09605432fcb3d0cc1d41
- OS: Fedora20 3.11.10-301.fc20.x86_64
- GCC: gcc version 4.8.3 20140911
- CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
- NIC: Intel Corporation Device RedrockCanyou [8086:15a4]
- Default x86_64-native-linuxapp-gcc configuration
- Prerequisites:
- Total 4 cases, 4 passed, 0 failed
- Prerequisites command / instruction:
Intel(r) X710 (Fortville) NIC plugged in
- Case: GRE ipv4 packet detect
Description: check IPGRE packet can be normally detected
Command / instruction:
Start testpmd and enable rxonly forwarding mode
testpmd -c ffff -n 4 -- -i --txqflags=0x0
testpmd> set fwd rxonly
testpmd> set verbose 1
testpmd> start
Send ipv4+GRE+ipv4 packet and check testpmd log match packet type
- Case: GRE ipv6 packet detect
Description: check IPGRE packet can be normally detected
Command / instruction:
Start testpmd and enable rxonly forwarding mode
testpmd -c ffff -n 4 -- -i --txqflags=0x0
testpmd> set fwd rxonly
testpmd> set verbose 1
testpmd> start
Send ipv6+GRE+ipv4 packet and check testpmd log match packet type
Send ipv6+GRE+ipv6 packet and check testpmd log match packet type
- Case: GRE packet filter
Description: check IPGRE cloud filter work as expected
Command / instruction:
Start testpmd with multi queues
testpmd -c ff -n 3 -- -i --rxq=4 --txq=4 --txqflags=0x0
testpmd> set fwd rxonly
testpmd> set nbcore 4
testpmd> set verbose 1
testpmd> start
Add GRE filter that forward inner ip address 0.0.0.0 packets to queue 3
testpmd> tunnel_filter add 0 XX:XX:XX:XX:XX:XX YY:YY:YY:YY:YY:YY \
0.0.0.0 1 ipingre iip 0 3
Send packet inner ip address matched and check packet recevied by queue 3.
Remove tunnel filter and check same packet recevied by queue 0
testpmd> tunnel_filter rm 0 XX:XX:XX:XX:XX:XX YY:YY:YY:YY:YY:YY \
0.0.0.0 1 ipingre iip 0 3
Add GRE filter that forward outer ip address 0.0.0.0 to queue 3
testpmd> tunnel_filter add 0 XX:XX:XX:XX:XX:XX YY:YY:YY:YY:YY:YY \
0.0.0.0 1 ipingre oip 0 3
Send packet outer ip address matched and check packet recevied by queue 3.
Remove tunnel filter and check same packet recevied by queue 0.
testpmd> tunnel_filter rm 0 XX:XX:XX:XX:XX:XX YY:YY:YY:YY:YY:YY \
0.0.0.0 1 ipingre iip 0 3
- Case: GRE packet chksum offload
Description: check IPGRE packet's checksum can be offloaded
Command / instruction:
Start testpmd with hardware checksum offload enabled::
testpmd -c ff -n 3 -- -i --txqflags=0x0 --enable-rx-cksum
testpmd> set verbose 1
testpmd> set fwd csum
testpmd> csum set ip hw 0
testpmd> csum set udp hw 0
testpmd> csum set sctp hw 0
testpmd> csum set outer-ip hw 0
testpmd> csum set tcp hw 0
testpmd> csum parse_tunnel on 0
testpmd> start
Send packet with wrong outer IP checksum and check forwarded packet IP
checksum is correct.
Send packet with wrong inner IP checksum and check forwarded packet IP
checksum is correct.
Send packet with wrong inner TCP checksum and check forwarded packet TCP
checksum is correct.
Send packet with wrong inner UDP checksum and check forwarded packet UDP
checksum is correct.
Send packet with wrong inner SCTP checksum and check forwarded packet SCTP
checksum is correct.
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xutao Sun
> Sent: Tuesday, March 01, 2016 4:41 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v7 0/4] Add tunnel filter support for IP in
> GRE on i40e
>
> 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.
>
> v5 changes:
> Fix type errors and update the 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 IP in GRE
> app/test-pmd: test tunnel filter for IP in GRE
>
> app/test-pmd/cmdline.c | 38 ++++++++++++++++-------
> -
> doc/guides/rel_notes/deprecation.rst | 5 ----
> doc/guides/rel_notes/release_16_04.rst | 2 ++
> doc/guides/testpmd_app_ug/testpmd_funcs.rst | 35 ++++++++++++++++++++--
> drivers/net/i40e/i40e_ethdev.c | 45 +++++++++++++++++++----
> ------
> lib/librte_ether/rte_eth_ctrl.h | 5 ++--
> 6 files changed, 94 insertions(+), 36 deletions(-)
>
> --
> 1.9.3
next prev parent reply other threads:[~2016-03-02 7:04 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 7:25 [dpdk-dev] [PATCH " Xutao Sun
2016-01-25 7:25 ` [dpdk-dev] [PATCH 1/4] lib/ether: optimize the 'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-01-25 7:25 ` [dpdk-dev] [PATCH 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-01-25 7:25 ` [dpdk-dev] [PATCH 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-01-25 7:25 ` [dpdk-dev] [PATCH 4/4] app/test-pmd: test " Xutao Sun
2016-01-28 7:30 ` [dpdk-dev] [PATCH v2 0/4] Add tunnel filter support for IP in GRE on i40e Xutao Sun
2016-01-28 7:30 ` [dpdk-dev] [PATCH v2 1/4] lib/ether: optimize the 'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-01-28 8:21 ` Thomas Monjalon
2016-01-28 9:05 ` Sun, Xutao
2016-01-28 7:30 ` [dpdk-dev] [PATCH v2 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-01-28 7:30 ` [dpdk-dev] [PATCH v2 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-01-28 7:30 ` [dpdk-dev] [PATCH v2 4/4] app/test-pmd: test " Xutao Sun
[not found] ` <1453976778-27807-1-git-send-email-xutao.sun@intel.com>
2016-01-28 10:26 ` [dpdk-dev] [PATCH v3 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-01-28 10:26 ` [dpdk-dev] [PATCH v3 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-01-28 10:26 ` [dpdk-dev] [PATCH v3 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-01-28 10:26 ` [dpdk-dev] [PATCH v3 4/4] app/test-pmd: test " Xutao Sun
2016-02-12 13:46 ` De Lara Guarch, Pablo
2016-02-18 7:19 ` Sun, Xutao
2016-02-18 9:58 ` [dpdk-dev] [PATCH v4 0/4] Add tunnel filter support for IP in GRE on i40e Xutao Sun
2016-02-18 9:58 ` [dpdk-dev] [PATCH v4 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-02-18 9:58 ` [dpdk-dev] [PATCH v4 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-02-18 9:58 ` [dpdk-dev] [PATCH v4 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-02-18 9:58 ` [dpdk-dev] [PATCH v4 4/4] app/test-pmd: test " Xutao Sun
2016-02-18 12:16 ` De Lara Guarch, Pablo
2016-02-19 2:40 ` Sun, Xutao
2016-02-19 7:31 ` [dpdk-dev] [PATCH v5 0/4] Add tunnel filter support for IP in GRE on i40e Xutao Sun
2016-02-19 7:31 ` [dpdk-dev] [PATCH v5 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-02-25 1:22 ` Wu, Jingjing
2016-02-19 7:31 ` [dpdk-dev] [PATCH v5 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-02-19 7:31 ` [dpdk-dev] [PATCH v5 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-02-25 1:50 ` Wu, Jingjing
2016-02-19 7:31 ` [dpdk-dev] [PATCH v5 4/4] app/test-pmd: test " Xutao Sun
2016-03-01 3:47 ` [dpdk-dev] [PATCH v6 0/4] Add tunnel filter support for IP in GRE on i40e Xutao Sun
2016-03-01 3:47 ` [dpdk-dev] [PATCH v6 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-03-01 8:53 ` Panu Matilainen
2016-03-02 3:10 ` Sun, Xutao
2016-03-02 7:12 ` Panu Matilainen
2016-03-01 3:47 ` [dpdk-dev] [PATCH v6 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-03-01 3:47 ` [dpdk-dev] [PATCH v6 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-03-01 3:47 ` [dpdk-dev] [PATCH v6 4/4] app/test-pmd: test " Xutao Sun
2016-03-01 8:41 ` [dpdk-dev] [PATCH v7 0/4] Add tunnel filter support for IP in GRE on i40e Xutao Sun
2016-03-01 8:41 ` [dpdk-dev] [PATCH v7 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure Xutao Sun
2016-03-08 23:08 ` Thomas Monjalon
2016-03-08 23:20 ` Thomas Monjalon
2016-03-01 8:41 ` [dpdk-dev] [PATCH v7 2/4] lib/ether: add IP in GRE type Xutao Sun
2016-03-01 8:41 ` [dpdk-dev] [PATCH v7 3/4] driver/i40e: implement tunnel filter for IP in GRE Xutao Sun
2016-03-01 8:41 ` [dpdk-dev] [PATCH v7 4/4] app/test-pmd: test " Xutao Sun
2016-03-02 7:04 ` Liu, Yong [this message]
2016-03-02 7:31 ` [dpdk-dev] [PATCH v7 0/4] Add tunnel filter support for IP in GRE on i40e Wu, Jingjing
2016-03-10 3:05 ` [dpdk-dev] [PATCH v8 0/4] This patch set adds " Jingjing Wu
2016-03-10 3:05 ` [dpdk-dev] [PATCH v8 1/4] lib/ether: optimize struct rte_eth_tunnel_filter_conf Jingjing Wu
2016-03-13 12:01 ` Thomas Monjalon
2016-03-10 3:06 ` [dpdk-dev] [PATCH v8 2/4] lib/ether: add IP in GRE type Jingjing Wu
2016-03-10 3:06 ` [dpdk-dev] [PATCH v8 3/4] driver/i40e: implement tunnel filter for IP in GRE Jingjing Wu
2016-03-10 3:06 ` [dpdk-dev] [PATCH v8 4/4] app/test-pmd: test " Jingjing Wu
2016-03-13 14:18 ` [dpdk-dev] [PATCH v8 0/4] This patch set adds tunnel filter support for IP in GRE on i40e Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E144FFC97@SHSMSX103.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dev@dpdk.org \
--cc=xutao.sun@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).