Lines Matching refs:ae_algo

320 	h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size);  in hns3_get_max_available_channels()
400 ret = h->ae_algo->ops->start ? h->ae_algo->ops->start(h) : 0; in hns3_nic_net_up()
462 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_open()
463 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open()
502 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()
526 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_stop()
527 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop()
542 if (h->ae_algo->ops->add_uc_addr) in hns3_nic_uc_sync()
543 return h->ae_algo->ops->add_uc_addr(h, addr); in hns3_nic_uc_sync()
560 if (h->ae_algo->ops->rm_uc_addr) in hns3_nic_uc_unsync()
561 return h->ae_algo->ops->rm_uc_addr(h, addr); in hns3_nic_uc_unsync()
571 if (h->ae_algo->ops->add_mc_addr) in hns3_nic_mc_sync()
572 return h->ae_algo->ops->add_mc_addr(h, addr); in hns3_nic_mc_sync()
582 if (h->ae_algo->ops->rm_mc_addr) in hns3_nic_mc_unsync()
583 return h->ae_algo->ops->rm_mc_addr(h, addr); in hns3_nic_mc_unsync()
622 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_request_update_promisc_mode()
636 h->ae_algo->ops->enable_vlan_filter) { in hns3_enable_vlan_filter()
642 h->ae_algo->ops->enable_vlan_filter(h, enable); in hns3_enable_vlan_filter()
1532 ret = h->ae_algo->ops->set_mac_addr(h, mac_addr->sa_data, false); in hns3_nic_net_set_mac_address()
1551 if (!h->ae_algo->ops->do_ioctl) in hns3_nic_do_ioctl()
1554 return h->ae_algo->ops->do_ioctl(h, ifr, cmd); in hns3_nic_do_ioctl()
1566 if (changed & (NETIF_F_GRO_HW) && h->ae_algo->ops->set_gro_en) { in hns3_nic_set_features()
1568 ret = h->ae_algo->ops->set_gro_en(h, enable); in hns3_nic_set_features()
1574 h->ae_algo->ops->enable_hw_strip_rxvtag) { in hns3_nic_set_features()
1576 ret = h->ae_algo->ops->enable_hw_strip_rxvtag(h, enable); in hns3_nic_set_features()
1581 if ((changed & NETIF_F_NTUPLE) && h->ae_algo->ops->enable_fd) { in hns3_nic_set_features()
1583 h->ae_algo->ops->enable_fd(h, enable); in hns3_nic_set_features()
1645 handle->ae_algo->ops->update_stats(handle, &netdev->stats); in hns3_nic_get_stats64()
1752 if (h->ae_algo->ops->set_vlan_filter) in hns3_vlan_rx_add_vid()
1753 ret = h->ae_algo->ops->set_vlan_filter(h, proto, vid, false); in hns3_vlan_rx_add_vid()
1764 if (h->ae_algo->ops->set_vlan_filter) in hns3_vlan_rx_kill_vid()
1765 ret = h->ae_algo->ops->set_vlan_filter(h, proto, vid, true); in hns3_vlan_rx_kill_vid()
1780 if (h->ae_algo->ops->set_vf_vlan_filter) in hns3_ndo_set_vf_vlan()
1781 ret = h->ae_algo->ops->set_vf_vlan_filter(h, vf, vlan, in hns3_ndo_set_vf_vlan()
1794 if (!handle->ae_algo->ops->set_vf_spoofchk) in hns3_set_vf_spoofchk()
1797 return handle->ae_algo->ops->set_vf_spoofchk(handle, vf, enable); in hns3_set_vf_spoofchk()
1804 if (!handle->ae_algo->ops->set_vf_trust) in hns3_set_vf_trust()
1807 return handle->ae_algo->ops->set_vf_trust(handle, vf, enable); in hns3_set_vf_trust()
1818 if (!h->ae_algo->ops->set_mtu) in hns3_nic_change_mtu()
1824 ret = h->ae_algo->ops->set_mtu(h, new_mtu); in hns3_nic_change_mtu()
1896 if (h->ae_algo->ops->get_mac_stats) { in hns3_get_tx_timeo_queue_info()
1899 h->ae_algo->ops->get_mac_stats(h, &mac_stats); in hns3_get_tx_timeo_queue_info()
1945 if (h->ae_algo->ops->reset_event) in hns3_nic_net_timeout()
1946 h->ae_algo->ops->reset_event(h->pdev, h); in hns3_nic_net_timeout()
1956 if (!h->ae_algo->ops->add_arfs_entry) in hns3_rx_flow_steer()
1971 return h->ae_algo->ops->add_arfs_entry(h, rxq_index, flow_id, &fkeys); in hns3_rx_flow_steer()
1980 if (!h->ae_algo->ops->get_vf_config) in hns3_nic_get_vf_config()
1983 return h->ae_algo->ops->get_vf_config(h, vf, ivf); in hns3_nic_get_vf_config()
1991 if (!h->ae_algo->ops->set_vf_link_state) in hns3_nic_set_vf_link_state()
1994 return h->ae_algo->ops->set_vf_link_state(h, vf, link_state); in hns3_nic_set_vf_link_state()
2002 if (!h->ae_algo->ops->set_vf_rate) in hns3_nic_set_vf_rate()
2005 return h->ae_algo->ops->set_vf_rate(h, vf, min_tx_rate, max_tx_rate, in hns3_nic_set_vf_rate()
2013 if (!h->ae_algo->ops->set_vf_mac) in hns3_nic_set_vf_mac()
2023 return h->ae_algo->ops->set_vf_mac(h, vf_id, mac); in hns3_nic_set_vf_mac()
3574 ret = h->ae_algo->ops->map_ring_to_vector(h, in hns3_nic_init_vector_data()
3619 vector_num = h->ae_algo->ops->get_vector(h, vector_num, vector); in hns3_nic_alloc_vector_data()
3669 h->ae_algo->ops->unmap_ring_from_vector(h, in hns3_nic_uninit_vector_data()
3690 ret = h->ae_algo->ops->put_vector(h, tqp_vector->vector_irq); in hns3_nic_dealloc_vector_data()
3933 if (h->ae_algo->ops->get_mac_addr) in hns3_init_mac_addr()
3934 h->ae_algo->ops->get_mac_addr(h, mac_addr_temp); in hns3_init_mac_addr()
3948 if (h->ae_algo->ops->set_mac_addr) in hns3_init_mac_addr()
3949 ret = h->ae_algo->ops->set_mac_addr(h, netdev->dev_addr, true); in hns3_init_mac_addr()
3959 if (h->ae_algo->ops->mac_connect_phy) in hns3_init_phy()
3960 ret = h->ae_algo->ops->mac_connect_phy(h); in hns3_init_phy()
3969 if (h->ae_algo->ops->mac_disconnect_phy) in hns3_uninit_phy()
3970 h->ae_algo->ops->mac_disconnect_phy(h); in hns3_uninit_phy()
3977 if (h->ae_algo->ops->del_all_fd_entries) in hns3_del_all_fd_rules()
3978 h->ae_algo->ops->del_all_fd_entries(h, clear_list); in hns3_del_all_fd_rules()
3983 if (!handle->ae_algo->ops->client_start) in hns3_client_start()
3986 return handle->ae_algo->ops->client_start(handle); in hns3_client_start()
3991 if (!handle->ae_algo->ops->client_stop) in hns3_client_stop()
3994 handle->ae_algo->ops->client_stop(handle); in hns3_client_stop()
4021 handle->ae_algo->ops->get_tqps_and_rss_info(handle, &alloc_tqps, in hns3_client_init()
4314 ret = h->ae_algo->ops->reset_queue(h, i); in hns3_nic_reset_all_ring()
4538 ret = handle->ae_algo->ops->set_channels(handle, new_tqp_num, in hns3_change_channels()