Commit cb2c378a authored by Radu Bulie's avatar Radu Bulie Committed by Greg Kroah-Hartman
Browse files

dpaa2-eth: Update dpni_get_single_step_cfg command



[ Upstream commit 9572594e ]

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 avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 2def09ea ("dpaa2-eth: fix xdp_rxq_info leak")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d20d07f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment