Using IPv6 flow-label to swiftly route around avoid congested or disconnected network path can greatly improve TCP reliability. This patch adds SNMP counters and a OPT_STATS counter to track both host-level and connection-level statistics. Network administrators can use these counters to evaluate the impact of this new ability better. Export count for rehash attempts to 1) two SNMP counters: TcpTimeoutRehash (rehash due to timeouts), and TcpDuplicateDataRehash (rehash due to receiving duplicate packets) 2) Timestamping API SOF_TIMESTAMPING_OPT_STATS.
Showing the changes to include/uapi/linux (2 of 7 files). Show all
Unified · Split
| @@ -285,6 +285,8 @@ enum · 284 unmodified lines | ||
| 285 | 285 | LINUX_MIB_TCPRCVQDROP, /* TCPRcvQDrop */ |
| 286 | 286 | LINUX_MIB_TCPWQUEUETOOBIG, /* TCPWqueueTooBig */ |
| 287 | 287 | LINUX_MIB_TCPFASTOPENPASSIVEALTKEY, /* TCPFastOpenPassiveAltKey */ |
| 288 | + LINUX_MIB_TCPTIMEOUTREHASH, /* TCPTimeoutRehash */ | |
| 289 | + LINUX_MIB_TCPDUPLICATEDATAREHASH, /* TCPDuplicateDataRehash */ | |
| 288 | 290 | __LINUX_MIB_MAX |
| 289 | 291 | }; |
| 290 | 292 | |
| @@ -311,6 +311,7 @@ enum { · 310 unmodified lines | ||
| 311 | 311 | TCP_NLA_DSACK_DUPS, /* DSACK blocks received */ |
| 312 | 312 | TCP_NLA_REORD_SEEN, /* reordering events seen */ |
| 313 | 313 | TCP_NLA_SRTT, /* smoothed RTT in usecs */ |
| 314 | + TCP_NLA_TIMEOUT_REHASH, /* Timeout-triggered rehash attempts */ | |
| 314 | 315 | }; |
| 315 | 316 | |
| 316 | 317 | /* for TCP_MD5SIG socket option */ |