sfc: Return EBUSY for filter insertion on EF10, matching Falcon/Siena
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 9 Oct 2013 13:17:27 +0000 (14:17 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:07:00 +0000 (22:07 +0000)
commit065e64c4b211a4ad18d8c39ce987edef645bdaf0
treeee92b9afbbb32e4ec1f40adb949403b7f248da4e
parenta84f3bf909c7ef5dbadd3401c95376d8ea44b2fe
sfc: Return EBUSY for filter insertion on EF10, matching Falcon/Siena

The MC firmware will return error MC_CMD_ERR_ENOSPC if filter
insertion fails due to lack of resources.  The net driver's filter
implementation for Falcon-architecture returns EBUSY.  They should
behave consistently, so for EF10 change ENOSPC to EBUSY.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c