summaryrefslogtreecommitdiff
path: root/examples/l3fwd-vf
diff options
context:
space:
mode:
authorBao-Long Tran <longtb5@viettel.com.vn>2019-06-03 17:06:18 +0700
committerThomas Monjalon <thomas@monjalon.net>2019-07-01 21:45:31 +0200
commita1d9307b2c0651315fe1a73768a88bacc9c6c59a (patch)
tree6814e2b1293240643d352c07165d8e673fc9e65f /examples/l3fwd-vf
parentdcb1595956e366a15f9b33998b37172ee29da1e1 (diff)
downloaddpdk-a1d9307b2c0651315fe1a73768a88bacc9c6c59a.zip
dpdk-a1d9307b2c0651315fe1a73768a88bacc9c6c59a.tar.gz
dpdk-a1d9307b2c0651315fe1a73768a88bacc9c6c59a.tar.xz
examples/l3fwd-vf: remove unused Rx/Tx configuration
The RX and TX Prefetch, Host, and Write-back threshold values are defined but not used anywhere. They are leftovers from a previous patch. Fixes: 81f7ecd9 ("examples: use factorized default Rx/Tx configuration") Cc: stable@dpdk.org Signed-off-by: Bao-Long Tran <longtb5@viettel.com.vn>
Diffstat (limited to 'examples/l3fwd-vf')
-rw-r--r--examples/l3fwd-vf/main.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c
index 9594867..1432f89 100644
--- a/examples/l3fwd-vf/main.c
+++ b/examples/l3fwd-vf/main.c
@@ -74,25 +74,6 @@
nb_lcores*MEMPOOL_CACHE_SIZE), \
(unsigned)8192)
-/*
- * RX and TX Prefetch, Host, and Write-back threshold values should be
- * carefully set for optimal performance. Consult the network
- * controller's datasheet and supporting DPDK documentation for guidance
- * on how these parameters should be set.
- */
-#define RX_PTHRESH 8 /**< Default values of RX prefetch threshold reg. */
-#define RX_HTHRESH 8 /**< Default values of RX host threshold reg. */
-#define RX_WTHRESH 4 /**< Default values of RX write-back threshold reg. */
-
-/*
- * These default values are optimized for use with the Intel(R) 82599 10 GbE
- * Controller and the DPDK ixgbe PMD. Consider using other values for other
- * network controllers and/or network drivers.
- */
-#define TX_PTHRESH 36 /**< Default values of TX prefetch threshold reg. */
-#define TX_HTHRESH 0 /**< Default values of TX host threshold reg. */
-#define TX_WTHRESH 0 /**< Default values of TX write-back threshold reg. */
-
#define MAX_PKT_BURST 32
#define BURST_TX_DRAIN_US 100 /* TX drain every ~100us */