diff options
| author | David S. Miller <davem@davemloft.net> | 2014-09-29 00:13:17 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-09-29 00:13:17 -0400 |
| commit | a11238ec28d40f56f8b939f6f125694dba3adb70 (patch) | |
| tree | 3a13df46a74af91d928dc4ac5150c2815ee42207 /include/uapi/linux | |
| parent | 53dfd501819a6e9c3a7d56cac1ddaf03fe90800d (diff) | |
| parent | e3118e8359bb7c59555aca60c725106e6d78c5ce (diff) | |
Merge branch 'dctcp'
Daniel Borkmann says:
====================
net: tcp: DCTCP congestion control algorithm
This patch series adds support for the DataCenter TCP (DCTCP) congestion
control algorithm. Please see individual patches for the details.
The last patch adds DCTCP as a congestion control module, and previous
ones add needed infrastructure to extend the congestion control framework.
Joint work between Florian Westphal, Daniel Borkmann and Glenn Judd.
v3 -> v2:
- No changes anywhere, just a resend as requested by Dave
- Added Stephen's ACK
v1 -> v2:
- Rebased to latest net-next
- Addressed Eric's feedback, thanks!
- Update stale comment wrt. DCTCP ECN usage
- Don't call INET_ECN_xmit for every packet
- Add dctcp ss/inetdiag support to expose internal stats to userspace
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/inet_diag.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/uapi/linux/inet_diag.h b/include/uapi/linux/inet_diag.h index bbde90fa5838..d65c0a09efd3 100644 --- a/include/uapi/linux/inet_diag.h +++ b/include/uapi/linux/inet_diag.h | |||
| @@ -110,10 +110,10 @@ enum { | |||
| 110 | INET_DIAG_TCLASS, | 110 | INET_DIAG_TCLASS, |
| 111 | INET_DIAG_SKMEMINFO, | 111 | INET_DIAG_SKMEMINFO, |
| 112 | INET_DIAG_SHUTDOWN, | 112 | INET_DIAG_SHUTDOWN, |
| 113 | INET_DIAG_DCTCPINFO, | ||
| 113 | }; | 114 | }; |
| 114 | 115 | ||
| 115 | #define INET_DIAG_MAX INET_DIAG_SHUTDOWN | 116 | #define INET_DIAG_MAX INET_DIAG_DCTCPINFO |
| 116 | |||
| 117 | 117 | ||
| 118 | /* INET_DIAG_MEM */ | 118 | /* INET_DIAG_MEM */ |
| 119 | 119 | ||
| @@ -133,5 +133,14 @@ struct tcpvegas_info { | |||
| 133 | __u32 tcpv_minrtt; | 133 | __u32 tcpv_minrtt; |
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | /* INET_DIAG_DCTCPINFO */ | ||
| 137 | |||
| 138 | struct tcp_dctcp_info { | ||
| 139 | __u16 dctcp_enabled; | ||
| 140 | __u16 dctcp_ce_state; | ||
| 141 | __u32 dctcp_alpha; | ||
| 142 | __u32 dctcp_ab_ecn; | ||
| 143 | __u32 dctcp_ab_tot; | ||
| 144 | }; | ||
| 136 | 145 | ||
| 137 | #endif /* _UAPI_INET_DIAG_H_ */ | 146 | #endif /* _UAPI_INET_DIAG_H_ */ |
