diff options
| author | Ioana Ciornei <[email protected]> | 2021-01-08 09:07:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-10 00:21:30 +0000 |
| commit | 47325da28ef137fa04a0e5d6d244e9635184bf5e (patch) | |
| tree | 3ffc69be95c5832a48ab0fc38dbc7635c313dfb0 /net/switchdev/switchdev.c | |
| parent | bus: fsl-mc: return -EPROBE_DEFER when a device is not yet discovered (diff) | |
| download | kernel-47325da28ef137fa04a0e5d6d244e9635184bf5e.tar.gz kernel-47325da28ef137fa04a0e5d6d244e9635184bf5e.zip | |
dpaa2-eth: retry the probe when the MAC is not yet discovered on the bus
The fsl_mc_get_endpoint() function now returns -EPROBE_DEFER when the
dpmac device was not yet discovered by the fsl-mc bus. When this
happens, pass the error code up so that we can retry the probe at a
later time.
Signed-off-by: Ioana Ciornei <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
