app/testpmd: count outer IP checksum errors
authorLance Richardson <lance.richardson@broadcom.com>
Fri, 29 Jan 2021 22:35:54 +0000 (17:35 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Feb 2021 18:22:34 +0000 (19:22 +0100)
commitd139cf231ba3eb740929a7c7a9118dfb627434a5
tree745fffe99c621a27db6236e16d56338c15042ae7
parent3a1aca384d3ac628dec8830714826e323f509dec
app/testpmd: count outer IP checksum errors

Count and display outer IP checksum errors in the checksum
forwarder.

Example forwarder stats output:
  RX-packets: 158            RX-dropped: 0             RX-total: 158
  Bad-ipcsum: 48             Bad-l4csum: 48            Bad-outer-l4csum: 6
  Bad-outer-ipcsum: 40
  TX-packets: 0              TX-dropped: 0             TX-total: 0

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Acked-by: Wisam Jaddo <wisamm@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/csumonly.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h