DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment
@ 2018-11-27 15:10 Lee Daly
  2018-11-27 15:17 ` Trahe, Fiona
  0 siblings, 1 reply; 3+ messages in thread
From: Lee Daly @ 2018-11-27 15:10 UTC (permalink / raw)
  To: fiona.trahe; +Cc: dev, Lee Daly, stable

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")
Cc: stable@dpdk.org
Cc: fiona.trahe@intel.com

Signed-off-by: Lee Daly <lee.daly@intel.com>
---
 lib/librte_compressdev/rte_comp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h
index 395ce29..ea306d5 100644
--- a/lib/librte_compressdev/rte_comp.h
+++ b/lib/librte_compressdev/rte_comp.h
@@ -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
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment
  2018-11-27 15:10 [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment Lee Daly
@ 2018-11-27 15:17 ` Trahe, Fiona
  2018-12-18 10:22   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Trahe, Fiona @ 2018-11-27 15:17 UTC (permalink / raw)
  To: Daly, Lee; +Cc: dev, stable



> -----Original Message-----
> From: Daly, Lee
> Sent: Tuesday, November 27, 2018 8:10 AM
> To: Trahe, Fiona <fiona.trahe@intel.com>
> Cc: dev@dpdk.org; Daly, Lee <lee.daly@intel.com>; stable@dpdk.org
> 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.
> 
> Fixes: f87bdc1ddcf4 ("compressdev: add compression specific data")
> Cc: stable@dpdk.org
> Cc: fiona.trahe@intel.com
> 
> Signed-off-by: Lee Daly <lee.daly@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment
  2018-11-27 15:17 ` Trahe, Fiona
@ 2018-12-18 10:22   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2018-12-18 10:22 UTC (permalink / raw)
  To: Trahe, Fiona, Daly, Lee; +Cc: dev, stable



On 11/27/2018 8:47 PM, Trahe, Fiona wrote:
>
>> -----Original Message-----
>> From: Daly, Lee
>> Sent: Tuesday, November 27, 2018 8:10 AM
>> To: Trahe, Fiona <fiona.trahe@intel.com>
>> Cc: dev@dpdk.org; Daly, Lee <lee.daly@intel.com>; stable@dpdk.org
>> 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.
>>
>> Fixes: f87bdc1ddcf4 ("compressdev: add compression specific data")
>> Cc: stable@dpdk.org
>> Cc: fiona.trahe@intel.com
>>
>> Signed-off-by: Lee Daly <lee.daly@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
>
Applied to dpdk-next-crypto

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-18 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 15:10 [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment Lee Daly
2018-11-27 15:17 ` Trahe, Fiona
2018-12-18 10:22   ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).