dpaa2-eth: defer probe on object allocate
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 9 Nov 2018 15:26:45 +0000 (15:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2018 04:08:58 +0000 (20:08 -0800)
commitd7f5a9d89a55af68908a013811404971f88d661e
tree33f41474981f678f9526bfeafea0dd36371dceb4
parent029a374348807222a872ba4baaf6e3e96846aa16
dpaa2-eth: defer probe on object allocate

The fsl_mc_object_allocate function can fail because not all allocatable
objects are probed by the fsl_mc_allocator at the call time. Defer the
dpaa2-eth probe when this happens.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c