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
.
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
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
, 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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
/* 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
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
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
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(-
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
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
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
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(-
101 - 200 of 319 matches
Mail list logo