Skip to contentSkip to conversation

lib/compress: fix incorrect structure comment

PATCH Applied Lee Daly 3 participants 3 messages Nov 27, 2018 – Dec 18, 2018

lore
Share & tools
lore

Lee Daly

author
#0 lore raw

PATCH 1/1 lib/compress: fix incorrect structure comment

Fixes incorrect comment on compressdev rte_comp_op structure element. Comment needed to be updated to be compliant with the use of chained mbufs.

Fixes f87bdc1ddcf4 ("compressdev: add compression specific data")
---
 lib/librte_compressdev/rte_comp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_compressdev/rte_comp.h +2 -2
index 395ce29..ea306d5 100644
@@ -310,7 +310,7 @@ struct rte_comp_op {
 	struct rte_mbuf *m_src;
 	/**< source mbuf
 	 * The total size of the input buffer(s) can be retrieved using
-	 * rte_pktmbuf_data_len(m_src). The max data size which can fit in a
+	 * rte_pktmbuf_pkt_len(m_src). The max data size which can fit in a
 	 * single mbuf is limited by the uint16_t rte_mbuf.data_len to 64k-1.
 	 * If the input data is bigger than this it can be passed to the PMD in
 	 * a chain of mbufs if the PMD's capabilities indicate it supports this.
@@ -318,7 +318,7 @@ struct rte_comp_op {
 	struct rte_mbuf *m_dst;
 	/**< destination mbuf
 	 * The total size of the output buffer(s) can be retrieved using
-	 * rte_pktmbuf_data_len(m_dst). The max data size which can fit in a
+	 * rte_pktmbuf_pkt_len(m_dst). The max data size which can fit in a
 	 * single mbuf is limited by the uint16_t rte_mbuf.data_len to 64k-1.
 	 * If the output data is expected to be bigger than this a chain of
 	 * mbufs can be passed to the PMD if the PMD's capabilities indicate
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines

-----Original Message-----
From: Daly, Lee
Sent: Tuesday, November 27, 2018 8:10 AM
To: Trahe, Fiona <[email protected]>
Cc: [email protected]; Daly, Lee <[email protected]>; [email protected]
Subject: [PATCH] lib/compress: fix incorrect structure comment

Fixes incorrect comment on compressdev rte_comp_op structure element. Comment needed to be updated to be compliant with the use of chained mbufs.

Quoted 5 lines
Fixes f87bdc1ddcf4 ("compressdev: add compression specific data")
Applied
#2 lore raw
Quoted 12 lines · Fiona
Quoted 12 lines

-----Original Message-----
From: Daly, Lee
Sent: Tuesday, November 27, 2018 8:10 AM
To: Trahe, Fiona <[email protected]>
Cc: [email protected]; Daly, Lee <[email protected]>; [email protected]
Subject: [PATCH] lib/compress: fix incorrect structure comment

Fixes incorrect comment on compressdev rte_comp_op structure element. Comment needed to be updated to be compliant with the use of chained mbufs.

Quoted 7 lines
Quoted 5 lines
Fixes f87bdc1ddcf4 ("compressdev: add compression specific data")

Applied to dpdk-next-crypto

Thanks