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)
commit6eacfb54ea1825a3f1062bbfd71669b594168646
tree552808f7ae6adf6924cb29f4aa8d9aa5fc89e83d
parent761095c238f7b234bd63c164416ac42792a8eeb1
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