Lines Matching refs:be_adapter
145 static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q) in be_queue_free()
156 static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q, in be_queue_alloc()
172 static void be_reg_intr_set(struct be_adapter *adapter, bool enable) in be_reg_intr_set()
191 static void be_intr_set(struct be_adapter *adapter, bool enable) in be_intr_set()
207 static void be_rxq_notify(struct be_adapter *adapter, u16 qid, u16 posted) in be_rxq_notify()
221 static void be_txq_notify(struct be_adapter *adapter, struct be_tx_obj *txo, in be_txq_notify()
236 static void be_eq_notify(struct be_adapter *adapter, u16 qid, in be_eq_notify()
258 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, u16 num_popped) in be_cq_notify()
275 static int be_dev_mac_add(struct be_adapter *adapter, u8 *mac) in be_dev_mac_add()
292 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del()
308 struct be_adapter *adapter = netdev_priv(netdev); in be_mac_addr_set()
381 static void *hw_stats_from_cmd(struct be_adapter *adapter) in hw_stats_from_cmd()
399 static void *be_erx_stats_from_cmd(struct be_adapter *adapter) in be_erx_stats_from_cmd()
416 static void populate_be_v0_stats(struct be_adapter *adapter) in populate_be_v0_stats()
465 static void populate_be_v1_stats(struct be_adapter *adapter) in populate_be_v1_stats()
511 static void populate_be_v2_stats(struct be_adapter *adapter) in populate_be_v2_stats()
565 static void populate_lancer_stats(struct be_adapter *adapter) in populate_lancer_stats()
614 static void populate_erx_stats(struct be_adapter *adapter, in populate_erx_stats()
627 void be_parse_stats(struct be_adapter *adapter) in be_parse_stats()
656 struct be_adapter *adapter = netdev_priv(netdev); in be_get_stats64()
720 void be_link_status_update(struct be_adapter *adapter, u8 link_status) in be_link_status_update()
787 static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter, in be_get_tx_vlan_tag()
831 static void be_get_wrb_params_from_skb(struct be_adapter *adapter, in be_get_wrb_params_from_skb()
863 static void wrb_fill_hdr(struct be_adapter *adapter, in wrb_fill_hdr()
927 static void be_tx_setup_wrb_hdr(struct be_adapter *adapter, in be_tx_setup_wrb_hdr()
963 static void be_xmit_restore(struct be_adapter *adapter, in be_xmit_restore()
991 static u32 be_xmit_enqueue(struct be_adapter *adapter, struct be_tx_obj *txo, in be_xmit_enqueue()
1037 static inline int qnq_async_evt_rcvd(struct be_adapter *adapter) in qnq_async_evt_rcvd()
1042 static struct sk_buff *be_insert_vlan_in_pkt(struct be_adapter *adapter, in be_insert_vlan_in_pkt()
1113 static int be_vlan_tag_tx_chk(struct be_adapter *adapter, struct sk_buff *skb) in be_vlan_tag_tx_chk()
1118 static int be_ipv6_tx_stall_chk(struct be_adapter *adapter, struct sk_buff *skb) in be_ipv6_tx_stall_chk()
1123 static struct sk_buff *be_lancer_xmit_workarounds(struct be_adapter *adapter, in be_lancer_xmit_workarounds()
1193 static struct sk_buff *be_xmit_workarounds(struct be_adapter *adapter, in be_xmit_workarounds()
1225 static void be_xmit_flush(struct be_adapter *adapter, struct be_tx_obj *txo) in be_xmit_flush()
1299 static bool be_send_pkt_to_bmc(struct be_adapter *adapter, in be_send_pkt_to_bmc()
1371 struct be_adapter *adapter = netdev_priv(netdev); in be_xmit()
1422 struct be_adapter *adapter = netdev_priv(netdev); in be_tx_timeout()
1497 static inline bool be_in_all_promisc(struct be_adapter *adapter) in be_in_all_promisc()
1503 static int be_set_vlan_promisc(struct be_adapter *adapter) in be_set_vlan_promisc()
1521 static int be_clear_vlan_promisc(struct be_adapter *adapter) in be_clear_vlan_promisc()
1538 static int be_vid_config(struct be_adapter *adapter) in be_vid_config()
1575 struct be_adapter *adapter = netdev_priv(netdev); in be_vlan_add_vid()
1598 struct be_adapter *adapter = netdev_priv(netdev); in be_vlan_rem_vid()
1619 static void be_set_all_promisc(struct be_adapter *adapter) in be_set_all_promisc()
1625 static void be_set_mc_promisc(struct be_adapter *adapter) in be_set_mc_promisc()
1637 static void be_set_uc_promisc(struct be_adapter *adapter) in be_set_uc_promisc()
1649 static void be_clear_uc_promisc(struct be_adapter *adapter) in be_clear_uc_promisc()
1669 struct be_adapter *adapter = netdev_priv(netdev); in be_uc_list_update()
1678 struct be_adapter *adapter = netdev_priv(netdev); in be_mc_list_update()
1684 static void be_set_mc_list(struct be_adapter *adapter) in be_set_mc_list()
1735 static void be_clear_mc_list(struct be_adapter *adapter) in be_clear_mc_list()
1744 static int be_uc_mac_add(struct be_adapter *adapter, int uc_idx) in be_uc_mac_add()
1756 static void be_uc_mac_del(struct be_adapter *adapter, int pmac_id) in be_uc_mac_del()
1764 static void be_set_uc_list(struct be_adapter *adapter) in be_set_uc_list()
1812 static void be_clear_uc_list(struct be_adapter *adapter) in be_clear_uc_list()
1824 static void __be_set_rx_mode(struct be_adapter *adapter) in __be_set_rx_mode()
1858 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_mac()
1899 struct be_adapter *adapter = netdev_priv(netdev); in be_get_vf_config()
1920 static int be_set_vf_tvt(struct be_adapter *adapter, int vf, u16 vlan) in be_set_vf_tvt()
1949 static int be_clear_vf_tvt(struct be_adapter *adapter, int vf) in be_clear_vf_tvt()
1979 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_vlan()
2013 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_tx_rate()
2075 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_link_state()
2098 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_spoofchk()
2139 struct be_adapter *adapter = eqo->adapter; in be_get_new_eqd()
2201 struct be_adapter *adapter = eqo->adapter; in be_get_eq_delay_mult_enc()
2229 void be_eqd_update(struct be_adapter *adapter, bool force_update) in be_eqd_update()
2280 struct be_adapter *adapter = rxo->adapter; in get_rx_page_info()
2397 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_process()
2434 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_process_gro()
2535 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_get()
2591 struct be_adapter *adapter = rxo->adapter; in be_post_rx_frags()
2708 static struct be_tx_compl_info *be_tx_compl_get(struct be_adapter *adapter, in be_tx_compl_get()
2748 static u16 be_tx_compl_process(struct be_adapter *adapter, in be_tx_compl_process()
2831 struct be_adapter *adapter = rxo->adapter; in be_rx_cq_clean()
2867 static void be_tx_compl_clean(struct be_adapter *adapter) in be_tx_compl_clean()
2934 static void be_evt_queues_destroy(struct be_adapter *adapter) in be_evt_queues_destroy()
2950 static int be_evt_queues_create(struct be_adapter *adapter) in be_evt_queues_create()
2992 static void be_mcc_queues_destroy(struct be_adapter *adapter) in be_mcc_queues_destroy()
3008 static int be_mcc_queues_create(struct be_adapter *adapter) in be_mcc_queues_create()
3040 static void be_tx_queues_destroy(struct be_adapter *adapter) in be_tx_queues_destroy()
3059 static int be_tx_qs_create(struct be_adapter *adapter) in be_tx_qs_create()
3104 static void be_rx_cqs_destroy(struct be_adapter *adapter) in be_rx_cqs_destroy()
3118 static int be_rx_cqs_create(struct be_adapter *adapter) in be_rx_cqs_create()
3163 struct be_adapter *adapter = eqo->adapter; in be_intx()
3209 struct be_adapter *adapter = rxo->adapter; in be_process_rx()
3266 static void be_process_tx(struct be_adapter *adapter, struct be_tx_obj *txo, in be_process_tx()
3297 struct be_adapter *adapter = eqo->adapter; in be_poll()
3338 void be_detect_error(struct be_adapter *adapter) in be_detect_error()
3418 static void be_msix_disable(struct be_adapter *adapter) in be_msix_disable()
3427 static int be_msix_enable(struct be_adapter *adapter) in be_msix_enable()
3476 static inline int be_msix_vec_get(struct be_adapter *adapter, in be_msix_vec_get()
3482 static int be_msix_register(struct be_adapter *adapter) in be_msix_register()
3510 static int be_irq_register(struct be_adapter *adapter) in be_irq_register()
3538 static void be_irq_unregister(struct be_adapter *adapter) in be_irq_unregister()
3564 static void be_rx_qs_destroy(struct be_adapter *adapter) in be_rx_qs_destroy()
3601 static void be_disable_if_filters(struct be_adapter *adapter) in be_disable_if_filters()
3635 struct be_adapter *adapter = netdev_priv(netdev); in be_close()
3682 static int be_rx_qs_create(struct be_adapter *adapter) in be_rx_qs_create()
3753 static int be_enable_if_filters(struct be_adapter *adapter) in be_enable_if_filters()
3795 struct be_adapter *adapter = netdev_priv(netdev); in be_open()
3842 static void be_vf_eth_addr_generate(struct be_adapter *adapter, u8 *mac) in be_vf_eth_addr_generate()
3861 static int be_vf_eth_addr_config(struct be_adapter *adapter) in be_vf_eth_addr_config()
3891 static int be_vfs_mac_query(struct be_adapter *adapter) in be_vfs_mac_query()
3908 static void be_vf_clear(struct be_adapter *adapter) in be_vf_clear()
3942 static void be_clear_queues(struct be_adapter *adapter) in be_clear_queues()
3950 static void be_cancel_worker(struct be_adapter *adapter) in be_cancel_worker()
3958 static void be_cancel_err_detection(struct be_adapter *adapter) in be_cancel_err_detection()
3984 struct be_adapter *adapter = netdev_priv(netdev); in be_vxlan_set_port()
4015 struct be_adapter *adapter = netdev_priv(netdev); in be_vxlan_unset_port()
4041 static void be_calculate_vf_res(struct be_adapter *adapter, u16 num_vfs, in be_calculate_vf_res()
4117 static void be_if_destroy(struct be_adapter *adapter) in be_if_destroy()
4131 static int be_clear(struct be_adapter *adapter) in be_clear()
4167 static int be_vfs_if_create(struct be_adapter *adapter) in be_vfs_if_create()
4203 static int be_vf_setup_init(struct be_adapter *adapter) in be_vf_setup_init()
4220 static int be_vf_setup(struct be_adapter *adapter) in be_vf_setup()
4330 static void BEx_get_resources(struct be_adapter *adapter, in BEx_get_resources()
4401 static void be_setup_init(struct be_adapter *adapter) in be_setup_init()
4422 static void be_calculate_pf_pool_rss_tables(struct be_adapter *adapter) in be_calculate_pf_pool_rss_tables()
4440 static int be_get_sriov_config(struct be_adapter *adapter) in be_get_sriov_config()
4479 static void be_alloc_sriov_res(struct be_adapter *adapter) in be_alloc_sriov_res()
4505 static int be_get_resources(struct be_adapter *adapter) in be_get_resources()
4555 static int be_get_config(struct be_adapter *adapter) in be_get_config()
4593 static int be_mac_setup(struct be_adapter *adapter) in be_mac_setup()
4614 static void be_schedule_worker(struct be_adapter *adapter) in be_schedule_worker()
4630 static void be_schedule_err_detection(struct be_adapter *adapter, u32 delay) in be_schedule_err_detection()
4642 static int be_setup_queues(struct be_adapter *adapter) in be_setup_queues()
4677 static int be_if_create(struct be_adapter *adapter) in be_if_create()
4713 int be_update_queues(struct be_adapter *adapter) in be_update_queues()
4787 static bool be_reset_required(struct be_adapter *adapter) in be_reset_required()
4796 static int be_func_init(struct be_adapter *adapter) in be_func_init()
4827 static int be_setup(struct be_adapter *adapter) in be_setup()
4935 struct be_adapter *adapter = netdev_priv(netdev); in be_netpoll()
4946 int be_load_fw(struct be_adapter *adapter, u8 *fw_file) in be_load_fw()
4979 struct be_adapter *adapter = netdev_priv(dev); in be_ndo_bridge_setlink()
5030 struct be_adapter *adapter = netdev_priv(dev); in be_ndo_bridge_getlink()
5057 static struct be_cmd_work *be_alloc_work(struct be_adapter *adapter, in be_alloc_work()
5078 struct be_adapter *adapter = netdev_priv(dev); in be_features_check()
5140 struct be_adapter *adapter = netdev_priv(dev); in be_get_phys_port_id()
5159 struct be_adapter *adapter = netdev_priv(dev); in be_set_rx_mode()
5197 struct be_adapter *adapter = netdev_priv(netdev); in be_netdev_init()
5230 static void be_cleanup(struct be_adapter *adapter) in be_cleanup()
5243 static int be_resume(struct be_adapter *adapter) in be_resume()
5265 static void be_soft_reset(struct be_adapter *adapter) in be_soft_reset()
5275 static bool be_err_is_recoverable(struct be_adapter *adapter) in be_err_is_recoverable()
5321 static int be_tpe_recover(struct be_adapter *adapter) in be_tpe_recover()
5392 static int be_err_recover(struct be_adapter *adapter) in be_err_recover()
5431 struct be_adapter *adapter = in be_err_detection_task()
5432 container_of(err_rec, struct be_adapter, in be_err_detection_task()
5482 static void be_log_sfp_info(struct be_adapter *adapter) in be_log_sfp_info()
5500 struct be_adapter *adapter = in be_worker()
5501 container_of(work, struct be_adapter, work.work); in be_worker()
5547 static void be_unmap_pci_bars(struct be_adapter *adapter) in be_unmap_pci_bars()
5557 static int db_bar(struct be_adapter *adapter) in db_bar()
5565 static int be_roce_map_pci_bars(struct be_adapter *adapter) in be_roce_map_pci_bars()
5577 static int be_map_pci_bars(struct be_adapter *adapter) in be_map_pci_bars()
5622 static void be_drv_cleanup(struct be_adapter *adapter) in be_drv_cleanup()
5640 static int be_drv_init(struct be_adapter *adapter) in be_drv_init()
5716 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_remove()
5751 struct be_adapter *adapter = dev_get_drvdata(dev); in be_hwmon_show_temp()
5771 static char *mc_name(struct be_adapter *adapter) in mc_name()
5801 static inline char *func_name(struct be_adapter *adapter) in func_name()
5828 struct be_adapter *adapter; in be_probe()
5924 struct be_adapter *adapter = dev_get_drvdata(dev_d); in be_suspend()
5936 struct be_adapter *adapter = dev_get_drvdata(dev_d); in be_pci_resume()
5953 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_shutdown()
5972 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_err_detected()
6005 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_reset()
6031 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_resume()
6051 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_pci_sriov_configure()