On 09/12/2017 11:03 AM, Shahaf Shuler wrote:
OK, well understood the requirement for such flags. Thanks for your replies.

I think that for simplicity I will add two more flags on the Tx offloads 
capabilities:

DEV_TX_OFFLOADS _MULTI_MEMPOOL <** Device supports transmission of mbufs from 
multiple mempools. */
DEV_TX_OFFLOADS_INDIRECT_MBUFS <** Device support transmission of indirect 
mbufs. */

Indirect mbufs is just an example when reference counters are required.
Direct mbufs may use reference counters as well.

Those caps can be reported by the PMD as per-port/per-queue offloads. 
Application will choose how to set those. When not set - PMD can assume all 
mbufs has ref_cnt = 1 and the same mempool.

Any objection?


Reply via email to