Lines Matching refs:i40e_vf

26 	struct i40e_vf *vf = pf->vf;  in i40e_vc_vf_broadcast()
85 static void i40e_set_vf_link_state(struct i40e_vf *vf, in i40e_set_vf_link_state()
110 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state()
189 void i40e_vc_notify_vf_reset(struct i40e_vf *vf) in i40e_vc_notify_vf_reset()
219 static void i40e_vc_reset_vf(struct i40e_vf *vf, bool notify_vf) in i40e_vc_reset_vf()
260 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id()
276 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id()
292 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id()
309 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id()
338 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid()
370 static void i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, in i40e_config_irq_link_list()
476 static void i40e_release_rdma_qvlist(struct i40e_vf *vf) in i40e_release_rdma_qvlist()
527 i40e_config_rdma_qvlist(struct i40e_vf *vf, in i40e_config_rdma_qvlist()
628 static int i40e_config_vsi_tx_queue(struct i40e_vf *vf, u16 vsi_id, in i40e_config_vsi_tx_queue()
703 static int i40e_config_vsi_rx_queue(struct i40e_vf *vf, u16 vsi_id, in i40e_config_vsi_rx_queue()
795 static int i40e_alloc_vsi_res(struct i40e_vf *vf, u8 idx) in i40e_alloc_vsi_res()
885 static void i40e_map_pf_queues_to_vsi(struct i40e_vf *vf) in i40e_map_pf_queues_to_vsi()
932 static void i40e_map_pf_to_vf_queues(struct i40e_vf *vf) in i40e_map_pf_to_vf_queues()
970 static void i40e_enable_vf_mappings(struct i40e_vf *vf) in i40e_enable_vf_mappings()
999 static void i40e_disable_vf_mappings(struct i40e_vf *vf) in i40e_disable_vf_mappings()
1019 static void i40e_free_vf_res(struct i40e_vf *vf) in i40e_free_vf_res()
1100 static int i40e_alloc_vf_res(struct i40e_vf *vf) in i40e_alloc_vf_res()
1175 static int i40e_quiesce_vf_pci(struct i40e_vf *vf) in i40e_quiesce_vf_pci()
1274 i40e_set_vsi_promisc(struct i40e_vf *vf, u16 seid, bool multi_enable, in i40e_set_vsi_promisc()
1366 static int i40e_config_vf_promiscuous_mode(struct i40e_vf *vf, in i40e_config_vf_promiscuous_mode()
1438 static void i40e_trigger_vf_reset(struct i40e_vf *vf, bool flr) in i40e_trigger_vf_reset()
1498 static void i40e_cleanup_reset_vf(struct i40e_vf *vf) in i40e_cleanup_reset_vf()
1552 bool i40e_reset_vf(struct i40e_vf *vf, bool flr) in i40e_reset_vf()
1626 struct i40e_vf *vf; in i40e_reset_all_vfs()
1819 struct i40e_vf *vfs; in i40e_alloc_vfs()
1835 vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL); in i40e_alloc_vfs()
1974 static int i40e_vc_send_msg_to_vf(struct i40e_vf *vf, u32 v_opcode, in i40e_vc_send_msg_to_vf()
2010 static int i40e_vc_send_resp_to_vf(struct i40e_vf *vf, in i40e_vc_send_resp_to_vf()
2025 static bool i40e_sync_vf_state(struct i40e_vf *vf, enum i40e_vf_states state) in i40e_sync_vf_state()
2050 static int i40e_vc_get_version_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_get_version_msg()
2069 static void i40e_del_qch(struct i40e_vf *vf) in i40e_del_qch()
2095 static u16 i40e_vc_get_max_frame_size(struct i40e_vf *vf) in i40e_vc_get_max_frame_size()
2112 static int i40e_vc_get_vf_resources_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_get_vf_resources_msg()
2243 static int i40e_vc_config_promiscuous_mode_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_config_promiscuous_mode_msg()
2328 static int i40e_vc_config_queues_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_config_queues_msg()
2452 static int i40e_validate_queue_map(struct i40e_vf *vf, u16 vsi_id, in i40e_validate_queue_map()
2480 static int i40e_vc_config_irq_map_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_config_irq_map_msg()
2596 static int i40e_vc_enable_queues_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_enable_queues_msg()
2662 static int i40e_vc_disable_queues_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_disable_queues_msg()
2708 static int i40e_check_enough_queue(struct i40e_vf *vf, u16 needed) in i40e_check_enough_queue()
2764 static int i40e_vc_request_queues_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_request_queues_msg()
2812 static int i40e_vc_get_stats_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_get_stats_msg()
2853 static bool i40e_can_vf_change_mac(struct i40e_vf *vf) in i40e_can_vf_change_mac()
2897 static inline int i40e_check_vf_permission(struct i40e_vf *vf, in i40e_check_vf_permission()
3012 i40e_update_vf_mac_addr(struct i40e_vf *vf, in i40e_update_vf_mac_addr()
3039 static int i40e_vc_add_mac_addr_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_add_mac_addr_msg()
3107 static int i40e_vc_del_mac_addr_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_del_mac_addr_msg()
3195 static int i40e_vc_add_vlan_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_add_vlan_msg()
3266 static int i40e_vc_remove_vlan_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_remove_vlan_msg()
3324 static int i40e_vc_rdma_msg(struct i40e_vf *vf, u8 *msg, u16 msglen) in i40e_vc_rdma_msg()
3355 static int i40e_vc_rdma_qvmap_msg(struct i40e_vf *vf, u8 *msg, bool config) in i40e_vc_rdma_qvmap_msg()
3389 static int i40e_vc_config_rss_key(struct i40e_vf *vf, u8 *msg) in i40e_vc_config_rss_key()
3419 static int i40e_vc_config_rss_lut(struct i40e_vf *vf, u8 *msg) in i40e_vc_config_rss_lut()
3456 static int i40e_vc_get_rss_hena(struct i40e_vf *vf, u8 *msg) in i40e_vc_get_rss_hena()
3491 static int i40e_vc_set_rss_hena(struct i40e_vf *vf, u8 *msg) in i40e_vc_set_rss_hena()
3519 static int i40e_vc_enable_vlan_stripping(struct i40e_vf *vf, u8 *msg) in i40e_vc_enable_vlan_stripping()
3545 static int i40e_vc_disable_vlan_stripping(struct i40e_vf *vf, u8 *msg) in i40e_vc_disable_vlan_stripping()
3571 static int i40e_validate_cloud_filter(struct i40e_vf *vf, in i40e_validate_cloud_filter()
3702 static struct i40e_vsi *i40e_find_vsi_from_seid(struct i40e_vf *vf, u16 seid) in i40e_find_vsi_from_seid()
3722 static void i40e_del_all_cloud_filters(struct i40e_vf *vf) in i40e_del_all_cloud_filters()
3765 static int i40e_vc_del_cloud_filter(struct i40e_vf *vf, u8 *msg) in i40e_vc_del_cloud_filter()
3897 static int i40e_vc_add_cloud_filter(struct i40e_vf *vf, u8 *msg) in i40e_vc_add_cloud_filter()
4009 static int i40e_vc_add_qch_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_add_qch_msg()
4125 static int i40e_vc_del_qch_msg(struct i40e_vf *vf, u8 *msg) in i40e_vc_del_qch_msg()
4176 struct i40e_vf *vf; in i40e_vc_process_vf_msg()
4306 struct i40e_vf *vf; in i40e_vc_process_vflr_event()
4349 struct i40e_vf *vf; in i40e_validate_vf()
4375 static bool i40e_check_vf_init_timeout(struct i40e_vf *vf) in i40e_check_vf_init_timeout()
4412 struct i40e_vf *vf; in i40e_ndo_set_vf_mac()
4504 struct i40e_vf *vf; in i40e_ndo_set_vf_port_vlan()
4659 struct i40e_vf *vf; in i40e_ndo_set_vf_bw()
4710 struct i40e_vf *vf; in i40e_ndo_get_vf_config()
4771 struct i40e_vf *vf; in i40e_ndo_set_vf_link_state()
4858 struct i40e_vf *vf; in i40e_ndo_set_vf_spoofchk()
4913 struct i40e_vf *vf; in i40e_ndo_set_vf_trust()
4976 struct i40e_vf *vf; in i40e_get_vf_stats()