iavf_hw
void iavf_free_adminq_asq(struct iavf_hw *hw)
void iavf_free_adminq_arq(struct iavf_hw *hw)
STATIC enum iavf_status iavf_alloc_arq_bufs(struct iavf_hw *hw)
STATIC enum iavf_status iavf_alloc_asq_bufs(struct iavf_hw *hw)
STATIC void iavf_free_arq_bufs(struct iavf_hw *hw)
STATIC void iavf_free_asq_bufs(struct iavf_hw *hw)
STATIC enum iavf_status iavf_config_asq_regs(struct iavf_hw *hw)
STATIC enum iavf_status iavf_config_arq_regs(struct iavf_hw *hw)
enum iavf_status iavf_init_asq(struct iavf_hw *hw)
enum iavf_status iavf_init_arq(struct iavf_hw *hw)
STATIC void iavf_adminq_init_regs(struct iavf_hw *hw)
enum iavf_status iavf_shutdown_asq(struct iavf_hw *hw)
enum iavf_status iavf_shutdown_arq(struct iavf_hw *hw)
enum iavf_status iavf_init_adminq(struct iavf_hw *hw)
enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw)
u16 iavf_clean_asq(struct iavf_hw *hw)
enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw)
bool iavf_asq_done(struct iavf_hw *hw)
enum iavf_status iavf_asq_send_command(struct iavf_hw *hw,
enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw,
enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw)
struct iavf_hw;
enum iavf_status iavf_allocate_dma_mem(struct iavf_hw *hw,
enum iavf_status iavf_free_dma_mem(struct iavf_hw *hw,
enum iavf_status iavf_allocate_virt_mem(struct iavf_hw *hw,
enum iavf_status iavf_free_virt_mem(struct iavf_hw *hw,
enum iavf_status iavf_vf_reset(struct iavf_hw *hw)
enum iavf_status iavf_aq_clear_all_wol_filters(struct iavf_hw *hw,
const char *iavf_stat_str(struct iavf_hw *hw, enum iavf_status stat_err)
void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc,
bool iavf_check_asq_alive(struct iavf_hw *hw)
enum iavf_status iavf_aq_queue_shutdown(struct iavf_hw *hw,
STATIC enum iavf_status iavf_aq_get_set_rss_lut(struct iavf_hw *hw,
enum iavf_status iavf_set_mac_type(struct iavf_hw *hw)
enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 vsi_id,
enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 vsi_id,
STATIC enum iavf_status iavf_aq_get_set_rss_key(struct iavf_hw *hw,
enum iavf_status iavf_aq_get_rss_key(struct iavf_hw *hw,
enum iavf_status iavf_aq_set_rss_key(struct iavf_hw *hw,
const char *iavf_aq_str(struct iavf_hw *hw, enum iavf_admin_queue_err aq_err)
enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,
void iavf_vf_parse_hw_config(struct iavf_hw *hw,
struct iavf_hw *hw;
struct iavf_hw hw;
const char * iavf_vc_stat_str(struct iavf_hw *hw,
struct iavf_hw *hw = &sc->hw;
iavf_init_hw(struct iavf_hw *hw, device_t dev)
iavf_reset_complete(struct iavf_hw *hw)
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
iavf_enable_adminq_irq(struct iavf_hw *hw)
iavf_disable_adminq_irq(struct iavf_hw *hw)
struct iavf_hw *hw = &sc->hw;
static void iavf_init_hw(struct iavf_hw *hw, device_t dev);
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
int iavf_reset_complete(struct iavf_hw *hw);
void iavf_enable_adminq_irq(struct iavf_hw *hw);
void iavf_disable_adminq_irq(struct iavf_hw *hw);
iavf_allocate_dma_mem(struct iavf_hw *hw, struct iavf_dma_mem *mem,
iavf_free_dma_mem(struct iavf_hw *hw __unused, struct iavf_dma_mem *mem)
iavf_debug_shared(struct iavf_hw *hw, uint64_t mask, char *fmt, ...)
if (!(mask & ((struct iavf_hw *)hw)->debug_mask))
iavf_read_pci_cfg(struct iavf_hw *hw, u32 reg)
iavf_write_pci_cfg(struct iavf_hw *hw, u32 reg, u16 value)
iavf_rd32(struct iavf_hw *hw, uint32_t reg)
iavf_wr32(struct iavf_hw *hw, uint32_t reg, uint32_t val)
iavf_flush(struct iavf_hw *hw)
iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem,
iavf_free_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem)
struct iavf_hw; /* forward decl */
u16 iavf_read_pci_cfg(struct iavf_hw *, u32);
void iavf_write_pci_cfg(struct iavf_hw *, u32, u16);
void iavf_debug_shared(struct iavf_hw *hw, uint64_t mask,
uint32_t iavf_rd32(struct iavf_hw *hw, uint32_t reg);
void iavf_wr32(struct iavf_hw *hw, uint32_t reg, uint32_t val);
void iavf_flush(struct iavf_hw *hw);
void iavf_vf_parse_hw_config(struct iavf_hw *hw,
enum iavf_status iavf_vf_reset(struct iavf_hw *hw);
enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,
enum iavf_status iavf_aq_debug_dump(struct iavf_hw *hw, u8 cluster_id,
enum iavf_status iavf_aq_clear_all_wol_filters(struct iavf_hw *hw,
enum iavf_status iavf_init_adminq(struct iavf_hw *hw);
enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw);
enum iavf_status iavf_init_asq(struct iavf_hw *hw);
enum iavf_status iavf_init_arq(struct iavf_hw *hw);
enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw);
enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw);
enum iavf_status iavf_shutdown_asq(struct iavf_hw *hw);
enum iavf_status iavf_shutdown_arq(struct iavf_hw *hw);
u16 iavf_clean_asq(struct iavf_hw *hw);
void iavf_free_adminq_asq(struct iavf_hw *hw);
void iavf_free_adminq_arq(struct iavf_hw *hw);
void iavf_adminq_init_ring_data(struct iavf_hw *hw);
enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw,
enum iavf_status iavf_asq_send_command(struct iavf_hw *hw,
bool iavf_asq_done(struct iavf_hw *hw);
void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask,
void iavf_idle_aq(struct iavf_hw *hw);
bool iavf_check_asq_alive(struct iavf_hw *hw);
enum iavf_status iavf_aq_queue_shutdown(struct iavf_hw *hw, bool unloading);
enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 seid,
enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 seid,
enum iavf_status iavf_aq_get_rss_key(struct iavf_hw *hw,
enum iavf_status iavf_aq_set_rss_key(struct iavf_hw *hw,
const char *iavf_aq_str(struct iavf_hw *hw, enum iavf_admin_queue_err aq_err);
const char *iavf_stat_str(struct iavf_hw *hw, enum iavf_status stat_err);
enum iavf_status iavf_set_mac_type(struct iavf_hw *hw);
struct iavf_hw;
typedef void (*IAVF_ADMINQ_CALLBACK)(struct iavf_hw *, struct iavf_aq_desc *);
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
iavf_vc_stat_str(struct iavf_hw *hw, enum virtchnl_status_code stat_err)
const char * iavf_vc_stat_str(struct iavf_hw *hw,
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = vsi->hw;
struct iavf_hw *hw = vsi->hw;
iavf_enable_queue_irq(struct iavf_hw *hw, int id)
iavf_disable_queue_irq(struct iavf_hw *hw, int id)
struct iavf_hw *hw = vsi->hw;
struct iavf_hw *hw;
struct iavf_hw *hw;
struct iavf_hw *hw = &sc->hw;
struct iavf_hw *hw = &sc->hw;
static void iavf_enable_queue_irq(struct iavf_hw *, int);
static void iavf_disable_queue_irq(struct iavf_hw *, int);
struct iavf_hw *hw = vsi->hw;
struct iavf_hw *hw = vsi->hw;