Lines Matching defs:vport

598 	struct hclge_vport *vport = hclge_get_vport(handle);  in hclge_update_stats()  local
628 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_sset_count() local
673 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_strings() local
715 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_stats() local
727 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_mac_stat() local
906 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_check_port_speed() local
1651 static int hclge_assign_tqp(struct hclge_vport *vport, u16 num_tqps) in hclge_assign_tqp()
1680 static int hclge_knic_setup(struct hclge_vport *vport, u16 num_tqps, in hclge_knic_setup()
1708 struct hclge_vport *vport) in hclge_map_tqp_to_vport()
1733 struct hclge_vport *vport = hdev->vport; in hclge_map_tqp() local
1750 static int hclge_vport_setup(struct hclge_vport *vport, u16 num_tqps) in hclge_vport_setup()
1772 struct hclge_vport *vport; in hclge_alloc_vport() local
2431 static int hclge_init_roce_base_info(struct hclge_vport *vport) in hclge_init_roce_base_info()
2594 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_cfg_mac_speed_dup_h() local
2624 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_autoneg() local
2642 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_autoneg() local
2654 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_restart_autoneg() local
2668 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_halt_autoneg() local
2814 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_fec_stats() local
2858 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_fec() local
2879 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_fec() local
3004 struct hclge_vport *vport; in hclge_push_link_status() local
3242 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_phy_link_ksettings() local
3293 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_phy_link_ksettings() local
3423 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_status() local
3454 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_vf_config() local
3478 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_link_state() local
3813 struct hclge_vport *vport = &hdev->vport[i]; in hclge_set_all_vf_rst() local
4540 struct hclge_vport *vport = &hdev->vport[i]; in hclge_update_vport_alive() local
4681 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_vector() local
4721 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_put_vector() local
4741 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_rss() local
4756 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_rss() local
4779 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_rss_tuple() local
4797 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_rss_tuple() local
4815 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_tc_size() local
4824 struct hclge_vport *vport = hdev->vport; in hclge_init_rss_tc_mode() local
4888 int hclge_bind_ring_with_vector(struct hclge_vport *vport, in hclge_bind_ring_with_vector()
4969 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_map_ring_to_vector() local
4986 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_unmap_ring_frm_vector() local
5012 struct hclge_vport *vport = &hdev->vport[vf_id]; in hclge_cmd_set_promisc_mode() local
5054 int hclge_set_vport_promisc_mode(struct hclge_vport *vport, bool en_uc_pmc, in hclge_set_vport_promisc_mode()
5064 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_promisc_mode() local
5081 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_request_update_promisc_mode() local
5788 struct hclge_vport *vport = hdev->vport; in hclge_config_action() local
6401 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_is_cls_flower_active() local
6410 struct hclge_vport *vport = hdev->vport; in hclge_fd_parse_ring_cookie() local
6449 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_add_fd_entry() local
6510 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_del_fd_entry() local
6584 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_restore_fd_entries() local
6614 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_fd_rule_cnt() local
6830 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_fd_rule_info() local
6892 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_all_rules() local
6992 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_add_fd_entry_by_arfs() local
7282 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_add_cls_flower() local
7341 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_del_cls_flower() local
7433 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_hw_reset_stat() local
7442 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_cmdq_stat() local
7450 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_ae_dev_resetting() local
7458 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_ae_dev_reset_cnt() local
7466 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_enable_fd() local
7835 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_tqp_enable() local
7851 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_loopback() local
7931 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_timer_task() local
7948 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_ae_start() local
7966 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_ae_stop() local
8002 int hclge_vport_start(struct hclge_vport *vport) in hclge_vport_start()
8026 void hclge_vport_stop(struct hclge_vport *vport) in hclge_vport_stop()
8035 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_client_start() local
8042 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_client_stop() local
8047 static int hclge_get_mac_vlan_cmd_status(struct hclge_vport *vport, in hclge_get_mac_vlan_cmd_status()
8166 static int hclge_remove_mac_vlan_tbl(struct hclge_vport *vport, in hclge_remove_mac_vlan_tbl()
8193 static int hclge_lookup_mac_vlan_tbl(struct hclge_vport *vport, in hclge_lookup_mac_vlan_tbl()
8236 static int hclge_add_mac_vlan_tbl(struct hclge_vport *vport, in hclge_add_mac_vlan_tbl()
8340 struct hclge_vport *vport; in hclge_reset_umv_space() local
8356 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full()
8373 static void hclge_update_umv_space(struct hclge_vport *vport, bool is_free) in hclge_update_umv_space()
8432 int hclge_update_mac_list(struct hclge_vport *vport, in hclge_update_mac_list()
8489 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_add_uc_addr() local
8495 int hclge_add_uc_addr_common(struct hclge_vport *vport, in hclge_add_uc_addr_common()
8560 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_rm_uc_addr() local
8566 int hclge_rm_uc_addr_common(struct hclge_vport *vport, in hclge_rm_uc_addr_common()
8601 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_add_mc_addr() local
8607 int hclge_add_mc_addr_common(struct hclge_vport *vport, in hclge_add_mc_addr_common()
8665 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_rm_mc_addr() local
8671 int hclge_rm_mc_addr_common(struct hclge_vport *vport, in hclge_rm_mc_addr_common()
8714 static void hclge_sync_vport_mac_list(struct hclge_vport *vport, in hclge_sync_vport_mac_list()
8750 static void hclge_unsync_vport_mac_list(struct hclge_vport *vport, in hclge_unsync_vport_mac_list()
8835 static void hclge_update_overflow_flags(struct hclge_vport *vport, in hclge_update_overflow_flags()
8852 static void hclge_sync_vport_mac_table(struct hclge_vport *vport, in hclge_sync_vport_mac_table()
8909 static bool hclge_need_sync_mac_table(struct hclge_vport *vport) in hclge_need_sync_mac_table()
8927 struct hclge_vport *vport = &hdev->vport[i]; in hclge_sync_mac_table() local
8959 static void hclge_unsync_del_list(struct hclge_vport *vport, in hclge_unsync_del_list()
8960 int (*unsync)(struct hclge_vport *vport, in hclge_unsync_del_list()
8988 void hclge_rm_vport_all_mac_table(struct hclge_vport *vport, bool is_del_list, in hclge_rm_vport_all_mac_table()
9024 static void hclge_uninit_vport_mac_list(struct hclge_vport *vport, in hclge_uninit_vport_mac_list()
9069 struct hclge_vport *vport; in hclge_uninit_mac_table() local
9124 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_mac() local
9205 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_mac_addr() local
9211 int hclge_update_mac_node_for_dev_addr(struct hclge_vport *vport, in hclge_update_mac_node_for_dev_addr()
9259 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_mac_addr() local
9338 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_do_ioctl() local
9409 static int hclge_set_vport_vlan_filter(struct hclge_vport *vport, bool enable) in hclge_set_vport_vlan_filter()
9441 static bool hclge_need_enable_vport_vlan_filter(struct hclge_vport *vport) in hclge_need_enable_vport_vlan_filter()
9472 int hclge_enable_vport_vlan_filter(struct hclge_vport *vport, bool request_en) in hclge_enable_vport_vlan_filter()
9503 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_enable_vlan_filter() local
9596 struct hclge_vport *vport = &hdev->vport[vfid]; in hclge_set_vf_vlan_common() local
9710 static int hclge_set_vlan_tx_offload_cfg(struct hclge_vport *vport) in hclge_set_vlan_tx_offload_cfg()
9755 static int hclge_set_vlan_rx_offload_cfg(struct hclge_vport *vport) in hclge_set_vlan_rx_offload_cfg()
9795 static int hclge_vlan_offload_cfg(struct hclge_vport *vport, in hclge_vlan_offload_cfg()
9893 struct hclge_vport *vport; in hclge_init_vlan_filter() local
9932 struct hclge_vport *vport; in hclge_init_vport_vlan_offload() local
9969 static void hclge_add_vport_vlan_table(struct hclge_vport *vport, u16 vlan_id, in hclge_add_vport_vlan_table()
9997 static int hclge_add_vport_all_vlan_table(struct hclge_vport *vport) in hclge_add_vport_all_vlan_table()
10027 static void hclge_rm_vport_vlan_table(struct hclge_vport *vport, u16 vlan_id, in hclge_rm_vport_vlan_table()
10049 void hclge_rm_vport_all_vlan_table(struct hclge_vport *vport, bool is_del_list) in hclge_rm_vport_all_vlan_table()
10077 struct hclge_vport *vport; in hclge_uninit_vport_vlan_table() local
10096 struct hclge_vport *vport; in hclge_restore_vport_port_base_vlan_config() local
10124 void hclge_restore_vport_vlan_table(struct hclge_vport *vport) in hclge_restore_vport_vlan_table()
10166 void hclge_restore_mac_table_common(struct hclge_vport *vport) in hclge_restore_mac_table_common()
10179 struct hclge_vport *vport = &hdev->vport[0]; in hclge_restore_hw_table() local
10191 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_en_hw_strip_rxvtag() local
10211 static void hclge_set_vport_vlan_fltr_change(struct hclge_vport *vport) in hclge_set_vport_vlan_fltr_change()
10219 static int hclge_update_vlan_filter_entries(struct hclge_vport *vport, in hclge_update_vlan_filter_entries()
10268 static int hclge_modify_port_base_vlan_tag(struct hclge_vport *vport, in hclge_modify_port_base_vlan_tag()
10299 int hclge_update_port_base_vlan_cfg(struct hclge_vport *vport, u16 state, in hclge_update_port_base_vlan_cfg()
10340 static u16 hclge_get_port_base_vlan_state(struct hclge_vport *vport, in hclge_get_port_base_vlan_state()
10365 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_vlan_filter() local
10424 struct hclge_vport *vport; in hclge_clear_vf_vlan() local
10446 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vlan_filter() local
10504 struct hclge_vport *vport; in hclge_sync_vlan_fltr_state() local
10537 struct hclge_vport *vport = &hdev->vport[i]; in hclge_sync_vlan_filter() local
10585 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_mtu() local
10590 int hclge_set_vport_mtu(struct hclge_vport *vport, int new_mtu) in hclge_set_vport_mtu()
10707 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_reset_tqp_cmd() local
10761 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_reset_rcb() local
10802 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_reset_tqp() local
10821 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_fw_version() local
10890 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_pauseparam() local
10936 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_pauseparam() local
10972 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_ksettings_an_result() local
10988 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_media_type() local
11007 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_mdix_mode() local
11083 struct hclge_vport *vport) in hclge_init_nic_client_instance()
11127 struct hclge_vport *vport) in hclge_init_roce_client_instance()
11181 struct hclge_vport *vport = &hdev->vport[0]; in hclge_init_client_instance() local
11228 struct hclge_vport *vport = &hdev->vport[0]; in hclge_uninit_client_instance() local
11419 struct hclge_vport *vport = &hdev->vport[i]; in hclge_clear_resetting_state() local
11467 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_wol_info() local
11560 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_wol() local
11858 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_spoofchk() local
11892 struct hclge_vport *vport = hdev->vport; in hclge_reset_vport_spoofchk() local
11914 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_trust() local
11939 struct hclge_vport *vport = &hdev->vport[vf]; in hclge_reset_vf_rate() local
11967 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_vf_rate() local
11994 struct hclge_vport *vport; in hclge_resume_vf_rate() local
12025 struct hclge_vport *vport = hdev->vport; in hclge_reset_vport_state() local
12210 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_max_channels() local
12228 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_tqps_and_rss_info() local
12237 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_rss_tc_mode_cfg() local
12267 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_channels() local
12347 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_set_led_id() local
12365 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_link_mode() local
12377 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_gro_en() local
12390 static int hclge_sync_vport_promisc_mode(struct hclge_vport *vport) in hclge_sync_vport_promisc_mode()
12445 struct hclge_vport *vport; in hclge_sync_promisc_mode() local
12534 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_module_eeprom() local
12562 struct hclge_vport *vport = hclge_get_vport(handle); in hclge_get_link_diagnosis_info() local
12585 static void hclge_clear_vport_vf_info(struct hclge_vport *vport, int vfid) in hclge_clear_vport_vf_info()
12626 struct hclge_vport *vport; in hclge_clean_vport_config() local
12639 struct hclge_vport *vport = hclge_get_vport(h); in hclge_get_dscp_prio() local