aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/tle_tcp.h
diff options
context:
space:
mode:
authorRemy Horton <remy.horton@intel.com>2017-05-30 10:53:25 +0100
committerRemy Horton <remy.horton@intel.com>2017-06-30 11:09:47 +0100
commite151ee29d02d7802fab9e32b50ced54fd8d64160 (patch)
treea8488696519a8900ab23eb7dd1f02fc3b3b9fb0f /lib/libtle_l4p/tle_tcp.h
parent6e95f5eca55672bdd90aab6cdbb3b479985782f3 (diff)
Add l4fwd RXTX mode
This mode allows for transactions where the request and response are of different payload sizes Change-Id: I0744159f0618c9241e576a4af1c02765bbf1dd9f Signed-off-by: Remy Horton <remy.horton@intel.com>
Diffstat (limited to 'lib/libtle_l4p/tle_tcp.h')
-rw-r--r--lib/libtle_l4p/tle_tcp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libtle_l4p/tle_tcp.h b/lib/libtle_l4p/tle_tcp.h
index ec89746..9086658 100644
--- a/lib/libtle_l4p/tle_tcp.h
+++ b/lib/libtle_l4p/tle_tcp.h
@@ -362,6 +362,16 @@ uint16_t tle_tcp_tx_bulk(struct tle_dev *dev, struct rte_mbuf *pkt[],
*/
int tle_tcp_process(struct tle_ctx *ctx, uint32_t num);
+/**
+ * Get current TCP maximum segment size
+ * @param stream
+ * Stream to get MSS from.
+ * @return
+ * Maximum segment size in bytes, if successful.
+ * Negative on failure.
+ */
+int tle_tcp_stream_get_mss(const struct tle_stream * const stream);
+
#ifdef __cplusplus
}
#endif