Re: [PATCH 1/1] drivers/net: fix checking for Tx simple

2023-09-03 Thread zhoumin
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

[PATCH 1/1] drivers/net: fix checking for Tx simple

2023-09-02 Thread Min Zhou
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) &