Comment 3 for bug 1787114

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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>