Reviewed: https://review.opencontrail.org/45580 Committed: http://github.com/Juniper/contrail-vrouter/commit/9462ef00336aa58a1c46543f702ee89120072aff Submitter: Zuul v3 CI (<email address hidden>) Branch: master
commit 9462ef00336aa58a1c46543f702ee89120072aff Author: Yi Yang <email address hidden> Date: Wed Aug 15 16:38:24 2018 +0800
Use optimal Tx config for physical ethenet NIC
struct rte_eth_txconf tx_queue_conf = { .tx_thresh = { .pthresh = 32, /* Ring prefetch threshold */ .hthresh = 0, /* Ring host threshold */ .wthresh = 0, /* Ring writeback threshold */ }, .tx_free_thresh = 32, .tx_rs_thresh = 32, /* Use PMD default values */ .txq_flags = 0 /* Set flags for the Tx queue */ };
This can improve Tx performance obviously.
Change-Id: I63ad2cf61e00255dc8e2f3a3e9caa4c1653ec23c Closes-Bug: #1787114 Signed-off-by: Yi Yang <email address hidden>
Reviewed: https:/ /review. opencontrail. org/45580 github. com/Juniper/ contrail- vrouter/ commit/ 9462ef00336aa58 a1c46543f702ee8 9120072aff
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit 9462ef00336aa58 a1c46543f702ee8 9120072aff
Author: Yi Yang <email address hidden>
Date: Wed Aug 15 16:38:24 2018 +0800
Use optimal Tx config for physical ethenet NIC
struct rte_eth_txconf tx_queue_conf = {
.tx_thresh = {
.pthresh = 32, /* Ring prefetch threshold */
.hthresh = 0, /* Ring host threshold */
.wthresh = 0, /* Ring writeback threshold */
},
.tx_free_thresh = 32,
.tx_rs_thresh = 32, /* Use PMD default values */
.txq_flags = 0 /* Set flags for the Tx queue */
};
This can improve Tx performance obviously.
Change-Id: I63ad2cf61e0025 5dc8e2f3a3e9caa 4c1653ec23c
Closes-Bug: #1787114
Signed-off-by: Yi Yang <email address hidden>