]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2/eth: Check if notification rearm is successful
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Wed, 11 Oct 2017 13:29:46 +0000 (08:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:45:18 +0000 (16:45 +0200)
commit041f380d57addd4c0932f14bc733601df891be09
tree118a3a2b24b338adb0c5b4d6628447b2ef25deb7
parentb2b93e5d663e1e69d8b98c02e57a32fd516836ed
staging: fsl-dpaa2/eth: Check if notification rearm is successful

In case dpaa2_io_service_rearm() fails with an error other then
EBUSY, it will do so silently; add a check for this and a warning
message, as a failure here means we're unable to receive any
more traffic on the current cpu.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c