From: Lee Daly Date: Tue, 27 Nov 2018 15:10:24 +0000 (+0000) Subject: compressdev: fix structure comment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9d3e1cb1355db3b6593862e12d4304fbc4b2240d;p=dpdk.git compressdev: fix 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 Signed-off-by: Lee Daly Acked-by: Fiona Trahe --- diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h index c2b3de8ed5..67423bdc58 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