[dpdk-dev] condition for calling ixgbe_xmit_cleanup

2014-02-13 Thread Qing Wan
ng Wan Sent: Wednesday, February 12, 2014 3:50 PM To: dev at dpdk.org Subject: [dpdk-dev] condition for calling ixgbe_xmit_cleanup Hi, There are following code in function ixgbe_xmit_pkts, if ((txq->nb_tx_desc - txq->nb_tx_free) > txq->tx_free_thresh) { ixgbe_xm

[dpdk-dev] condition for calling ixgbe_xmit_cleanup

2014-02-12 Thread Shaw, Jeffrey B
cs of "tx_free_thresh" change from "free descriptors after this many are used" to "free descriptors after this many are remaining". Thanks, Jeff -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qing Wan Sent: Wednesday, Febr

[dpdk-dev] condition for calling ixgbe_xmit_cleanup

2014-02-12 Thread Qing Wan
Hi, There are following code in function ixgbe_xmit_pkts, if ((txq->nb_tx_desc - txq->nb_tx_free) > txq->tx_free_thresh) { ixgbe_xmit_cleanup(txq); } My understanding is, nb_tx_desc means total number of descriptors in ring and nx_tx_free represents how many descr