summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/transport.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-08-02 12:52:00 -0700
committerDave Wallace <dwallacelf@gmail.com>2019-08-05 16:24:45 +0000
commit0048223baad2b58a4e91aaeb2d05886499bbe004 (patch)
treeb4990152bdda07f93b99e5fc75e4421353f53417 /src/vnet/session/transport.h
parent470b2a61659d76c1fc03352d42af6f3f3945330f (diff)
session: cache align transport base class
Type:refactor Also remove tx stats. Expectation is that transports will keep track of them. Change-Id: I083b328d87d0ad3688b630ddb5ef97827a4dbc2b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r--src/vnet/session/transport.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h
index 058a9aee34c..c4f74ebe991 100644
--- a/src/vnet/session/transport.h
+++ b/src/vnet/session/transport.h
@@ -237,16 +237,15 @@ transport_connection_is_tx_paced (transport_connection_t * tc)
u8 *format_transport_pacer (u8 * s, va_list * args);
/**
- * Update tx byte stats for transport connection
+ * Update tx bytes for paced transport connection
*
- * If tx pacing is enabled, this also updates pacer bucket to account for the
+ * If tx pacing is enabled, this update pacer bucket to account for the
* amount of bytes that have been sent.
*
* @param tc transport connection
- * @param pkts packets recently sent
* @param bytes bytes recently sent
*/
-void transport_connection_update_tx_stats (transport_connection_t * tc,
+void transport_connection_update_tx_bytes (transport_connection_t * tc,
u32 bytes);
void