From: Nipun Gupta Date: Wed, 3 Jan 2018 15:39:04 +0000 (+0530) Subject: bus/fslmc: change EQCR stashing threshold to 1 X-Git-Tag: spdx-start~723 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6e9a6625e6d9046b9264ab53bae6071d2f7f6b49;p=dpdk.git bus/fslmc: change EQCR stashing threshold to 1 Changing the EQCR stashing threshold boosts the performance of l3fwd application on LS2088 by more than 20% as it helps in burst packet processing at the Tx side. CPU is immediately informed about the empty EQCR entries once consumed by the hardware. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- diff --git a/drivers/bus/fslmc/qbman/qbman_sys.h b/drivers/bus/fslmc/qbman/qbman_sys.h index c798809727..846788eadd 100644 --- a/drivers/bus/fslmc/qbman/qbman_sys.h +++ b/drivers/bus/fslmc/qbman/qbman_sys.h @@ -336,7 +336,7 @@ static inline int qbman_swp_sys_init(struct qbman_swp_sys *s, reg = qbman_set_swp_cfg(dqrr_size, 0, 0, 3, 2, 3, 1, 1, 1, 1, 1, 1); else - reg = qbman_set_swp_cfg(dqrr_size, 0, 2, 3, 2, 2, 1, 1, 1, 1, + reg = qbman_set_swp_cfg(dqrr_size, 0, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1); qbman_cinh_write(s, QBMAN_CINH_SWP_CFG, reg); reg = qbman_cinh_read(s, QBMAN_CINH_SWP_CFG);