Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/t4_sge.c
Show First 20 Lines • Show All 4,421 Lines • ▼ Show 20 Lines | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, "raw_wrs", CTLFLAG_RD, | ||||
&txq->raw_wrs, "# of raw work requests (non-packets)"); | &txq->raw_wrs, "# of raw work requests (non-packets)"); | ||||
SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, "vxlan_tso_wrs", | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, "vxlan_tso_wrs", | ||||
CTLFLAG_RD, &txq->vxlan_tso_wrs, "# of VXLAN TSO work requests"); | CTLFLAG_RD, &txq->vxlan_tso_wrs, "# of VXLAN TSO work requests"); | ||||
SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, "vxlan_txcsum", | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, "vxlan_txcsum", | ||||
CTLFLAG_RD, &txq->vxlan_txcsum, | CTLFLAG_RD, &txq->vxlan_txcsum, | ||||
"# of times hardware assisted with inner checksums (VXLAN)"); | "# of times hardware assisted with inner checksums (VXLAN)"); | ||||
#ifdef KERN_TLS | #ifdef KERN_TLS | ||||
if (sc->flags & KERN_TLS_OK) { | if (is_ktls(sc)) { | ||||
SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | ||||
"kern_tls_records", CTLFLAG_RD, &txq->kern_tls_records, | "kern_tls_records", CTLFLAG_RD, &txq->kern_tls_records, | ||||
"# of NIC TLS records transmitted"); | "# of NIC TLS records transmitted"); | ||||
SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | ||||
"kern_tls_short", CTLFLAG_RD, &txq->kern_tls_short, | "kern_tls_short", CTLFLAG_RD, &txq->kern_tls_short, | ||||
"# of short NIC TLS records transmitted"); | "# of short NIC TLS records transmitted"); | ||||
SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | SYSCTL_ADD_UQUAD(&vi->ctx, children, OID_AUTO, | ||||
"kern_tls_partial", CTLFLAG_RD, &txq->kern_tls_partial, | "kern_tls_partial", CTLFLAG_RD, &txq->kern_tls_partial, | ||||
▲ Show 20 Lines • Show All 2,103 Lines • Show Last 20 Lines |