diff options
author | Bert Kenward <bkenward@solarflare.com> | 2015-12-23 08:56:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-23 22:06:39 -0500 |
commit | ac28d179b8d9dd444490c078826bf33f735c2285 (patch) | |
tree | 690c7e237fbe8a97f6ddb38cc3db9f3255fadb88 /drivers/net/ethernet/sfc/mcdi.h | |
parent | 2e4c8baa66b3d3272ff82dfb5c8585cf1be88685 (diff) | |
download | linux-ac28d179b8d9dd444490c078826bf33f735c2285.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi.h')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.h b/drivers/net/ethernet/sfc/mcdi.h index 025d504c472b..397660d1b3de 100644 --- a/drivers/net/ethernet/sfc/mcdi.h +++ b/drivers/net/ethernet/sfc/mcdi.h @@ -71,6 +71,7 @@ struct efx_mcdi_iface { unsigned int credits; unsigned int seqno; int resprc; + int resprc_raw; size_t resp_hdr_len; size_t resp_data_len; spinlock_t async_lock; |