Lines Matching refs:ice_vf
25 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
152 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() argument
157 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf) in ice_vf_get_port_vlan_prio()
162 static inline bool ice_vf_is_port_vlan_ena(struct ice_vf *vf) in ice_vf_is_port_vlan_ena()
167 static inline u16 ice_vf_get_port_vlan_tpid(struct ice_vf *vf) in ice_vf_get_port_vlan_tpid()
218 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id);
219 void ice_put_vf(struct ice_vf *vf);
222 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf);
223 bool ice_is_vf_disabled(struct ice_vf *vf);
224 int ice_check_vf_ready_for_cfg(struct ice_vf *vf);
225 void ice_set_vf_state_dis(struct ice_vf *vf);
228 ice_vf_get_promisc_masks(struct ice_vf *vf, struct ice_vsi *vsi,
231 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
233 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
234 int ice_reset_vf(struct ice_vf *vf, u32 flags);
238 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id()
243 static inline void ice_put_vf(struct ice_vf *vf) in ice_put_vf()
257 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi()
262 static inline bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled()
267 static inline int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg()
272 static inline void ice_set_vf_state_dis(struct ice_vf *vf) in ice_set_vf_state_dis()
282 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) in ice_vf_set_vsi_promisc()
288 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) in ice_vf_clear_vsi_promisc()
293 static inline int ice_reset_vf(struct ice_vf *vf, u32 flags) in ice_reset_vf()