/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.h | 22 int (*get_ver_msg)(struct ice_vf *vf, u8 *msg); 23 int (*get_vf_res_msg)(struct ice_vf *vf, u8 *msg); 24 void (*reset_vf)(struct ice_vf *vf); 25 int (*add_mac_addr_msg)(struct ice_vf *vf, u8 *msg); 26 int (*del_mac_addr_msg)(struct ice_vf *vf, u8 *msg); 27 int (*cfg_qs_msg)(struct ice_vf *vf, u8 *msg); 28 int (*ena_qs_msg)(struct ice_vf *vf, u8 *msg); 29 int (*dis_qs_msg)(struct ice_vf *vf, u8 *msg); 30 int (*request_qs_msg)(struct ice_vf *vf, u8 *msg); 31 int (*cfg_irq_map_msg)(struct ice_vf *vf, u8 *msg); [all …]
|
D | ice_vf_lib.h | 24 struct ice_vf; 58 void (*free)(struct ice_vf *vf); 59 void (*clear_mbx_register)(struct ice_vf *vf); 60 void (*trigger_reset_register)(struct ice_vf *vf, bool is_vflr); 61 bool (*poll_reset_status)(struct ice_vf *vf); 62 void (*clear_reset_trigger)(struct ice_vf *vf); 63 int (*vsi_rebuild)(struct ice_vf *vf); 64 void (*post_vsi_rebuild)(struct ice_vf *vf); 79 struct ice_vf { struct 143 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() argument [all …]
|
D | ice_vf_lib_private.h | 26 void ice_dis_vf_qs(struct ice_vf *vf); 27 int ice_check_vf_init(struct ice_vf *vf); 28 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf); 30 bool ice_is_vf_trusted(struct ice_vf *vf); 31 bool ice_vf_has_no_qs_ena(struct ice_vf *vf); 32 bool ice_is_vf_link_up(struct ice_vf *vf); 33 void ice_vf_rebuild_host_cfg(struct ice_vf *vf); 34 void ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf); 35 void ice_vf_ctrl_vsi_release(struct ice_vf *vf); 36 struct ice_vsi *ice_vf_ctrl_vsi_setup(struct ice_vf *vf); [all …]
|
D | ice_vf_lib.c | 25 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() 73 void ice_put_vf(struct ice_vf *vf) in ice_put_vf() 105 struct ice_vf *vf; in ice_get_num_vfs() 121 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() 141 bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() 156 static void ice_wait_on_vf_reset(struct ice_vf *vf) in ice_wait_on_vf_reset() 175 int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg() [all …]
|
D | ice_eswitch.h | 24 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, 26 void ice_eswitch_replay_vf_mac_rule(struct ice_vf *vf); 27 void ice_eswitch_del_vf_mac_rule(struct ice_vf *vf); 37 static inline void ice_eswitch_replay_vf_mac_rule(struct ice_vf *vf) { } in ice_eswitch_replay_vf_mac_rule() 38 static inline void ice_eswitch_del_vf_mac_rule(struct ice_vf *vf) { } in ice_eswitch_del_vf_mac_rule() 41 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, in ice_eswitch_add_vf_mac_rule()
|
D | ice_virtchnl_fdir.h | 7 struct ice_vf; 43 int ice_vc_add_fdir_fltr(struct ice_vf *vf, u8 *msg); 44 int ice_vc_del_fdir_fltr(struct ice_vf *vf, u8 *msg); 45 void ice_vf_fdir_init(struct ice_vf *vf); 46 void ice_vf_fdir_exit(struct ice_vf *vf);
|
D | ice_virtchnl_allowlist.h | 8 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);
|
D | ice_virtchnl_allowlist.c | 111 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode) in ice_vc_is_opcode_allowed() 128 ice_vc_allowlist_opcodes(struct ice_vf *vf, const u32 *opcodes, size_t size) in ice_vc_allowlist_opcodes() 140 static void ice_vc_clear_allowlist(struct ice_vf *vf) in ice_vc_clear_allowlist() 149 void ice_vc_set_default_allowlist(struct ice_vf *vf) in ice_vc_set_default_allowlist() 163 void ice_vc_set_working_allowlist(struct ice_vf *vf) in ice_vc_set_working_allowlist() 173 void ice_vc_set_caps_allowlist(struct ice_vf *vf) in ice_vc_set_caps_allowlist()
|
D | ice_sriov.c | 28 struct ice_vf *vf; in ice_free_vf_entries() 47 static void ice_vf_vsi_release(struct ice_vf *vf) in ice_vf_vsi_release() 62 static void ice_free_vf_res(struct ice_vf *vf) in ice_free_vf_res() 102 static void ice_dis_vf_mappings(struct ice_vf *vf) in ice_dis_vf_mappings() 179 struct ice_vf *vf; in ice_free_vfs() 249 static struct ice_vsi *ice_vf_vsi_setup(struct ice_vf *vf) in ice_vf_vsi_setup() 281 static int ice_calc_vf_first_vector_idx(struct ice_pf *pf, struct ice_vf *vf) in ice_calc_vf_first_vector_idx() 294 static void ice_ena_vf_msix_mappings(struct ice_vf *vf) in ice_ena_vf_msix_mappings() 344 static void ice_ena_vf_q_mappings(struct ice_vf *vf, u16 max_txq, u16 max_rxq) in ice_ena_vf_q_mappings() 395 static void ice_ena_vf_mappings(struct ice_vf *vf) in ice_ena_vf_mappings() [all …]
|
D | ice_virtchnl.c | 181 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() 534 static void ice_vc_reset_vf_msg(struct ice_vf *vf) in ice_vc_reset_vf_msg() [all …]
|
D | ice_sriov.h | 56 int ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector); 64 void ice_print_vf_rx_mdd_event(struct ice_vf *vf); 66 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto); 75 static inline void ice_print_vf_rx_mdd_event(struct ice_vf *vf) { } in ice_print_vf_rx_mdd_event() 147 ice_calc_vf_reg_idx(struct ice_vf __always_unused *vf, in ice_calc_vf_reg_idx()
|
D | ice_virtchnl_fdir.c | 97 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() 130 static int ice_vf_start_ctrl_vsi(struct ice_vf *vf) in ice_vf_start_ctrl_vsi() 174 ice_vc_fdir_alloc_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_alloc_prof() 204 ice_vc_fdir_free_prof(struct ice_vf *vf, enum ice_fltr_ptype flow) in ice_vc_fdir_free_prof() 222 static void ice_vc_fdir_free_prof_all(struct ice_vf *vf) in ice_vc_fdir_free_prof_all() 290 ice_vc_fdir_set_flow_fld(struct ice_vf *vf, struct virtchnl_fdir_add *fltr, in ice_vc_fdir_set_flow_fld() 334 ice_vc_fdir_set_flow_hdr(struct ice_vf *vf, in ice_vc_fdir_set_flow_hdr() 479 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun) in ice_vc_fdir_rem_prof() 533 static void ice_vc_fdir_rem_prof_all(struct ice_vf *vf) in ice_vc_fdir_rem_prof_all() 556 ice_vc_fdir_write_flow_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, in ice_vc_fdir_write_flow_prof() [all …]
|
D | ice_eswitch.c | 22 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, const u8 *mac) in ice_eswitch_add_vf_mac_rule() 67 void ice_eswitch_replay_vf_mac_rule(struct ice_vf *vf) in ice_eswitch_replay_vf_mac_rule() 95 void ice_eswitch_del_vf_mac_rule(struct ice_vf *vf) in ice_eswitch_del_vf_mac_rule() 183 struct ice_vf *vf; in ice_eswitch_remap_rings_to_vectors() 225 struct ice_vf *vf; in ice_eswitch_release_reprs() 255 struct ice_vf *vf; in ice_eswitch_setup_reprs() 328 struct ice_vf *vf; in ice_eswitch_update_repr() 437 struct ice_vf *vf; in ice_eswitch_napi_del() 452 struct ice_vf *vf; in ice_eswitch_napi_enable() 467 struct ice_vf *vf; in ice_eswitch_napi_disable() [all …]
|
D | ice_devlink.h | 15 int ice_devlink_create_vf_port(struct ice_vf *vf); 16 void ice_devlink_destroy_vf_port(struct ice_vf *vf);
|
D | ice_repr.c | 98 struct ice_vf *vf; in ice_repr_open() 124 struct ice_vf *vf; in ice_repr_stop() 291 static int ice_repr_add(struct ice_vf *vf) in ice_repr_add() 375 static void ice_repr_rem(struct ice_vf *vf) in ice_repr_rem() 402 struct ice_vf *vf; in ice_repr_rem_from_all_vfs() 417 struct ice_vf *vf; in ice_repr_add_for_all_vfs()
|
D | ice_vf_vsi_vlan_ops.c | 37 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_init_vlan_ops() 131 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_dvm_legacy_vlan_mode() 201 struct ice_vf *vf = vsi->vf; in ice_vf_vsi_cfg_svm_legacy_vlan_mode()
|
D | ice_repr.h | 11 struct ice_vf *vf;
|
D | ice_lib.h | 55 enum ice_vsi_type vsi_type, struct ice_vf *vf,
|
D | ice_lib.c | 173 static void ice_vsi_set_num_qs(struct ice_vsi *vsi, struct ice_vf *vf) in ice_vsi_set_num_qs() 436 struct ice_vf *vf; in ice_eswitch_msix_clean_rings() 465 struct ice_channel *ch, struct ice_vf *vf) in ice_vsi_alloc() 1369 struct ice_vf *vf; in ice_get_vf_ctrl_res() 2315 struct ice_vf *vf = vsi->vf; in ice_vsi_set_q_vectors_reg_idx() 2511 enum ice_vsi_type vsi_type, struct ice_vf *vf, in ice_vsi_setup() 2969 struct ice_vf *vf; in ice_free_vf_ctrl_res()
|
D | ice_devlink.c | 1052 int ice_devlink_create_vf_port(struct ice_vf *vf) in ice_devlink_create_vf_port() 1095 void ice_devlink_destroy_vf_port(struct ice_vf *vf) in ice_devlink_destroy_vf_port()
|
D | ice.h | 333 struct ice_vf *vf; /* VF associated with this VSI */
|
D | ice_main.c | 532 struct ice_vf *vf; in ice_prepare_for_reset() 1696 struct ice_vf *vf; in ice_handle_mdd_event()
|
D | ice_ethtool.c | 323 struct ice_vf *vf; in ice_active_vfs()
|