]> git.baikalelectronics.ru Git - kernel.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)
commit0e9b7d148969b66b385c86100c7996418f0bae83
tree690c7e237fbe8a97f6ddb38cc3db9f3255fadb88
parent91a88dcea95727cc9619f7caeeff0d3ba714f6a3
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