Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_virtchnl.h32 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg);
33 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg);
34 void (*reset_vf)(struct ice_vf *vf);
35 int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
36 int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg);
37 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg);
38 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg);
39 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg);
40 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg);
41 int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg);
[all …]
Dice_vf_lib.h25 struct ice_vf;
65 void (*free)(struct ice_vf *vf);
66 void (*clear_reset_state)(struct ice_vf *vf);
67 void (*clear_mbx_register)(struct ice_vf *vf);
68 void (*trigger_reset_register)(struct ice_vf *vf, bool is_vflr);
69 bool (*poll_reset_status)(struct ice_vf *vf);
70 void (*clear_reset_trigger)(struct ice_vf *vf);
71 void (*irq_close)(struct ice_vf *vf);
72 void (*post_vsi_rebuild)(struct ice_vf *vf);
86 struct ice_vf { struct
[all …]
Dice_vf_lib_private.h26 void ice_initialize_vf_entry(struct ice_vf *vf);
27 void ice_dis_vf_qs(struct ice_vf *vf);
28 int ice_check_vf_init(struct ice_vf *vf);
30 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
32 bool ice_is_vf_trusted(struct ice_vf *vf);
33 bool ice_vf_has_no_qs_ena(struct ice_vf *vf);
34 bool ice_is_vf_link_up(struct ice_vf *vf);
35 void ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf);
36 void ice_vf_ctrl_vsi_release(struct ice_vf *vf);
37 struct ice_vsi *ice_vf_ctrl_vsi_setup(struct ice_vf *vf);
[all …]
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 …]
Dice_virtchnl_fdir.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);
Dice_virtchnl_allowlist.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);
Dice_virtchnl_allowlist.c116 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed()
133 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes()
145 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist()
154 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist()
168 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist()
178 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
Dice_sriov.c28 struct ice_vf *vf; in ice_free_vf_entries()
47 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res()
87 static void ice_dis_vf_mappings(struct ice_vf *vf) in ice_dis_vf_mappings()
155 struct ice_vf *vf; in ice_free_vfs()
221 static struct ice_vsi *ice_vf_vsi_setup(struct ice_vf *vf) in ice_vf_vsi_setup()
254 static void ice_ena_vf_msix_mappings(struct ice_vf *vf) in ice_ena_vf_msix_mappings()
300 static void ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) in ice_ena_vf_q_mappings()
347 static void ice_ena_vf_mappings(struct ice_vf *vf) in ice_ena_vf_mappings()
363 void ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector) in ice_calc_vf_reg_idx()
536 static void ice_sriov_free_irqs(struct ice_pf *pf, struct ice_vf *vf) in ice_sriov_free_irqs()
[all …]
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);
73 static inline void ice_print_vf_rx_mdd_event(struct ice_vf *vf) { } in ice_print_vf_rx_mdd_event()
74 static inline void ice_print_vf_tx_mdd_event(struct ice_vf *vf) { } in ice_print_vf_tx_mdd_event()
144 ice_calc_vf_reg_idx(struct ice_vf __always_unused *vf, in ice_calc_vf_reg_idx()
Dice_virtchnl.c181 struct ice_vf *vf; in ice_vc_vf_broadcast()
208 ice_set_pfe_link(struct ice_vf *vf, struct virtchnl_pf_event *pfe, in ice_set_pfe_link()
231 void ice_vc_notify_vf_link_state(struct ice_vf *vf) in ice_vc_notify_vf_link_state()
256 struct ice_vf *vf; in ice_vc_notify_link_state()
295 ice_vc_send_msg_to_vf(struct ice_vf *vf, u32 v_opcode, in ice_vc_send_msg_to_vf()
324 static int ice_vc_get_ver_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_ver_msg()
349 static u16 ice_vc_get_max_frame_size(struct ice_vf *vf) in ice_vc_get_max_frame_size()
372 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps()
417 static int ice_vc_get_vf_res_msg(struct ice_vf *vf, u8 *msg) in ice_vc_get_vf_res_msg()
537 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg()
[all …]
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()
Dice_virtchnl_fdir.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 …]
Dice_lag.h25 struct ice_vf;
67 void ice_lag_move_new_vf_nodes(struct ice_vf *vf);
Dice_repr.h33 struct ice_vf *vf;
43 struct ice_repr *ice_repr_create_vf(struct ice_vf *vf);
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()
Dice_repr.c109 struct ice_vf *vf; in ice_repr_vf_open()
143 struct ice_vf *vf; in ice_repr_vf_stop()
407 struct ice_vf *vf = repr->vf; in ice_repr_add_vf()
446 struct ice_repr *ice_repr_create_vf(struct ice_vf *vf) in ice_repr_create_vf()
Dice_eswitch.c510 int ice_eswitch_attach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_attach_vf()
583 void ice_eswitch_detach_vf(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_detach_vf()
Dice.h456 struct ice_vf *vf;
Dice_lag.c687 void ice_lag_move_new_vf_nodes(struct ice_vf *vf) in ice_lag_move_new_vf_nodes()
Dice_main.c536 struct ice_vf *vf; in ice_prepare_for_reset()
1752 static void ice_mdd_maybe_reset_vf(struct ice_pf *pf, struct ice_vf *vf, in ice_mdd_maybe_reset_vf()
1788 struct ice_vf *vf; in ice_handle_mdd_event()
Dice_lib.c170 struct ice_vf *vf = vsi->vf; in ice_vsi_set_num_qs()
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.h16 int ice_devlink_create_vf_port(struct ice_vf *vf);
17 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
Ddevlink_port.h43 int ice_devlink_create_vf_port(struct ice_vf *vf);
44 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
Ddevlink_port.c392 struct ice_vf *vf = container_of(port, struct ice_vf, devlink_port); in ice_devlink_port_get_vf_fn_mac()
442 int ice_devlink_create_vf_port(struct ice_vf *vf) in ice_devlink_create_vf_port()
486 void ice_devlink_destroy_vf_port(struct ice_vf *vf) in ice_devlink_destroy_vf_port()
Ddevlink.c687 struct ice_vf *vf; in ice_tear_down_devlink_rate_tree()
750 struct ice_vf *vf; in ice_traverse_tx_tree()

12