aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/tle_tcp.h
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2021-05-14 11:57:09 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2021-05-14 11:57:09 +0000
commitf91fc4629e95f861ddc520225c815167d117e22e (patch)
tree6a0b3cb971cb2857da3c7b5111bc64d2b0ac1b60 /lib/libtle_l4p/tle_tcp.h
parenta33ac5f5b04058c1cc10ac9e0c1a4f2d0f24f80b (diff)
Revert "l4p/tcp: introduce tle_tcp_stream_rx_bulk() API"
This reverts commit a33ac5f5b04058c1cc10ac9e0c1a4f2d0f24f80b. Reason for revert: wrong branch Change-Id: I11c11f9ffd3415bcb9dc867dc93abb41f999cbed Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'lib/libtle_l4p/tle_tcp.h')
-rw-r--r--lib/libtle_l4p/tle_tcp.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/libtle_l4p/tle_tcp.h b/lib/libtle_l4p/tle_tcp.h
index 9947041..3155dfa 100644
--- a/lib/libtle_l4p/tle_tcp.h
+++ b/lib/libtle_l4p/tle_tcp.h
@@ -414,40 +414,6 @@ ssize_t tle_tcp_stream_writev(struct tle_stream *ts, struct rte_mempool *mp,
uint16_t tle_tcp_rx_bulk(struct tle_dev *dev, struct rte_mbuf *pkt[],
struct rte_mbuf *rp[], int32_t rc[], uint16_t num);
-
-/**
- * Take input mbufs and put them for processing to given TCP streams.
- * expects that for each input packet:
- * - l2_len, l3_len, l4_len are setup correctly
- * - (packet_type & (RTE_PTYPE_L3_IPV4 | RTE_PTYPE_L3_IPV6)) != 0,
- * - (packet_type & RTE_PTYPE_L4_TCP) != 0,
- * During delivery L3/L4 checksums will be verified
- * (either relies on HW offload or in SW).
- * May cause some extra packets to be queued for TX.
- * This function is not multi-thread safe.
- * @param ts
- * TCP stream given packets belong to.
- * Note that it is caller repsonsibility to make sure that input packets
- * belong to given stream.
- * @param pkt
- * The burst of input packets that need to be processed.
- * @param rp
- * The array that will contain pointers of unprocessed packets at return.
- * Should contain at least *num* elements.
- * @param rc
- * The array that will contain error code for corresponding rp[] entry:
- * - ENOENT - invalid stream.
- * - ENOBUFS - receive buffer of the destination stream is full.
- * - EINVAL - invalid input packet encountered.
- * Should contain at least *num* elements.
- * @param num
- * Number of elements in the *pkt* input array.
- * @return
- * number of packets delivered to the TCP stream.
- */
-uint16_t tle_tcp_stream_rx_bulk(struct tle_stream *ts, struct rte_mbuf *pkt[],
- struct rte_mbuf *rp[], int32_t rc[], uint16_t num);
-
/**
* Fill *pkt* with pointers to the packets that have to be transmitted
* over given TCP device.