From: Olivier Matz Date: Thu, 13 Oct 2016 14:16:07 +0000 (+0200) Subject: app/testpmd: display LRO segment size X-Git-Tag: spdx-start~5610 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;ds=sidebyside;h=58969992954ddee2e035350431ed68e405c8e40e;p=dpdk.git app/testpmd: display LRO segment size In csumonly engine, display the value of LRO segment if the LRO flag is set. Signed-off-by: Olivier Matz Reviewed-by: Maxime Coquelin Reviewed-by: Yuanhan Liu --- diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index da15185098..57e6ae276f 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -822,6 +822,8 @@ pkt_burst_checksum_forward(struct fwd_stream *fs) "l4_proto=%d l4_len=%d flags=%s\n", info.l2_len, rte_be_to_cpu_16(info.ethertype), info.l3_len, info.l4_proto, info.l4_len, buf); + if (rx_ol_flags & PKT_RX_LRO) + printf("rx: m->lro_segsz=%u\n", m->tso_segsz); if (info.is_tunnel == 1) printf("rx: outer_l2_len=%d outer_ethertype=%x " "outer_l3_len=%d\n", info.outer_l2_len,