]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: reduce severity of PIO buffer alloc failures
authorTomáš Pilař <tpilar@solarflare.com>
Wed, 25 Jan 2017 13:48:17 +0000 (13:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 19:44:00 +0000 (14:44 -0500)
commit80d5fd0cc356aea3bfe83e7be8aec88893ae1a4a
tree552808f7ae6adf6924cb29f4aa8d9aa5fc89e83d
parentfadcef09c21f36e61d52611e8b930c89c86fd203
sfc: reduce severity of PIO buffer alloc failures

PIO buffer allocation can fail for two valid reasons:
 - we've run out of them (results in -ENOSPC)
 - the NIC configuration doesn't support them (results in -EPERM)
Since both these failures are expected netif_err is excessive.

Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c