Home
last modified time | relevance | path

Searched refs:ice_vf (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/net/ethernet/intel/ice/virt/
H A Dvirtchnl.h42 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg);
43 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg);
44 void (*reset_vf)(struct ice_vf *vf);
45 int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
46 int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
47 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg);
48 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg);
49 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg);
50 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg);
51 int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg);
[all …]
H A Dqueues.h9 struct ice_vf;
11 u16 ice_vc_get_max_frame_size(struct ice_vf *vf);
12 int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg);
13 int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg);
14 int ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg);
15 int ice_vc_cfg_q_bw(struct ice_vf *vf, u8 *msg);
16 int ice_vc_cfg_q_quanta(struct ice_vf *vf, u8 *msg);
17 int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg);
18 int ice_vc_request_qs_msg(struct ice_vf *vf, u8 *msg);
H A Drss.h9 struct ice_vf;
11 int ice_vc_handle_rss_cfg(struct ice_vf *vf, u8 *msg, bool add);
12 int ice_vc_config_rss_key(struct ice_vf *vf, u8 *msg);
13 int ice_vc_config_rss_lut(struct ice_vf *vf, u8 *msg);
14 int ice_vc_config_rss_hfunc(struct ice_vf *vf, u8 *msg);
15 int ice_vc_get_rss_hashcfg(struct ice_vf *vf);
16 int ice_vc_set_rss_hashcfg(struct ice_vf *vf, u8 *msg);
H A Dvirtchnl.c31 struct ice_vf *vf; in ice_vc_vf_broadcast()
58 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link()
81 void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state()
106 struct ice_vf *vf; in ice_vc_notify_link_state()
145 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf()
174 static int ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_ver_msg()
200 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps()
245 static int ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_vf_res_msg()
371 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg()
384 bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id()
[all …]
H A Dfdir.h7 struct ice_vf;
44 int ice_vc_add_fdir_fltr(struct ice_vf *vf, u8 *msg);
45 int ice_vc_del_fdir_fltr(struct ice_vf *vf, u8 *msg);
46 void ice_vf_fdir_init(struct ice_vf *vf);
47 void ice_vf_fdir_exit(struct ice_vf *vf);
H A Dallowlist.h8 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode);
10 void ice_vc_set_default_allowlist(struct ice_vf *vf);
11 void ice_vc_set_working_allowlist(struct ice_vf *vf);
12 void ice_vc_set_caps_allowlist(struct ice_vf *vf);
H A Dallowlist.c129 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed()
146 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes()
158 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist()
167 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist()
181 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist()
191 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
H A Dfdir.c98 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check()
128 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi()
172 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_alloc_prof()
202 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_free_prof()
220 static void ice_vc_fdir_free_prof_all(struct ice_vf *vf) in ice_vc_fdir_free_prof_all()
288 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, in ice_vc_fdir_set_flow_fld()
332 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, in ice_vc_fdir_set_flow_hdr()
477 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof()
529 static void ice_vc_fdir_rem_prof_all(struct ice_vf *vf) in ice_vc_fdir_rem_prof_all()
567 ice_vc_fdir_has_prof_conflict(struct ice_vf *vf, in ice_vc_fdir_has_prof_conflict()
[all …]
H A Drss.c424 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto) in ice_vc_validate_pattern()
738 ice_hash_moveout(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_moveout()
771 ice_hash_moveback(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_moveback()
802 ice_hash_remove(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_hash_remove()
840 static int ice_add_rss_cfg_pre_gtpu(struct ice_vf *vf, in ice_add_rss_cfg_pre_gtpu()
965 ice_add_rss_cfg_pre_ip(struct ice_vf *vf, struct ice_vf_hash_ip_ctx *ctx) in ice_add_rss_cfg_pre_ip()
1125 ice_add_rss_cfg_pre(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_add_rss_cfg_pre()
1168 static int ice_add_rss_cfg_post_gtpu(struct ice_vf *vf, in ice_add_rss_cfg_post_gtpu()
1237 ice_add_rss_cfg_post(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_add_rss_cfg_post()
1269 ice_rem_rss_cfg_post(struct ice_vf *vf, struct ice_rss_hash_cfg *cfg) in ice_rem_rss_cfg_post()
[all …]
H A Dqueues.c20 u16 ice_vc_get_max_frame_size(struct ice_vf *vf) in ice_vc_get_max_frame_size()
70 static int ice_vf_cfg_qs_bw(struct ice_vf *vf, u16 num_queues) in ice_vf_cfg_qs_bw()
129 static int ice_vf_cfg_q_quanta_profile(struct ice_vf *vf, u16 quanta_size, in ice_vf_cfg_q_quanta_profile()
234 int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_ena_qs_msg()
325 int ice_vf_vsi_dis_single_txq(struct ice_vf *vf, struct ice_vsi *vsi, u16 q_id) in ice_vf_vsi_dis_single_txq()
361 int ice_vc_dis_qs_msg(struct ice_vf *vf, u8 *msg) in ice_vc_dis_qs_msg()
463 ice_cfg_interrupt(struct ice_vf *vf, struct ice_vsi *vsi, in ice_cfg_interrupt()
513 int ice_vc_cfg_irq_map_msg(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_irq_map_msg()
593 int ice_vc_cfg_q_bw(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_q_bw()
677 int ice_vc_cfg_q_quanta(struct ice_vf *vf, u8 *msg) in ice_vc_cfg_q_quanta()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_lib.h25 struct ice_vf;
118 void (*free)(struct ice_vf *vf);
119 void (*clear_reset_state)(struct ice_vf *vf);
120 void (*clear_mbx_register)(struct ice_vf *vf);
121 void (*trigger_reset_register)(struct ice_vf *vf, bool is_vflr);
122 bool (*poll_reset_status)(struct ice_vf *vf);
123 void (*clear_reset_trigger)(struct ice_vf *vf);
124 void (*irq_close)(struct ice_vf *vf);
125 void (*post_vsi_rebuild)(struct ice_vf *vf);
139 struct ice_vf { struct
[all …]
H A Dice_vf_lib_private.h26 void ice_initialize_vf_entry(struct ice_vf *vf);
27 void ice_deinitialize_vf_entry(struct ice_vf *vf);
28 void ice_dis_vf_qs(struct ice_vf *vf);
29 int ice_check_vf_init(struct ice_vf *vf);
31 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
33 bool ice_is_vf_trusted(struct ice_vf *vf);
34 bool ice_vf_has_no_qs_ena(struct ice_vf *vf);
35 bool ice_is_vf_link_up(struct ice_vf *vf);
36 void ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf);
37 void ice_vf_ctrl_vsi_release(struct ice_vf *vf);
[all …]
H A Dice_vf_lib.c25 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id()
27 struct ice_vf *vf; in ice_get_vf_by_id()
32 struct ice_vf *found; in ice_get_vf_by_id()
57 struct ice_vf *vf = container_of(ref, struct ice_vf, refcnt); in ice_release_vf()
75 void ice_put_vf(struct ice_vf *vf) in ice_put_vf()
107 struct ice_vf *vf; in ice_get_num_vfs()
123 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi()
143 bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled()
158 static void ice_wait_on_vf_reset(struct ice_vf *vf) in ice_wait_on_vf_reset()
177 int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg()
[all …]
H A Dice_sriov.h53 void ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector);
61 void ice_print_vf_rx_mdd_event(struct ice_vf *vf);
62 void ice_print_vf_tx_mdd_event(struct ice_vf *vf);
64 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto);
67 int ice_vf_vsi_dis_single_txq(struct ice_vf *vf, struct ice_vsi *vsi, u16 q_id);
74 static inline void ice_print_vf_rx_mdd_event(struct ice_vf *vf) { } in ice_print_vf_rx_mdd_event()
75 static inline void ice_print_vf_tx_mdd_event(struct ice_vf *vf) { } in ice_print_vf_tx_mdd_event()
145 ice_calc_vf_reg_idx(struct ice_vf __always_unused *vf, in ice_calc_vf_reg_idx()
169 static inline int ice_vf_vsi_dis_single_txq(struct ice_vf *vf, in ice_vf_vsi_dis_single_txq()
H A Dice_sriov.c28 struct ice_vf *vf; in ice_free_vf_entries()
48 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res()
89 static void ice_dis_vf_mappings(struct ice_vf *vf) in ice_dis_vf_mappings()
136 struct ice_vf *vf; in ice_free_vfs()
197 static struct ice_vsi *ice_vf_vsi_setup(struct ice_vf *vf) in ice_vf_vsi_setup()
230 static void ice_ena_vf_msix_mappings(struct ice_vf *vf) in ice_ena_vf_msix_mappings()
276 static void ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) in ice_ena_vf_q_mappings()
323 static void ice_ena_vf_mappings(struct ice_vf *vf) in ice_ena_vf_mappings()
339 void ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) in ice_calc_vf_reg_idx()
438 static int ice_init_vf_vsi_res(struct ice_vf *vf) in ice_init_vf_vsi_res()
[all …]
H A Dice_eswitch.h11 void ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf);
13 int ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf);
37 ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf) { } in ice_eswitch_detach_vf()
43 ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_attach_vf()
H A Dice_repr.h33 struct ice_vf *vf;
43 struct ice_repr *ice_repr_create_vf(struct ice_vf *vf);
H A Dice_vf_vsi_vlan_ops.c134 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_init_vlan_ops()
168 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
238 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_svm_legacy_vlan_mode()
H A Dice_repr.c110 struct ice_vf *vf; in ice_repr_vf_open()
144 struct ice_vf *vf; in ice_repr_vf_stop()
410 struct ice_vf *vf = repr->vf; in ice_repr_add_vf()
455 struct ice_repr *ice_repr_create_vf(struct ice_vf *vf) in ice_repr_create_vf()
H A Dice_lag.h29 struct ice_vf;
H A Dice_eswitch.c509 int ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_attach_vf()
586 void ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_detach_vf()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.h16 int ice_devlink_create_vf_port(struct ice_vf *vf);
17 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
H A Dport.h43 int ice_devlink_create_vf_port(struct ice_vf *vf);
44 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
H A Dport.c394 struct ice_vf *vf = container_of(port, struct ice_vf, devlink_port); in ice_devlink_port_get_vf_fn_mac()
444 int ice_devlink_create_vf_port(struct ice_vf *vf) in ice_devlink_create_vf_port()
488 void ice_devlink_destroy_vf_port(struct ice_vf *vf) in ice_devlink_destroy_vf_port()
H A Ddevlink.c695 struct ice_vf *vf; in ice_tear_down_devlink_rate_tree()
758 struct ice_vf *vf; in ice_traverse_tx_tree()

12