mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sfc: Implement efx_nic_type::filter_clear_rx operation for EF10
The operation can now fail, so change its return type to int. Remove the inline wrapper while we're changing the signature. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
f72848021d
commit
fbd791202b
6 changed files with 32 additions and 28 deletions
|
@ -2638,7 +2638,7 @@ efx_farch_filter_table_clear(struct efx_nic *efx,
|
|||
spin_unlock_bh(&efx->filter_lock);
|
||||
}
|
||||
|
||||
void efx_farch_filter_clear_rx(struct efx_nic *efx,
|
||||
int efx_farch_filter_clear_rx(struct efx_nic *efx,
|
||||
enum efx_filter_priority priority)
|
||||
{
|
||||
efx_farch_filter_table_clear(efx, EFX_FARCH_FILTER_TABLE_RX_IP,
|
||||
|
@ -2647,6 +2647,7 @@ void efx_farch_filter_clear_rx(struct efx_nic *efx,
|
|||
priority);
|
||||
efx_farch_filter_table_clear(efx, EFX_FARCH_FILTER_TABLE_RX_DEF,
|
||||
priority);
|
||||
return 0;
|
||||
}
|
||||
|
||||
u32 efx_farch_filter_count_rx_used(struct efx_nic *efx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue