• Radu Bulie's avatar
    dpaa2-eth: Update dpni_get_single_step_cfg command · 9572594e
    Radu Bulie authored
    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>
    9572594e
dpni.h 33.7 KB