diff options
Diffstat (limited to 'drivers/net/sfc/efx.h')
| -rw-r--r-- | drivers/net/sfc/efx.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index e783c0fedfd8..f502b14eb22c 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #define EFX_EFX_H | 12 | #define EFX_EFX_H |
| 13 | 13 | ||
| 14 | #include "net_driver.h" | 14 | #include "net_driver.h" |
| 15 | #include "filter.h" | ||
| 15 | 16 | ||
| 16 | /* PCI IDs */ | 17 | /* PCI IDs */ |
| 17 | #define EFX_VENDID_SFC 0x1924 | 18 | #define EFX_VENDID_SFC 0x1924 |
| @@ -64,6 +65,19 @@ extern void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue); | |||
| 64 | * skb. Falcon/A1 may require up to three descriptors per skb_frag. */ | 65 | * skb. Falcon/A1 may require up to three descriptors per skb_frag. */ |
| 65 | #define EFX_MIN_RING_SIZE (roundup_pow_of_two(2 * 3 * MAX_SKB_FRAGS)) | 66 | #define EFX_MIN_RING_SIZE (roundup_pow_of_two(2 * 3 * MAX_SKB_FRAGS)) |
| 66 | 67 | ||
| 68 | /* Filters */ | ||
| 69 | extern int efx_probe_filters(struct efx_nic *efx); | ||
| 70 | extern void efx_restore_filters(struct efx_nic *efx); | ||
| 71 | extern void efx_remove_filters(struct efx_nic *efx); | ||
| 72 | extern int efx_filter_insert_filter(struct efx_nic *efx, | ||
| 73 | struct efx_filter_spec *spec, | ||
| 74 | bool replace); | ||
| 75 | extern int efx_filter_remove_filter(struct efx_nic *efx, | ||
| 76 | struct efx_filter_spec *spec); | ||
| 77 | extern void efx_filter_table_clear(struct efx_nic *efx, | ||
| 78 | enum efx_filter_table_id table_id, | ||
| 79 | enum efx_filter_priority priority); | ||
| 80 | |||
| 67 | /* Channels */ | 81 | /* Channels */ |
| 68 | extern void efx_process_channel_now(struct efx_channel *channel); | 82 | extern void efx_process_channel_now(struct efx_channel *channel); |
| 69 | extern int | 83 | extern int |
