[dpdk-dev] [PATCH v2 18/20] testpmd: fix TSO when using outer checksum offloads

Olivier Matz olivier.matz at 6wind.com
Wed Feb 4 10:25:23 CET 2015


The l4_len has also to be copied in mbuf in case we are offloading outer
IP checksum. Currently, TSO + outer checksum is not supported by any
driver but it will soon be supported by i40e.

Pointed-out-by: Jijiang Liu <jijiang.liu at intel.com>
Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
---
 app/test-pmd/csumonly.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c
index 88f7696..5ddbaf5 100644
--- a/app/test-pmd/csumonly.c
+++ b/app/test-pmd/csumonly.c
@@ -585,6 +585,7 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)
 				m->outer_l3_len = info.outer_l3_len;
 				m->l2_len = info.l2_len;
 				m->l3_len = info.l3_len;
+				m->l4_len = info.l4_len;
 			}
 			else {
 				/* if there is a outer UDP cksum
-- 
2.1.4



More information about the dev mailing list