From 0048223baad2b58a4e91aaeb2d05886499bbe004 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 2 Aug 2019 12:52:00 -0700 Subject: 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 --- src/vnet/session/transport.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/vnet/session/transport.h') 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 -- cgit 1.2.3-korg