Lines Matching defs:adapter

144 static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q)  in be_queue_free()
155 static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q, in be_queue_alloc()
171 static void be_reg_intr_set(struct be_adapter *adapter, bool enable) in be_reg_intr_set()
190 static void be_intr_set(struct be_adapter *adapter, bool enable) in be_intr_set()
206 static void be_rxq_notify(struct be_adapter *adapter, u16 qid, u16 posted) in be_rxq_notify()
220 static void be_txq_notify(struct be_adapter *adapter, struct be_tx_obj *txo, in be_txq_notify()
235 static void be_eq_notify(struct be_adapter *adapter, u16 qid, in be_eq_notify()
257 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, u16 num_popped) in be_cq_notify()
274 static int be_dev_mac_add(struct be_adapter *adapter, const u8 *mac) in be_dev_mac_add()
291 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del()
307 struct be_adapter *adapter = netdev_priv(netdev); in be_mac_addr_set() local
380 static void *hw_stats_from_cmd(struct be_adapter *adapter) in hw_stats_from_cmd()
398 static void *be_erx_stats_from_cmd(struct be_adapter *adapter) in be_erx_stats_from_cmd()
415 static void populate_be_v0_stats(struct be_adapter *adapter) in populate_be_v0_stats()
464 static void populate_be_v1_stats(struct be_adapter *adapter) in populate_be_v1_stats()
510 static void populate_be_v2_stats(struct be_adapter *adapter) in populate_be_v2_stats()
564 static void populate_lancer_stats(struct be_adapter *adapter) in populate_lancer_stats()
613 static void populate_erx_stats(struct be_adapter *adapter, in populate_erx_stats()
626 void be_parse_stats(struct be_adapter *adapter) in be_parse_stats()
655 struct be_adapter *adapter = netdev_priv(netdev); in be_get_stats64() local
719 void be_link_status_update(struct be_adapter *adapter, u8 link_status) in be_link_status_update()
786 static inline u16 be_get_tx_vlan_tag(struct be_adapter *adapter, in be_get_tx_vlan_tag()
830 static void be_get_wrb_params_from_skb(struct be_adapter *adapter, in be_get_wrb_params_from_skb()
862 static void wrb_fill_hdr(struct be_adapter *adapter, in wrb_fill_hdr()
926 static void be_tx_setup_wrb_hdr(struct be_adapter *adapter, in be_tx_setup_wrb_hdr()
962 static void be_xmit_restore(struct be_adapter *adapter, in be_xmit_restore()
990 static u32 be_xmit_enqueue(struct be_adapter *adapter, struct be_tx_obj *txo, in be_xmit_enqueue()
1036 static inline int qnq_async_evt_rcvd(struct be_adapter *adapter) in qnq_async_evt_rcvd()
1041 static struct sk_buff *be_insert_vlan_in_pkt(struct be_adapter *adapter, in be_insert_vlan_in_pkt()
1112 static int be_vlan_tag_tx_chk(struct be_adapter *adapter, struct sk_buff *skb) in be_vlan_tag_tx_chk()
1117 static int be_ipv6_tx_stall_chk(struct be_adapter *adapter, struct sk_buff *skb) in be_ipv6_tx_stall_chk()
1122 static struct sk_buff *be_lancer_xmit_workarounds(struct be_adapter *adapter, in be_lancer_xmit_workarounds()
1192 static struct sk_buff *be_xmit_workarounds(struct be_adapter *adapter, in be_xmit_workarounds()
1224 static void be_xmit_flush(struct be_adapter *adapter, struct be_tx_obj *txo) in be_xmit_flush()
1256 #define is_mc_allowed_on_bmc(adapter, eh) \ argument
1261 #define is_bc_allowed_on_bmc(adapter, eh) \ argument
1265 #define is_arp_allowed_on_bmc(adapter, skb) \ argument
1270 #define is_arp_filt_enabled(adapter) \ argument
1273 #define is_dhcp_client_filt_enabled(adapter) \ argument
1276 #define is_dhcp_srvr_filt_enabled(adapter) \ argument
1279 #define is_nbios_filt_enabled(adapter) \ argument
1282 #define is_ipv6_na_filt_enabled(adapter) \ argument
1286 #define is_ipv6_ra_filt_enabled(adapter) \ argument
1289 #define is_ipv6_ras_filt_enabled(adapter) \ argument
1292 #define is_broadcast_filt_enabled(adapter) \ argument
1295 #define is_multicast_filt_enabled(adapter) \ argument
1298 static bool be_send_pkt_to_bmc(struct be_adapter *adapter, in be_send_pkt_to_bmc()
1370 struct be_adapter *adapter = netdev_priv(netdev); in be_xmit() local
1421 struct be_adapter *adapter = netdev_priv(netdev); in be_tx_timeout() local
1496 static inline bool be_in_all_promisc(struct be_adapter *adapter) in be_in_all_promisc()
1502 static int be_set_vlan_promisc(struct be_adapter *adapter) in be_set_vlan_promisc()
1520 static int be_clear_vlan_promisc(struct be_adapter *adapter) in be_clear_vlan_promisc()
1537 static int be_vid_config(struct be_adapter *adapter) in be_vid_config()
1574 struct be_adapter *adapter = netdev_priv(netdev); in be_vlan_add_vid() local
1597 struct be_adapter *adapter = netdev_priv(netdev); in be_vlan_rem_vid() local
1618 static void be_set_all_promisc(struct be_adapter *adapter) in be_set_all_promisc()
1624 static void be_set_mc_promisc(struct be_adapter *adapter) in be_set_mc_promisc()
1636 static void be_set_uc_promisc(struct be_adapter *adapter) in be_set_uc_promisc()
1648 static void be_clear_uc_promisc(struct be_adapter *adapter) in be_clear_uc_promisc()
1668 struct be_adapter *adapter = netdev_priv(netdev); in be_uc_list_update() local
1677 struct be_adapter *adapter = netdev_priv(netdev); in be_mc_list_update() local
1683 static void be_set_mc_list(struct be_adapter *adapter) in be_set_mc_list()
1734 static void be_clear_mc_list(struct be_adapter *adapter) in be_clear_mc_list()
1743 static int be_uc_mac_add(struct be_adapter *adapter, int uc_idx) in be_uc_mac_add()
1755 static void be_uc_mac_del(struct be_adapter *adapter, int pmac_id) in be_uc_mac_del()
1763 static void be_set_uc_list(struct be_adapter *adapter) in be_set_uc_list()
1811 static void be_clear_uc_list(struct be_adapter *adapter) in be_clear_uc_list()
1823 static void __be_set_rx_mode(struct be_adapter *adapter) in __be_set_rx_mode()
1857 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_mac() local
1898 struct be_adapter *adapter = netdev_priv(netdev); in be_get_vf_config() local
1919 static int be_set_vf_tvt(struct be_adapter *adapter, int vf, u16 vlan) in be_set_vf_tvt()
1948 static int be_clear_vf_tvt(struct be_adapter *adapter, int vf) in be_clear_vf_tvt()
1978 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_vlan() local
2012 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_tx_rate() local
2074 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_link_state() local
2097 struct be_adapter *adapter = netdev_priv(netdev); in be_set_vf_spoofchk() local
2138 struct be_adapter *adapter = eqo->adapter; in be_get_new_eqd() local
2200 struct be_adapter *adapter = eqo->adapter; in be_get_eq_delay_mult_enc() local
2228 void be_eqd_update(struct be_adapter *adapter, bool force_update) in be_eqd_update()
2279 struct be_adapter *adapter = rxo->adapter; in get_rx_page_info() local
2396 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_process() local
2433 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_process_gro() local
2536 struct be_adapter *adapter = rxo->adapter; in be_rx_compl_get() local
2592 struct be_adapter *adapter = rxo->adapter; in be_post_rx_frags() local
2709 static struct be_tx_compl_info *be_tx_compl_get(struct be_adapter *adapter, in be_tx_compl_get()
2749 static u16 be_tx_compl_process(struct be_adapter *adapter, in be_tx_compl_process()
2832 struct be_adapter *adapter = rxo->adapter; in be_rx_cq_clean() local
2868 static void be_tx_compl_clean(struct be_adapter *adapter) in be_tx_compl_clean()
2935 static void be_evt_queues_destroy(struct be_adapter *adapter) in be_evt_queues_destroy()
2951 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() local
3209 struct be_adapter *adapter = rxo->adapter; in be_process_rx() local
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() local
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() local
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() local
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() local
4015 struct be_adapter *adapter = netdev_priv(netdev); in be_vxlan_unset_port() local
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()
4629 static void be_schedule_err_detection(struct be_adapter *adapter, u32 delay) in be_schedule_err_detection()
4641 static int be_setup_queues(struct be_adapter *adapter) in be_setup_queues()
4676 static int be_if_create(struct be_adapter *adapter) in be_if_create()
4706 int be_update_queues(struct be_adapter *adapter) in be_update_queues()
4780 static bool be_reset_required(struct be_adapter *adapter) in be_reset_required()
4789 static int be_func_init(struct be_adapter *adapter) in be_func_init()
4820 static int be_setup(struct be_adapter *adapter) in be_setup()
4928 struct be_adapter *adapter = netdev_priv(netdev); in be_netpoll() local
4939 int be_load_fw(struct be_adapter *adapter, u8 *fw_file) in be_load_fw()
4972 struct be_adapter *adapter = netdev_priv(dev); in be_ndo_bridge_setlink() local
5017 struct be_adapter *adapter = netdev_priv(dev); in be_ndo_bridge_getlink() local
5044 static struct be_cmd_work *be_alloc_work(struct be_adapter *adapter, in be_alloc_work()
5065 struct be_adapter *adapter = netdev_priv(dev); in be_features_check() local
5127 struct be_adapter *adapter = netdev_priv(dev); in be_get_phys_port_id() local
5146 struct be_adapter *adapter = netdev_priv(dev); in be_set_rx_mode() local
5182 struct be_adapter *adapter = netdev_priv(netdev); in be_netdev_init() local
5216 static void be_cleanup(struct be_adapter *adapter) in be_cleanup()
5229 static int be_resume(struct be_adapter *adapter) in be_resume()
5251 static void be_soft_reset(struct be_adapter *adapter) in be_soft_reset()
5261 static bool be_err_is_recoverable(struct be_adapter *adapter) in be_err_is_recoverable()
5307 static int be_tpe_recover(struct be_adapter *adapter) in be_tpe_recover()
5378 static int be_err_recover(struct be_adapter *adapter) in be_err_recover()
5417 struct be_adapter *adapter = in be_err_detection_task() local
5468 static void be_log_sfp_info(struct be_adapter *adapter) in be_log_sfp_info()
5486 struct be_adapter *adapter = in be_worker() local
5533 static void be_unmap_pci_bars(struct be_adapter *adapter) in be_unmap_pci_bars()
5543 static int db_bar(struct be_adapter *adapter) in db_bar()
5551 static int be_roce_map_pci_bars(struct be_adapter *adapter) in be_roce_map_pci_bars()
5563 static int be_map_pci_bars(struct be_adapter *adapter) in be_map_pci_bars()
5608 static void be_drv_cleanup(struct be_adapter *adapter) in be_drv_cleanup()
5626 static int be_drv_init(struct be_adapter *adapter) in be_drv_init()
5702 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_remove() local
5735 struct be_adapter *adapter = dev_get_drvdata(dev); in be_hwmon_show_temp() local
5755 static char *mc_name(struct be_adapter *adapter) in mc_name()
5785 static inline char *func_name(struct be_adapter *adapter) in func_name()
5812 struct be_adapter *adapter; in be_probe() local
5898 struct be_adapter *adapter = dev_get_drvdata(dev_d); in be_suspend() local
5910 struct be_adapter *adapter = dev_get_drvdata(dev_d); in be_pci_resume() local
5927 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_shutdown() local
5946 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_err_detected() local
5979 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_reset() local
6005 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_eeh_resume() local
6025 struct be_adapter *adapter = pci_get_drvdata(pdev); in be_pci_sriov_configure() local