* [dpdk-dev] [PATCH] bus/fslmc: change the eqcr stashing threshold to 1
@ 2018-01-03 15:39 Nipun Gupta
2018-01-05 11:23 ` Shreyansh Jain
0 siblings, 1 reply; 3+ messages in thread
From: Nipun Gupta @ 2018-01-03 15:39 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit, hemant.agrawal, shreyansh.jain, Nipun Gupta
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 <nipun.gupta@nxp.com>
---
drivers/bus/fslmc/qbman/qbman_sys.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_sys.h b/drivers/bus/fslmc/qbman/qbman_sys.h
index c216e9c..d2253bd 100644
--- a/drivers/bus/fslmc/qbman/qbman_sys.h
+++ b/drivers/bus/fslmc/qbman/qbman_sys.h
@@ -358,7 +358,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);
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] bus/fslmc: change the eqcr stashing threshold to 1
2018-01-03 15:39 [dpdk-dev] [PATCH] bus/fslmc: change the eqcr stashing threshold to 1 Nipun Gupta
@ 2018-01-05 11:23 ` Shreyansh Jain
2018-01-12 11:47 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Shreyansh Jain @ 2018-01-05 11:23 UTC (permalink / raw)
To: Nipun Gupta, dev; +Cc: ferruh.yigit, hemant.agrawal
On Wednesday 03 January 2018 09:09 PM, Nipun Gupta wrote:
> 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 <nipun.gupta@nxp.com>
> ---
> drivers/bus/fslmc/qbman/qbman_sys.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] bus/fslmc: change the eqcr stashing threshold to 1
2018-01-05 11:23 ` Shreyansh Jain
@ 2018-01-12 11:47 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2018-01-12 11:47 UTC (permalink / raw)
To: Nipun Gupta; +Cc: dev, Shreyansh Jain, ferruh.yigit, hemant.agrawal
05/01/2018 12:23, Shreyansh Jain:
> On Wednesday 03 January 2018 09:09 PM, Nipun Gupta wrote:
> > 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 <nipun.gupta@nxp.com>
>
> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-12 11:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-03 15:39 [dpdk-dev] [PATCH] bus/fslmc: change the eqcr stashing threshold to 1 Nipun Gupta
2018-01-05 11:23 ` Shreyansh Jain
2018-01-12 11:47 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).