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/linux (1 of 7 files). Show all
Unified · Split
| @@ -386,6 +386,8 @@ struct tcp_sock { · 385 unmodified lines | |||
| 386 | #define BPF_SOCK_OPS_TEST_FLAG(TP, ARG) 0 | 386 | #define BPF_SOCK_OPS_TEST_FLAG(TP, ARG) 0 |
| 387 | #endif | 387 | #endif |
| 388 | 388 | ||
| 389 | u16 timeout_rehash; /* Timeout-triggered rehash attempts */ | ||
| 390 | |||
| 389 | u32 rcv_ooopack; /* Received out-of-order packets, for tcpinfo */ | 391 | u32 rcv_ooopack; /* Received out-of-order packets, for tcpinfo */ |
| 390 | 392 | ||
| 391 | /* Receiver side RTT estimation */ | 393 | /* Receiver side RTT estimation */ |