Skip to content
Commit 2243688a authored by Radu Bulie's avatar Radu Bulie Committed by Xiaolei Wang
Browse files

dpaa2-eth: Update dpni_get_single_step_cfg command



commit 2e8af62f3cfa34ca487ff7dff3cd88bddd442dc5 from
https://source.codeaurora.org/external/imx/linux-imx

dpni_get_single_step_cfg is an MC firmware command used for
retrieving the contents of SINGLE_STEP 1588 register available
in a DPMAC.

This patch adds a new version of this command that returns as an extra
argument the physical base address of the aforementioned register.
The address will be used to directly modify the contents of the
SINGLE_STEP register instead of invoking the MC command
dpni_set_single_step_cgf. The former approach introduced huge delays on
the TX datapath when one step PTP events were transmitted. This led to low
throughput and high latencies observed in the PTP correction field.

Signed-off-by: default avatarRadu Bulie <radu-andrei.bulie@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent 059a5324
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment