Skip to content

Commit 58b7bd0

Browse files
madalinbucurdavem330
authored andcommitted
dpaa_eth: use AVOIDBLOCK for Tx confirmation queues
The AVOIDBLOCK flag determines the Tx confirmation queues processing to be redirected to any available CPU when the current one is slow in processing them. This may result in a higher Tx confirmation interrupt count but may reduce pressure on a certain CPU that with the previous setting would process all Tx confirmation frames. Signed-off-by: Madalin Bucur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b07e675 commit 58b7bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ static int dpaa_fq_init(struct dpaa_fq *dpaa_fq, bool td_enable)
974974
* Tx Confirmation FQs.
975975
*/
976976
if (dpaa_fq->fq_type == FQ_TYPE_TX_CONFIRM)
977-
initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE);
977+
initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_AVOIDBLOCK);
978978

979979
/* FQ placement */
980980
initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_DESTWQ);

0 commit comments

Comments
 (0)