I'm sorry, I think the checking logic is certainly right after I read
more codes in other drivers. I just wanted to use the i40e_xmit_pkts()
function to send packets via testpmd. I noticed that the
tx_simple_allowed should be false if I want to use the function to send
packets. So, I'm studying
We have such checking logic for Tx simple in some drivers, such as
i40e, ice and hns3:
/* Use a simple Tx queue if possible (only fast free is allowed) */
ad->tx_simple_allowed =
(txq->offloads ==
(txq->offloads & RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE) &
2 matches
Mail list logo