Lines Matching refs:ixl_vf
37 static void ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, uint32_t val);
43 static int ixl_vf_mac_valid(struct ixl_vf *vf, const uint8_t *addr);
45 static int ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf);
46 static int ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf);
47 static void ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf);
49 static void ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf);
50 static int ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf);
51 static void ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf);
52 static void ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf);
53 static void ixl_send_vf_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_status_cod…
54 static void ixl_send_vf_ack(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op);
55 static void ixl_send_vf_nack_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_statu…
56 static void ixl_vf_version_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
57 static void ixl_vf_reset_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
58 static void ixl_vf_get_resources_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_…
59 static int ixl_vf_config_tx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_txq_info *i…
60 static int ixl_vf_config_rx_queue(struct ixl_pf *pf, struct ixl_vf *vf, struct virtchnl_rxq_info *i…
61 static void ixl_vf_config_vsi_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_siz…
64 static void ixl_vf_config_vector(struct ixl_pf *pf, struct ixl_vf *vf, const struct virtchnl_vector…
65 static void ixl_vf_config_irq_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_siz…
66 static void ixl_vf_enable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_…
67 static void ixl_vf_disable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg…
68 static void ixl_vf_add_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
69 static void ixl_vf_del_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
70 static enum i40e_status_code ixl_vf_enable_vlan_strip(struct ixl_pf *pf, struct ixl_vf *vf);
71 static void ixl_vf_add_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
72 static void ixl_vf_del_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size);
73 static void ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg…
74 static void ixl_vf_get_stats_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, uint16_t msg_size…
75 static int ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues);
124 ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_vf_alloc_vsi()
195 ixl_vf_setup_vsi(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_vf_setup_vsi()
221 ixl_vf_map_vsi_queue(struct i40e_hw *hw, struct ixl_vf *vf, int qnum, in ixl_vf_map_vsi_queue()
242 ixl_vf_map_queues(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_vf_map_queues()
319 ixl_vf_release_resources(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_vf_release_resources()
350 ixl_flush_pcie(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_flush_pcie()
373 ixl_reset_vf(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_reset_vf()
393 ixl_reinit_vf(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_reinit_vf()
448 ixl_send_vf_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, in ixl_send_vf_msg()
465 ixl_send_vf_ack(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op) in ixl_send_vf_ack()
472 ixl_send_vf_nack_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, in ixl_send_vf_nack_msg()
484 ixl_vf_version_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_version_msg()
514 ixl_vf_reset_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_reset_msg()
523 ixl_vf_get_resources_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_get_resources_msg()
556 ixl_vf_config_tx_queue(struct ixl_pf *pf, struct ixl_vf *vf, in ixl_vf_config_tx_queue()
601 ixl_vf_config_rx_queue(struct ixl_pf *pf, struct ixl_vf *vf, in ixl_vf_config_rx_queue()
668 ixl_vf_config_vsi_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_config_vsi_msg()
751 ixl_vf_config_vector(struct ixl_pf *pf, struct ixl_vf *vf, in ixl_vf_config_vector()
806 ixl_vf_config_irq_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_config_irq_msg()
862 ixl_vf_enable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_enable_queues_msg()
936 ixl_vf_disable_queues_msg(struct ixl_pf *pf, struct ixl_vf *vf, in ixl_vf_disable_queues_msg()
1013 ixl_vf_mac_valid(struct ixl_vf *vf, const uint8_t *addr) in ixl_vf_mac_valid()
1032 ixl_vf_add_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_add_mac_msg()
1066 ixl_vf_del_mac_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_del_mac_msg()
1101 ixl_vf_enable_vlan_strip(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_vf_enable_vlan_strip()
1115 ixl_vf_add_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_add_vlan_msg()
1157 ixl_vf_del_vlan_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_del_vlan_msg()
1192 ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf, in ixl_vf_config_promisc_msg()
1241 ixl_vf_get_stats_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_get_stats_msg()
1260 ixl_vf_config_rss_key_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_config_rss_key_msg()
1317 ixl_vf_config_rss_lut_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_config_rss_lut_msg()
1366 ixl_vf_set_rss_hena_msg(struct ixl_pf *pf, struct ixl_vf *vf, void *msg, in ixl_vf_set_rss_hena_msg()
1386 ixl_notify_vf_link_state(struct ixl_pf *pf, struct ixl_vf *vf) in ixl_notify_vf_link_state()
1415 struct ixl_vf *vf; in ixl_handle_vf_msg()
1523 struct ixl_vf *vf; in ixl_handle_vflr()
1660 pf->vfs = malloc(sizeof(struct ixl_vf) * num_vfs, M_IXL, M_NOWAIT | in ixl_if_iov_init()
1704 struct ixl_vf *vfs; in ixl_if_iov_uninit()
1740 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues) in ixl_vf_reserve_queues()
1775 struct ixl_vf *vf; in ixl_if_iov_vf_add()