min_mbuf_head/tailroom_req in rte_cryptodev_info

Suanming Mou suanmingm at nvidia.com
Tue May 9 13:53:28 CEST 2023


Hi Guys,

Sorry for disturbing you. I have one small question regarding the min_mbuf_head/tailroom_req in rte_cryptodev_info.
I saw you were the people who discussed, reviewed and added that two fields.
IIUC, the two fields provided a hint to the PMD that HW can use(modify) the headroom and tailroom space to improve the performance.
But regarding the space(e.g. headroom) user reserved, should the data offset(sym_op->aead.data.offset) in struct rte_crypto_op also be taken into account?
e.g. if the mbuf in the operation is something like below:
|---headroom--|----op offset---|---payload to process---|---tailroom---|
In that case, what is the headroom mean to HW? Start from real mbuf headroom before op offset or the offset before payload?

Thanks,
Suanming Mou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230509/99e0a44a/attachment.htm>


More information about the dev mailing list