soc: fsl: dpio: Fix order restoration API for QBMan 5.0
authorRoy Pledge <roy.pledge@nxp.com>
Thu, 25 Oct 2018 20:55:53 +0000 (16:55 -0400)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:36:26 +0000 (11:36 +0800)
commita34bd95195a1829cf76204b81393a93452df99bd
treed218da5339a8b615b42086aa1498db044752cb1e
parent7f6c9647456cf9eb34f02a65be63d1761a891e41
soc: fsl: dpio: Fix order restoration API for QBMan 5.0

The mechanism for indicating to HW that a frame was dropped
when performing HW order restoration changed in QBMan 5.0 to
use a management command instead of a special enqueue command.
This patch implements that change when running on a QBMan 5.0
and above device.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
drivers/soc/fsl/dpio/dpio-service.c
drivers/soc/fsl/dpio/qbman-portal.c
drivers/soc/fsl/dpio/qbman-portal.h