diff --git a/usr/src/uts/common/io/cxgbe/t4nex/adapter.h b/usr/src/uts/common/io/cxgbe/t4nex/adapter.h index 34659a32c6..15b5ef6943 100644 --- a/usr/src/uts/common/io/cxgbe/t4nex/adapter.h +++ b/usr/src/uts/common/io/cxgbe/t4nex/adapter.h @@ -480,6 +480,7 @@ uint32_t pullup_late; /* # of pullups while building frame's SGL */ uint32_t pullup_failed; /* # of failed pullups */ uint32_t csum_failed; /* # of csum reqs we failed to fulfill */ + uint64_t tunnel_lso_fail; /* # of tunneled LSO failures */ }; /* Ethernet packet transmission queue */ diff --git a/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c b/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c index f8285b3adf..50af355b4c 100644 --- a/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c +++ b/usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c @@ -3138,7 +3138,7 @@ /* For tunneled TSO, check protos and fixup outer IPv4 cksum */ if (is_tunneled && do_tso && txinfo->flags != 0 && !tun_fix_partial_v4(&m, outer_info)) { - pi->stats.tx_error_frames += 1; + txq->stats.tunnel_lso_fail++; } /* Firmware work request header */