[dpdk-dev] [PATCH] examples/tep_termination: Add a compilation option for the VXLAN sample

2015-06-25 Thread Jijiang Liu
Add a compilation option for the VXLAN sample. Signed-off-by: Jijiang Liu --- examples/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 081b768..b4eddbd 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -67,7

[dpdk-dev] [PATCH] doc/sample_app_ug:add a VXLAN sample guide

2015-06-25 Thread Jijiang Liu
. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- .../sample_app_ug/img/overlay_networking.svg | 820 .../sample_app_ug/img/tep_termination_arch.svg | 551 + doc/guides/sample_app_ug/index.rst |2 + doc/guides

[dpdk-dev] [PATCH] doc/sample_app_ug:add a VXLAN sample guide

2015-06-23 Thread Jijiang Liu
Add a VXLAN sample guide in the sample_app_ug directory. It includes: - overlay_networking picture with png format. - TEP termination framework picture with png format. - VXLAN sample guide description with rst format. Signed-off-by: Jijiang Liu --- .../sample_app_ug/img

[dpdk-dev] [PATCH v5 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-06-23 Thread Jijiang Liu
Add the encapsulation and decapsulation options. The two flags are enabled by default. Sometimes we want to know the performance influence of the encapsulation and decapsulation operations, and I think we should add the two configuration options. Signed-off-by: Jijiang Liu --- examples

[dpdk-dev] [PATCH v5 09/10] examples/tep_termination:add bad Rx checksum statistics of inner IP and L4

2015-06-23 Thread Jijiang Liu
Add the bad Rx checksum statistics of inner IP and L4. The number of packets with bad RX IP and L4 checksum in inner header is recorded. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 10 +- examples/tep_termination/main.h|4 examples

[dpdk-dev] [PATCH v5 08/10] examples/tep_termination:add TSO offload configuration

2015-06-23 Thread Jijiang Liu
Add the tso-segsz option for TSO offload. If the 'tso-segsz' is not 0, it means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 19 +++ examples/tep_termination/vxlan.c |7 +++ examples/tep_termination/vxlan.h

[dpdk-dev] [PATCH v5 07/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-06-23 Thread Jijiang Liu
Add Tx checksum offload configuration for inner header. For UDP tunneling packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 19 + examples/tep_termination/vxlan.c | 81

[dpdk-dev] [PATCH v5 06/10] examples/tep_termination:add tunnel filter type configuration

2015-06-23 Thread Jijiang Liu
Add the filter types for VXLAN packet. The following filter type are added here. - Inner MAC and tenant ID - Inner MAC and tenent ID, and Outer MAC - Inner MAC and tenant ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 22 ++ examples

[dpdk-dev] [PATCH v5 05/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-06-23 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable. For i40e, it has 16 entries in total. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 19 +++ examples/tep_termination/vxlan_setup.c | 13 - examples/tep_termination/vxlan_setup.h

[dpdk-dev] [PATCH v5 04/10] examples/tep_termination:implement VXLAN packet processing

2015-06-23 Thread Jijiang Liu
Implement the VXLAN packet processing functions. - VXLAN port configuration - VXLAN tunnel setup - VXLAN tunnel destroying - VXLAN packet processing for Rx side - VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples

[dpdk-dev] [PATCH v5 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-06-23 Thread Jijiang Liu
- Tunneling packet processing for Tx side - Tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c|1 + examples/tep_termination/vxlan_setup.h | 77 2 files changed, 78 insertions

[dpdk-dev] [PATCH v5 02/10] examples/tep_termination:define the basic VXLAN port information

2015-06-23 Thread Jijiang Liu
Add some basic VXLAN definations in vxlan.h file. It includes VXLAN port information and VXLAN device structures. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 60

[dpdk-dev] [PATCH v5 01/10] examples/tep_termination:initialize the VXLAN sample

2015-06-23 Thread Jijiang Liu
This patch creates the virtio devices management mechanism. These functions are from the vHost example, which include: - virtio device creation. - virtio device destroying. - virtio device maintenance. Signed-off-by: Jijiang Liu --- examples/Makefile |1 + examples

[dpdk-dev] [PATCH v5 00/10] Add a VXLAN sample

2015-06-23 Thread Jijiang Liu
rrors using gcc 4.9.2. Jijiang Liu (10): create VXLAN sample framework using virtio device management function add basic VXLAN structures addthe pluggable structures implement VXLAN packet processing add udp port configuration add filter type configuration add tx checksum offload co

[dpdk-dev] [PATCH v4 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-06-18 Thread Jijiang Liu
The two flags are enabled by default. Sometimes we want to know the performance influence of the encapsulation and decapsulation operations, and I think we should add the two configuration options. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 40

[dpdk-dev] [PATCH v4 09/10] examples/tep_termination:add bad Rx checksum statistics of inner IP and L4

2015-06-18 Thread Jijiang Liu
The number of packets with bad RX IP and L4 checksum in inner header is recorded. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 10 +- examples/tep_termination/main.h|4 examples/tep_termination/vxlan_setup.c | 10 ++ examples

[dpdk-dev] [PATCH v4 08/10] examples/tep_termination:add TSO offload configuration

2015-06-18 Thread Jijiang Liu
If the 'tso-segsz' is not 0, it means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 19 +++ examples/tep_termination/vxlan.c |7 +++ examples/tep_termination/vxlan.h |2 ++ examples/tep_termination

[dpdk-dev] [PATCH v4 07/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-06-18 Thread Jijiang Liu
For UDP tunneling packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 19 + examples/tep_termination/vxlan.c | 81 ++ examples/tep_termination

[dpdk-dev] [PATCH v4 06/10] examples/tep_termination:add tunnel filter type configuration

2015-06-18 Thread Jijiang Liu
The following filter types are supported for VXLAN: 1> Inner MAC and tenent ID 2> Inner MAC and tenent ID, and Outer MAC 3> Inner MAC and tenent ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 22 ++ examples/tep_termination/vxlan_setup

[dpdk-dev] [PATCH v4 05/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-06-18 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable, which has 16 entries in total for i40e. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 19 +++ examples/tep_termination/vxlan_setup.c | 13 - examples/tep_termination/vxlan_setup.h

[dpdk-dev] [PATCH v4 04/10] examples/tep_termination:implement VXLAN packet processing

2015-06-18 Thread Jijiang Liu
To implement the following functions: 1> VXLAN port configuration 2> VXLAN tunnel setup 3> VXLAN tunnel destroying 4> VXLAN packet processing for Rx side 5> VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termi

[dpdk-dev] [PATCH v4 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-06-18 Thread Jijiang Liu
; tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c|1 + examples/tep_termination/vxlan_setup.h | 77 2 files changed, 78 insertions(+), 0 deletions(-) create mode 100644 exampl

[dpdk-dev] [PATCH v4 02/10] examples/tep_termination:define the basic VXLAN port information

2015-06-18 Thread Jijiang Liu
Some basic VXLAN definations are added in this file, which includes VXLAN port information and VXLAN device structures. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 60

[dpdk-dev] [PATCH v4 01/10] examples/tep_termination:initialize the VXLAN sample

2015-06-18 Thread Jijiang Liu
This sample uses the basic virtio devices management function from the vHost example, which includes virtio device creation, destroying and maintenance. Signed-off-by: Jijiang Liu --- examples/Makefile |1 + examples/tep_termination/Makefile | 55 ++ examples

[dpdk-dev] [PATCH v4 00/10] Add a VXLAN sample

2015-06-18 Thread Jijiang Liu
there are still some wairnings(line over 80 characters) in the main.c and main.h file. Fixed all of warnings detected by the checkpatch.pl in other files. Jijiang Liu (10): create VXLAN sample framework using virtio device management function add basic VXLAN structures addthe

[dpdk-dev] [PATCH v3 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-06-08 Thread Jijiang Liu
The two flags are enabled by default. Sometimes we want to know the performance influence of the encapsulation and decapsulation operations, and I think we should add the two configuration options. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 36

[dpdk-dev] [PATCH v3 09/10] examples/tep_termination:add bad Rx checksum statistics of inner IP and L4

2015-06-08 Thread Jijiang Liu
The number of packets with bad RX IP and L4 checksum in inner header is recorded. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 10 +- examples/tep_termination/main.h|4 examples/tep_termination/vxlan_setup.c |8 3 files changed

[dpdk-dev] [PATCH v3 08/10] examples/tep_termination:add TSO offload configuration

2015-06-08 Thread Jijiang Liu
if the 'tso-segsz' is not 0, it means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 17 + examples/tep_termination/vxlan.c |8 examples/tep_termination/vxlan.h |1 + examples/tep_termination

[dpdk-dev] [PATCH v3 07/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-06-08 Thread Jijiang Liu
For UDP tunneling packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 17 examples/tep_termination/vxlan.c | 82 ++ 2 files changed, 99 insertions

[dpdk-dev] [PATCH v3 06/10] examples/tep_termination:add tunnel filter type configuration

2015-06-08 Thread Jijiang Liu
The following filter types are supported for VXLAN: 1> Inner MAC and tenent ID 2> Inner MAC and tenent ID, and Outer MAC 3> Inner MAC and tenent ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 20 ++ examples/tep_termination/vxlan_setup

[dpdk-dev] [PATCH v3 05/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-06-08 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable, which has 16 entries in total for i40e. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 18 +- examples/tep_termination/vxlan_setup.c | 13 - 2 files changed, 29 insertions(+), 2

[dpdk-dev] [PATCH v3 04/10] examples/tep_termination:implement VXLAN packet processing

2015-06-08 Thread Jijiang Liu
To implement the following functions: 1> VXLAN port configuration 2> VXLAN tunnel setup 3> VXLAN tunnel destroying 4> VXLAN packet processing for Rx side 5> VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termi

[dpdk-dev] [PATCH v3 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-06-08 Thread Jijiang Liu
; tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c|1 + examples/tep_termination/vxlan_setup.h | 77 2 files changed, 78 insertions(+), 0 deletions(-) create mode 100644 exampl

[dpdk-dev] [PATCH v3 02/10] examples/tep_termination:define the basic VXLAN port information

2015-06-08 Thread Jijiang Liu
Some basic VXLAN definations are added in this file, which includes VXLAN port information and VXLAN device structures. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 60

[dpdk-dev] [PATCH v3 01/10] examples/tep_termination:initialize the VXLAN sample

2015-06-08 Thread Jijiang Liu
This sample uses the basic virtio devices management function from the vHost example, which includes virtio device creation, destroying and maintenance. Signed-off-by: Jijiang Liu --- examples/Makefile |1 + examples/tep_termination/Makefile | 55 ++ examples

[dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample

2015-06-08 Thread Jijiang Liu
t don't follow coding rules. Removed the limitation of VXLAN packet size due to TSO support. Removed useless 'll_root_used' variable in vxlan_setup.c file. Removed defination and use of '_htons'. Jijiang Liu (10): create VXLAN sample framework using virtio device management functi

[dpdk-dev] [PATCH v2 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-05-29 Thread Jijiang Liu
The two flags are enabled by default, but sometimes we want to know the performance influence of the encapsulation and decapsulation operations, and I think we should add the two options Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 36

[dpdk-dev] [PATCH v2 09/10] examples/tep_termination:add bad Rx checksum statistics of inner IP and L4

2015-05-29 Thread Jijiang Liu
The number of packets with bad RX IP and L4 checksum in inner header is recorded. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 10 +- examples/tep_termination/main.h|4 examples/tep_termination/vxlan_setup.c |8 3 files changed

[dpdk-dev] [PATCH v2 08/10] examples/tep_termination:add TSO offload configuration

2015-05-29 Thread Jijiang Liu
If the 'tso-segsz' is not 0, which means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 17 + examples/tep_termination/vxlan.c |8 examples/tep_termination/vxlan.h |1 + examples/tep_termination

[dpdk-dev] [PATCH v2 07/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-05-29 Thread Jijiang Liu
For VXLAN packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 17 examples/tep_termination/vxlan.c | 80 ++ 2 files changed, 97 insertions(+), 0

[dpdk-dev] [PATCH v2 06/10] examples/tep_termination:add tunnel filter type configuration

2015-05-29 Thread Jijiang Liu
The following filter types are supported for VXLAN, 1> Inner MAC and tenent ID 2> Inner MAC and tenent ID, and Outer MAC 3> Inner MAC and tenent ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 20 ++ examples/tep_termination/vxlan_setup

[dpdk-dev] [PATCH v2 05/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-05-29 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable, which has 16 entries in total for i40e. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 18 +- examples/tep_termination/vxlan_setup.c | 13 - 2 files changed, 29 insertions(+), 2

[dpdk-dev] [PATCH v2 04/10] examples/tep_termination:implement VXLAN packet processing

2015-05-29 Thread Jijiang Liu
Implement the following functions: 1> VXLAN port configuration 2> VXLAN tunnel setup 3> VXLAN tunnel destroying 4> VXLAN packet processing for Rx side 5> VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termi

[dpdk-dev] [PATCH v2 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-05-29 Thread Jijiang Liu
; tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c|1 + examples/tep_termination/vxlan_setup.h | 78 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 exampl

[dpdk-dev] [PATCH v2 02/10] examples/tep_termination:define the basic VXLAN port information

2015-05-29 Thread Jijiang Liu
Some basic VXLAN definations are added in this file, which includes VXLAN port information and VXLAN device structures. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 60

[dpdk-dev] [PATCH v2 01/10] examples/tep_termination:initialize the VXLAN sample

2015-05-29 Thread Jijiang Liu
This sample uses the basic virtio devices management function from the vHost example, which includes virtio device creation, destroying and maintenance. Signed-off-by: Jijiang Liu --- examples/Makefile |1 + examples/tep_termination/Makefile | 55 ++ examples

[dpdk-dev] [PATCH v2 00/10] Add a VXLAN sample

2015-05-29 Thread Jijiang Liu
es of NICs will also be supported if they are able to support tunneling packet filter. V2 change: Fixed an issue about the 'nb_ports' duplication in check_ports_num(). Removed the inaccurate comment in main.c Fixed an issue about TSO offload. Jijiang Liu (10): create VXLAN sample framewor

[dpdk-dev] [PATCH] config:enlarge the default value of RTE_MAX_QUEUES_PER_PORT to 1024

2015-05-28 Thread Jijiang Liu
, each vmdq pool has 4 queues, there will be required 316 queues in a port. Signed-off-by: Jijiang Liu --- config/common_bsdapp |2 +- config/common_linuxapp |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/common_bsdapp b/config/common_bsdapp index c2374c0

[dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get

2015-05-19 Thread Jijiang Liu
To get device VMDQ info when only i40e VMDQ feature is enabled. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index 96700e4

[dpdk-dev] [PATCH 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-05-15 Thread Jijiang Liu
The two flags are enabled by default, but sometimes we want to know the performance influence of the encapsulation and decapsulation operations, and I think we should add the two options. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 36

[dpdk-dev] [PATCH 09/10] examples/tep_termination:add bad Rx checksum statistics of inner IP and L4

2015-05-15 Thread Jijiang Liu
The number of packets with bad RX IP and L4 checksum in inner header is recorded. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 10 +- examples/tep_termination/main.h|4 examples/tep_termination/vxlan_setup.c |8 3 files changed

[dpdk-dev] [PATCH 08/10] examples/tep_termination:add TSO offload configuration

2015-05-15 Thread Jijiang Liu
If the 'tso-segsz' is not 0, which means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 17 + examples/tep_termination/vxlan.c |6 ++ examples/tep_termination/vxlan.h |1 + examples/tep_termination

[dpdk-dev] [PATCH 07/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-05-15 Thread Jijiang Liu
For VXLAN packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 17 examples/tep_termination/vxlan.c | 80 ++ 2 files changed, 97 insertions(+), 0

[dpdk-dev] [PATCH 06/10] examples/tep_termination:add tunnel filter type configuration

2015-05-15 Thread Jijiang Liu
The follwoing filter types are supported for VXLAN, 1> Inner MAC and tenent ID 2> Inner MAC and tenent ID, and Outer MAC 3> Inner MAC and tenent ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 20 examples/tep_termination/vxlan_setup

[dpdk-dev] [PATCH 05/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-05-15 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable, which has 16 entries in total for i40e. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 18 +- examples/tep_termination/vxlan_setup.c | 13 - 2 files changed, 29 insertions(+), 2

[dpdk-dev] [PATCH 04/10] examples/tep_termination:implement VXLAN packet processing

2015-05-15 Thread Jijiang Liu
Implement the following functions: 1> VXLAN port configuration 2> VXLAN tunnel setup 3> VXLAN tunnel destroying 4> VXLAN packet processing for Rx side 5> VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termi

[dpdk-dev] [PATCH 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-05-15 Thread Jijiang Liu
; tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c|1 + examples/tep_termination/vxlan_setup.h | 78 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 exampl

[dpdk-dev] [PATCH 02/10] examples/tep_termination:define the basic VXLAN port information

2015-05-15 Thread Jijiang Liu
Some basic VXLAN definations are added in this file, which includes VXLAN port information and VXLAN device structures. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 60

[dpdk-dev] [PATCH 00/10] Add a VXLAN sample

2015-05-15 Thread Jijiang Liu
tested in the sample, but other types of NICs will also be supported if they are able to support tunneling packet filter. Jijiang Liu (10): create VXLAN sample framework using virtio device management function add basic VXLAN structures addthe pluggable structures implement VXLAN pa

[dpdk-dev] [PATCH RFC 10/10] examples/tep_termination:add the configuration for encapsulation and the decapsulation

2015-04-16 Thread Jijiang Liu
The two flags by default are enabled, but sometimes we want to know the performance influence due to encapsulation and decapsulation operations, and I think we should add the two options. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 36

[dpdk-dev] [PATCH RFC 09/10] examples/tep_termination:add TSO offload configuration

2015-04-16 Thread Jijiang Liu
If the 'tso-segsz' is not 0, which means TSO offload is enabled. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 19 +-- examples/tep_termination/vxlan.c |4 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/examples/tep_termination

[dpdk-dev] [PATCH RFC 08/10] examples/tep_termination:add Tx checksum offload configuration for inner header

2015-04-16 Thread Jijiang Liu
For VXLAN packet, the inner Tx checksum offload means inner IPv4 and inner L4(TCP/UDP/SCTP). Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c | 15 +++ examples/tep_termination/vxlan.c | 77 ++ 2 files changed, 92 insertions(+), 0

[dpdk-dev] [PATCH RFC 07/10] examples/tep_termination:add tunnel filter type configuration

2015-04-16 Thread Jijiang Liu
The follwoing filter types are supported for VXLAN, 1> Inner MAC and tenent ID 2> Inner MAC and tenent ID, and Outer MAC 3> Inner MAC and tenent ID Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 21 + examples/tep_termination/vxlan_setup

[dpdk-dev] [PATCH RFC 06/10] examples/tep_termination:add UDP port configuration for UDP tunneling packet

2015-04-16 Thread Jijiang Liu
The port number of UDP tunneling packet is configurable, which has 16 entries in total for i40e. Signed-off-by: Jijiang Liu --- examples/tep_termination/main.c| 14 ++ examples/tep_termination/vxlan.c |3 ++- examples/tep_termination/vxlan_setup.c | 17

[dpdk-dev] [PATCH RFC 05/10] examples/tep_termination:implement the APIs of encapsulation and decapsulation for VXLAN

2015-04-16 Thread Jijiang Liu
Fill the APIs of encapsulation and decapsulation for VXLAN packet; for the encapsulation operation, IPv6 is not supported now. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/Makefile |4 +- examples/tep_termination/vxlan.c | 160

[dpdk-dev] [PATCH RFC 04/10] examples/tep_termination:implement VXLAN packet processing

2015-04-16 Thread Jijiang Liu
Implement the following functions: 1> VXLAN port configuration 2> VXLAN tunnel setup 3> VXLAN tunnel destroying 4> VXLAN packet processing for Rx side 5> VXLAN packet processing for Tx side Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termi

[dpdk-dev] [PATCH RFC 03/10] examples/tep_termination:add the pluggable structures for VXLAN packet processing

2015-04-16 Thread Jijiang Liu
; tunnel parameter processing Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/vxlan_setup.h | 76 1 files changed, 76 insertions(+), 0 deletions(-) create mode 100644 examples/tep_termination/vxlan_setup.h dif

[dpdk-dev] [PATCH RFC 02/10] examples/tep_termination:define VXLAN device information and APIs

2015-04-16 Thread Jijiang Liu
Some basic VXLAN definations and APIs are added in this file, which include VXLAN device structure and the APIs for encapsulation and decapsulation. Signed-off-by: Jijiang Liu Signed-off-by: Thomas Long --- examples/tep_termination/main.c |1 + examples/tep_termination/vxlan.h | 81

[dpdk-dev] [PATCH RFC 01/10] examples/tep_termination:initialize the VXLAN example

2015-04-16 Thread Jijiang Liu
This example uses the basic virtio devices management function from the vHost example, which includes virtio device creation, destroying and maintenance. Signed-off-by: Jijiang Liu --- examples/Makefile |1 + examples/tep_termination/Makefile | 58 +++ examples

[dpdk-dev] [PATCH RFC 00/10] Add a VXLAN sample

2015-04-16 Thread Jijiang Liu
ly, only the i40e NIC is supported in the sample, but other types of NICs also can be supported later if those NICs are able to support tunneling packet filter. Jijiang Liu (10): create VXLAN sample framework using virtio device management function add basic VXLAN structures add

[dpdk-dev] [PATCH v3 3/3] i40e:advertise TSO capability

2015-02-26 Thread Jijiang Liu
Advertise the DEV_TX_OFFLOAD_TCP_TSO flag in the PMD features. It means that the i40e PMD supports the offload of TSO. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[dpdk-dev] [PATCH v3 2/3] i40e:enable TSO support

2015-02-26 Thread Jijiang Liu
This patch enables i40e TSO feature for both non-tunneling packet and tunneling packet Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz Signed-off-by: Grzegorz Galkowski --- lib/librte_pmd_i40e/i40e_rxtx.c | 60 +++--- lib/librte_pmd_i40e

[dpdk-dev] [PATCH v3 1/3] i40e:move Tx offloads parameters of i40e to separate structure

2015-02-26 Thread Jijiang Liu
The structure size is u64 so it could be used with single cpu operation. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz Signed-off-by: Grzegorz Galkowski --- lib/librte_pmd_i40e/i40e_rxtx.c | 39 +-- lib/librte_pmd_i40e/i40e_rxtx.h | 11

[dpdk-dev] [PATCH v3 0/3] support TSO on i40e

2015-02-26 Thread Jijiang Liu
2. patch order change Jijiang Liu (3): Move Tx offloads parameters of i40e to separate structure Enable i40e TSO feature for both non-tunneling packet and tunneling packet Advertise the DEV_TX_OFFLOAD_TCP_TSO flag in the PMD features lib/librte_pmd_i40e/i40e_ethdev.c |3

[dpdk-dev] [PATCH v2 2/2] i40e:enable TSO support

2015-02-13 Thread Jijiang Liu
This patch enables i40e TSO feature for both non-tunneling packet and tunneling packet. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_rxtx.c | 99 --- lib/librte_pmd_i40e/i40e_rxtx.h | 13 + 2 files

[dpdk-dev] [PATCH v2 1/2] i40e:advertise TSO capability

2015-02-13 Thread Jijiang Liu
Advertise the DEV_TX_OFFLOAD_TCP_TSO flag in the PMD features. It means that the i40e PMD supports the offload of TSO. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[dpdk-dev] [PATCH v2 0/2] support TSO on i40e

2015-02-13 Thread Jijiang Liu
This patch set enables i40e TSO feature for both non-tunneling packet and tunneling packet. Change logs: v2 change: rework based on Olivier's patch set [PATCH v2 00/20] enhance tx checksum offload API http://dpdk.org/ml/archives/dev/2015-February/012375.html Jijiang Liu (2

[dpdk-dev] [PATCH v2 4/4] app/testpmd:test NVGRE Tx checksum offload

2015-02-12 Thread Jijiang Liu
Enhance csum fwd engine based on current TX checksum framework in order to test TX Checksum offload for NVGRE packet. It includes: - IPv4 and IPv6 packet - outer L3, inner L3 and L4 checksum offload for Tx side. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c | 32

[dpdk-dev] [PATCH v2 3/4] app/testpmd:test RX tunnel filter for NVGRE packet

2015-02-12 Thread Jijiang Liu
Extend the "tunnel_filter" command in testpmd to test the RX tunnel filter API for NVGRE packet. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdli

[dpdk-dev] [PATCH v2 2/4] i40e:support RX tunnel filter for NVGRE packet

2015-02-12 Thread Jijiang Liu
The filter types supported are listed below for NVGRE packet: 1. Inner MAC and Inner VLAN ID. 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID. 4. Inner MAC address. 5. Outer MAC address, tenant ID and inner MAC address. Signed-off-by: Jijiang Liu

[dpdk-dev] [PATCH v2 1/4] librte_ether:add an ETHER_TYPE_TEB macro

2015-02-12 Thread Jijiang Liu
Add an Ethernet type definition for Transparent Ethernet Bridging. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_ether.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether/rte_ether.h b/lib/librte_ether/rte_ether.h index 7e7d22c..a8b3e1d 100644

[dpdk-dev] [PATCH v2 0/4] Support NVGRE on i40e

2015-02-12 Thread Jijiang Liu
checksum offload API; the changes are listed below, 1. remove nvgre_hdr definition from rte_ether.h file. It is not used in csumonly.c file. 2. remove filter type iip that is not supported well in current firmware. 3. remove GRE packet flag from mbuf. Jijiang Liu (4): add

[dpdk-dev] [PATCH 2/2] i40e:enable TSO support

2015-02-09 Thread Jijiang Liu
This patch enables i40e TSO feature for both non-tunneling packet and tunneling packet. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_rxtx.c | 99 --- lib/librte_pmd_i40e/i40e_rxtx.h | 13 + 2 files

[dpdk-dev] [PATCH 1/2] i40e:advertise TSO capability

2015-02-09 Thread Jijiang Liu
Advertise the DEV_TX_OFFLOAD_TCP_TSO flag in the PMD features. It means that the i40e PMD supports the offload of TSO. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[dpdk-dev] [PATCH 0/2] support TSO on i40e

2015-02-09 Thread Jijiang Liu
This patch set enables i40e TSO feature for both non-tunneling packet and tunneling packet. Change logs: v2 change: rework based on Olivier's patch set [PATCH v2 00/20] enhance tx checksum offload API http://dpdk.org/ml/archives/dev/2015-February/012375.html Jijiang Liu (2

[dpdk-dev] [PATCH] maintainer: claim review for Xen Dom0 support

2015-02-05 Thread Jijiang Liu
I will be a volunteer of reviewing the following files: lib/librte_eal/linuxapp/xen_dom0/* lib/librte_eal/linuxapp/eal/eal_xen_memory.c lib/librte_eal/linuxapp/eal/include/exec-env/rte_dom0_common.h Signed-off-by: Jijiang Liu --- MAINTAINERS |1 + 1 files changed, 1 insertions

[dpdk-dev] [PATCH] maintainer: claim review for Xen Dom0 support

2015-02-05 Thread Jijiang Liu
Signed-off-by: Jijiang Liu --- MAINTAINERS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9a63714..206783d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -110,6 +110,7 @@ Linux VFIO F: lib/librte_eal/linuxapp/eal/*vfio* Linux Xen +M

[dpdk-dev] [PATCH 5/6] i40e:support GRE tunnel TX checksum offload

2015-01-26 Thread Jijiang Liu
Support NVGRE TX checksum offload, which includes - outer L3(IP) checksum offload - inner L3(IP) checksum offload - inner L4(UDP, TCP and SCTP) checksum offload In addition, for GRE packet, the L4 tunnel type should be I40E_TXD_CTX_GRE_TUNNELING. Signed-off-by: Jijiang Liu --- lib

[dpdk-dev] [PATCH 4/6] mbuf:add a GRE TX tunnel ol_flag

2015-01-26 Thread Jijiang Liu
This flag is used to tell the NIC the TX packet is a GRE tunneled packet. Signed-off-by: Jijiang Liu --- lib/librte_mbuf/rte_mbuf.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 16059c6..a672bd8 100644

[dpdk-dev] [PATCH 3/6] app/testpmd:test RX tunnel filter for NVGRE packet

2015-01-26 Thread Jijiang Liu
Extend the "tunnel_filter" command in testpmd to test the RX tunnel filter API for NVGRE packet. Signed-off-by Jijiang Liu --- app/test-pmd/cmdline.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd

[dpdk-dev] [PATCH 3/3] lib/eal:igb_uio driver change

2015-01-23 Thread Jijiang Liu
Replace the CONFIG_XEN_DOM0 with the CONFIG_XEN and RTE_LIBRTE_XEN_DOM0 in the driver in order to mmap IO memory correctly. Signed-off-by: Jijiang Liu --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/librte_eal

[dpdk-dev] [PATCH 1/3] compilation:fix compilation issues of using gcc-4.3.4

2015-01-23 Thread Jijiang Liu
Fixed a compilation issue when using gcc-4.3.4 in SUSE Linux 11 SP3. Signe-off-by: Jijiang Liu --- app/test/test.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/test/test.h b/app/test/test.h index 896f7db..8b76ccf 100644 --- a/app/test/test.h +++ b/app/test

[dpdk-dev] [PATCH 0/3] dpdk/xen:support DPDK running on Xen Dom0 of SUSE Linux

2015-01-23 Thread Jijiang Liu
/* CONFIG_XEN */ //struct pci_dev; //struct msi_desc; //#endif /* CONFIG_XEN */ Jijiang Liu (3): fix compilation issue Dom0 driver change igb_uio driver change app/test/test.h |2 +- config/common_linuxapp |2 +- lib/librte_eal

[dpdk-dev] [PATCH 2/2] app/testpmd:csum fwd engine change

2015-01-16 Thread Jijiang Liu
change the palce of setting UDP tunneling packet offload flag. Signed-off-by: Jijiang Liu --- app/test-pmd/csumonly.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index 41711fd..57afdfc 100644 --- a/app/test-pmd

[dpdk-dev] [PATCH 1/2] i40e:support i40e TSO

2015-01-16 Thread Jijiang Liu
This patch enables i40e TSO feature for both non-tunneling packet and UDP tunneling packet. Signed-off-by: Jijiang Liu Signed-off-by: Miroslaw Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |3 +- lib/librte_pmd_i40e/i40e_rxtx.c | 111 +++- lib

[dpdk-dev] [PATCH v3 3/3] app/testpmd:change tx_checksum command and csum forwarding engine

2014-12-10 Thread Jijiang Liu
d the TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM and TESTPMD_TX_OFFLOAD_NON_TUNNEL_CKSUM flag. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 209 --- app/test-pmd/csumonly.c | 38 ++--- app/test-pmd/testpmd.h | 14 +++- 3 files changed, 234 insertions(+), 27 deletions(-

[dpdk-dev] [PATCH v3 2/3] i40e:support outer IPv4 checksum capability

2014-12-10 Thread Jijiang Liu
The DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM flag is added in i40e capability set, which means the i40e supports TX checksum offload of tunneling packet. Signed-off-by: Jijiang Liu --- lib/librte_pmd_i40e/i40e_ethdev.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib

[dpdk-dev] [PATCH v3 1/3] librte_ether:add outer IP offload capability flag

2014-12-10 Thread Jijiang Liu
If the flag is set in a PMD, which means the NIC(s) support TX checksum offload of tunneling packet. Signed-off-by: Jijiang Liu --- lib/librte_ether/rte_ethdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether

[dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine

2014-12-10 Thread Jijiang Liu
L_CKSUM flag in test-pmd application. v2 change: redefine the 'none' behaviour for "tx_checksum set tunnel (hw|sw|none) (port-id)" command. v3 change: typo correction in cmdline help Jijiang Liu (3): add outer IP offload capability in librte_ether. add outer IP checksum capabi

[dpdk-dev] [PATCH v2 3/3] app/testpmd:change tx_checksum command and csum forwarding engine

2014-12-09 Thread Jijiang Liu
d the TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM and TESTPMD_TX_OFFLOAD_NON_TUNNEL_CKSUM flag. Signed-off-by: Jijiang Liu --- app/test-pmd/cmdline.c | 209 --- app/test-pmd/csumonly.c | 38 ++--- app/test-pmd/testpmd.h | 14 +++- 3 files changed, 234 insertions(+), 27 deletions(-

<    1   2   3   4   >