#include <linux/net_tstamp.h>
#include <linux/i2c-algo-bit.h>
#include "net_driver.h"
#include "efx.h"
#include "mcdi.h"
#include "spi.h"
Go to the source code of this file.
|
enum | { EFX_REV_FALCON_A0 = 0,
EFX_REV_FALCON_A1 = 1,
EFX_REV_FALCON_B0 = 2,
EFX_REV_SIENA_A0 = 3
} |
|
enum | {
PHY_TYPE_NONE = 0,
PHY_TYPE_TXC43128 = 1,
PHY_TYPE_88E1111 = 2,
PHY_TYPE_SFX7101 = 3,
PHY_TYPE_QT2022C2 = 4,
PHY_TYPE_PM8358 = 6,
PHY_TYPE_SFT9001A = 8,
PHY_TYPE_QT2025C = 9,
PHY_TYPE_SFT9001B = 10
} |
|
|
u32 | efx_nic_fpga_ver (struct efx_nic *efx) |
|
int | efx_sriov_set_vf_mac (struct net_device *dev, int vf, u8 *mac) |
|
int | efx_sriov_set_vf_vlan (struct net_device *dev, int vf, u16 vlan, u8 qos) |
|
int | efx_sriov_get_vf_config (struct net_device *dev, int vf, struct ifla_vf_info *ivf) |
|
int | efx_sriov_set_vf_spoofchk (struct net_device *net_dev, int vf, bool spoofchk) |
|
int | falcon_probe_board (struct efx_nic *efx, u16 revision_info) |
|
int | efx_nic_probe_tx (struct efx_tx_queue *tx_queue) |
|
void | efx_nic_init_tx (struct efx_tx_queue *tx_queue) |
|
void | efx_nic_fini_tx (struct efx_tx_queue *tx_queue) |
|
void | efx_nic_remove_tx (struct efx_tx_queue *tx_queue) |
|
void | efx_nic_push_buffers (struct efx_tx_queue *tx_queue) |
|
int | efx_nic_probe_rx (struct efx_rx_queue *rx_queue) |
|
void | efx_nic_init_rx (struct efx_rx_queue *rx_queue) |
|
void | efx_nic_fini_rx (struct efx_rx_queue *rx_queue) |
|
void | efx_nic_remove_rx (struct efx_rx_queue *rx_queue) |
|
void | efx_nic_notify_rx_desc (struct efx_rx_queue *rx_queue) |
|
void | efx_nic_generate_fill_event (struct efx_rx_queue *rx_queue) |
|
int | efx_nic_probe_eventq (struct efx_channel *channel) |
|
void | efx_nic_init_eventq (struct efx_channel *channel) |
|
void | efx_nic_fini_eventq (struct efx_channel *channel) |
|
void | efx_nic_remove_eventq (struct efx_channel *channel) |
|
int | efx_nic_process_eventq (struct efx_channel *channel, int rx_quota) |
|
void | efx_nic_eventq_read_ack (struct efx_channel *channel) |
|
bool | efx_nic_event_present (struct efx_channel *channel) |
|
void | falcon_drain_tx_fifo (struct efx_nic *efx) |
|
void | falcon_reconfigure_mac_wrapper (struct efx_nic *efx) |
|
bool | falcon_xmac_check_fault (struct efx_nic *efx) |
|
int | falcon_reconfigure_xmac (struct efx_nic *efx) |
|
void | falcon_update_stats_xmac (struct efx_nic *efx) |
|
int | efx_nic_init_interrupt (struct efx_nic *efx) |
|
void | efx_nic_enable_interrupts (struct efx_nic *efx) |
|
void | efx_nic_event_test_start (struct efx_channel *channel) |
|
void | efx_nic_irq_test_start (struct efx_nic *efx) |
|
void | efx_nic_disable_interrupts (struct efx_nic *efx) |
|
void | efx_nic_fini_interrupt (struct efx_nic *efx) |
|
irqreturn_t | efx_nic_fatal_interrupt (struct efx_nic *efx) |
|
irqreturn_t | falcon_legacy_interrupt_a1 (int irq, void *dev_id) |
|
void | falcon_irq_ack_a1 (struct efx_nic *efx) |
|
int | efx_nic_flush_queues (struct efx_nic *efx) |
|
void | falcon_start_nic_stats (struct efx_nic *efx) |
|
void | falcon_stop_nic_stats (struct efx_nic *efx) |
|
void | falcon_setup_xaui (struct efx_nic *efx) |
|
int | falcon_reset_xaui (struct efx_nic *efx) |
|
void | efx_nic_dimension_resources (struct efx_nic *efx, unsigned sram_lim_qw) |
|
void | efx_nic_init_common (struct efx_nic *efx) |
|
void | efx_nic_push_rx_indir_table (struct efx_nic *efx) |
|
int | efx_nic_alloc_buffer (struct efx_nic *efx, struct efx_buffer *buffer, unsigned int len) |
|
void | efx_nic_free_buffer (struct efx_nic *efx, struct efx_buffer *buffer) |
|
int | efx_nic_test_registers (struct efx_nic *efx, const struct efx_nic_register_test *regs, size_t n_regs) |
|
size_t | efx_nic_get_regs_len (struct efx_nic *efx) |
|
void | efx_nic_get_regs (struct efx_nic *efx, void *buf) |
|
void | efx_generate_event (struct efx_nic *efx, unsigned int evq, efx_qword_t *event) |
|
void | falcon_poll_xmac (struct efx_nic *efx) |
|
Definition at line 68 of file nic.h.
#define EFX_MAX_VF_EVQ_SIZE 8192UL |
#define EFX_PAGE_SIZE 4096 |
Definition at line 66 of file nic.h.
#define EFX_VF_BUFTBL_PER_VI |
Value:
Definition at line 190 of file nic.h.
#define EFX_VF_COUNT_MAX 127 |
#define EFX_VI_SCALE_MAX 6 |
Definition at line 62 of file nic.h.
#define FALCON_MAC_STATS_SIZE 0x100 |
#define FALCON_STAT |
( |
|
efx, |
|
|
|
falcon_stat, |
|
|
|
efx_stat |
|
) |
| |
Value:do { \
(efx->stats_buffer.addr + \
(efx->stats_buffer.addr + \
else \
(efx->stats_buffer.addr + \
} while (0)
Definition at line 409 of file nic.h.
#define FALCON_STAT_OFFSET |
( |
|
falcon_stat | ) |
EFX_VAL(falcon_stat, offset) |
#define FALCON_STAT_WIDTH |
( |
|
falcon_stat | ) |
EFX_VAL(falcon_stat, WIDTH) |
#define FALCON_XMAC_LOOPBACKS |
Value:
Definition at line 57 of file nic.h.
#define MAC_DATA_WIDTH 32 |
- Enumerator:
EFX_REV_FALCON_A0 |
|
EFX_REV_FALCON_A1 |
|
EFX_REV_FALCON_B0 |
|
EFX_REV_SIENA_A0 |
|
Definition at line 25 of file nic.h.
- Enumerator:
PHY_TYPE_NONE |
|
PHY_TYPE_TXC43128 |
|
PHY_TYPE_88E1111 |
|
PHY_TYPE_SFX7101 |
|
PHY_TYPE_QT2022C2 |
|
PHY_TYPE_PM8358 |
|
PHY_TYPE_SFT9001A |
|
PHY_TYPE_QT2025C |
|
PHY_TYPE_SFT9001B |
|
Definition at line 45 of file nic.h.