]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sfc: Retry MCDI after NO_EVB_PORT error on a VF
authorBert Kenward <bkenward@solarflare.com>
Wed, 23 Dec 2015 08:56:40 +0000 (08:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2015 03:06:39 +0000 (22:06 -0500)
commitac28d179b8d9dd444490c078826bf33f735c2285
tree690c7e237fbe8a97f6ddb38cc3db9f3255fadb88
parent2e4c8baa66b3d3272ff82dfb5c8585cf1be88685
sfc: Retry MCDI after NO_EVB_PORT error on a VF

After reboot the vswitch configuration from the PF may not be
complete before the VF attempts to restore filters. In that
case we see NO_EVB_PORT errors from the MC. Retry up to a time
limit or until a different result is seen.

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