From: Fiona Trahe Date: Wed, 16 May 2018 14:18:59 +0000 (+0100) Subject: compressdev: clarify buffer size limitation X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cb26360ec127331f0b0f914335526a14285f8874;p=dpdk.git compressdev: clarify buffer size limitation Signed-off-by: Fiona Trahe Acked-by: Pablo de Lara --- diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h index 4c802195f5..9826086b1c 100644 --- a/lib/librte_compressdev/rte_comp.h +++ b/lib/librte_compressdev/rte_comp.h @@ -295,12 +295,19 @@ 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) + * rte_pktmbuf_data_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. */ 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) + * rte_pktmbuf_data_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 + * it supports this. */ struct {