From: Olivier Matz Date: Wed, 12 Oct 2016 15:39:48 +0000 (+0200) Subject: app/testpmd: display Rx port in checksum engine X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6eab3078591c7688336c312e0366bbed5ee609a5;p=dpdk.git app/testpmd: display Rx port in checksum engine This information is useful when debugging, especially with bidirectional traffic. Signed-off-by: Olivier Matz Acked-by: Pablo de Lara --- diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index 34d4b119a2..dbd8dc4d4c 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -798,8 +798,8 @@ pkt_burst_checksum_forward(struct fwd_stream *fs) char buf[256]; printf("-----------------\n"); - printf("mbuf=%p, pkt_len=%u, nb_segs=%hhu:\n", - m, m->pkt_len, m->nb_segs); + printf("port=%u, mbuf=%p, pkt_len=%u, nb_segs=%hhu:\n", + fs->rx_port, m, m->pkt_len, m->nb_segs); /* dump rx parsed packet info */ rte_get_rx_ol_flag_list(rx_ol_flags, buf, sizeof(buf)); printf("rx: l2_len=%d ethertype=%x l3_len=%d "