aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/xgmac_mdio.c
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2019-10-16 10:36:23 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-17 15:27:29 -0400
commita690af4f16f9bd1f976a4257e1529b6323a8d0e1 (patch)
tree177904b28b8293e6da79f5cca5551893c7c0a24d /drivers/net/ethernet/freescale/xgmac_mdio.c
parentdpaa2-eth: add irq for the dpmac connect/disconnect event (diff)
downloadlinux-dev-a690af4f16f9bd1f976a4257e1529b6323a8d0e1.tar.xz
linux-dev-a690af4f16f9bd1f976a4257e1529b6323a8d0e1.zip
dpaa2-eth: Fix TX FQID values
Depending on when MC connects the DPNI to a MAC, Tx FQIDs may not be available during probe time. Read the FQIDs each time the link goes up to avoid using invalid values. In case an error occurs or an invalid value is retrieved, fall back to QDID-based enqueueing. Fixes: 1fa0f68c9255 ("dpaa2-eth: Use FQ-based DPIO enqueue API") Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/xgmac_mdio.c')
0 files changed, 0 insertions, 0 deletions