diff options
author | Daniel Pieczko <dpieczko@solarflare.com> | 2015-07-21 15:09:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 22:21:32 -0700 |
commit | 34ccfe6f8abd9ce7ea70e68f130cc6618737269f (patch) | |
tree | 579be3e8e47c83674e5679a1e4c9ebbb265a07dd /drivers/net/ethernet/sfc/mcdi.h | |
parent | 832dc9ed43da8eb2033d90b46c1041e1d6947907 (diff) | |
download | talos-obmc-linux-34ccfe6f8abd9ce7ea70e68f130cc6618737269f.tar.gz talos-obmc-linux-34ccfe6f8abd9ce7ea70e68f130cc6618737269f.zip |
sfc: add output flag decoding to efx_mcdi_set_workaround
The initial use of this will be to check a flag reporting if an FLR was
performed on other functions when enabling cascaded multicast filters.
Signed-off-by: Edward Cree <ecree@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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.h b/drivers/net/ethernet/sfc/mcdi.h index 1838afe2da92..025d504c472b 100644 --- a/drivers/net/ethernet/sfc/mcdi.h +++ b/drivers/net/ethernet/sfc/mcdi.h @@ -346,7 +346,8 @@ void efx_mcdi_mac_pull_stats(struct efx_nic *efx); bool efx_mcdi_mac_check_fault(struct efx_nic *efx); enum reset_type efx_mcdi_map_reset_reason(enum reset_type reason); int efx_mcdi_reset(struct efx_nic *efx, enum reset_type method); -int efx_mcdi_set_workaround(struct efx_nic *efx, u32 type, bool enabled); +int efx_mcdi_set_workaround(struct efx_nic *efx, u32 type, bool enabled, + unsigned int *flags); int efx_mcdi_get_workarounds(struct efx_nic *efx, unsigned int *impl_out, unsigned int *enabled_out); |