Lines Matching refs:vf

58 	void (*free)(struct ice_vf *vf);
59 void (*clear_reset_state)(struct ice_vf *vf);
60 void (*clear_mbx_register)(struct ice_vf *vf);
61 void (*trigger_reset_register)(struct ice_vf *vf, bool is_vflr);
62 bool (*poll_reset_status)(struct ice_vf *vf);
63 void (*clear_reset_trigger)(struct ice_vf *vf);
64 void (*irq_close)(struct ice_vf *vf);
65 void (*post_vsi_rebuild)(struct ice_vf *vf);
144 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf)
146 return vf->port_vlan_info.vid;
149 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf)
151 return vf->port_vlan_info.prio;
154 static inline bool ice_vf_is_port_vlan_ena(struct ice_vf *vf)
156 return (ice_vf_get_port_vlan_id(vf) || ice_vf_get_port_vlan_prio(vf));
159 static inline u16 ice_vf_get_port_vlan_tpid(struct ice_vf *vf)
161 return vf->port_vlan_info.tpid;
180 * @vf: pointer to the VF entry currently being processed in the loop
184 * Use vf->vf_id to get the id number if needed.
189 #define ice_for_each_vf(pf, bkt, vf) \
190 hash_for_each((pf)->vfs.table, (bkt), (vf), entry)
196 * @vf: pointer to the VF entry currently being processed in the loop
200 * Use vf->vf_id to get the id number if needed.
206 #define ice_for_each_vf_rcu(pf, bkt, vf) \
207 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
211 void ice_put_vf(struct ice_vf *vf);
214 struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf);
215 bool ice_is_vf_disabled(struct ice_vf *vf);
216 int ice_check_vf_ready_for_cfg(struct ice_vf *vf);
217 void ice_set_vf_state_dis(struct ice_vf *vf);
220 ice_vf_get_promisc_masks(struct ice_vf *vf, struct ice_vsi *vsi,
223 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
225 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m);
226 int ice_reset_vf(struct ice_vf *vf, u32 flags);
235 static inline void ice_put_vf(struct ice_vf *vf)
249 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf)
254 static inline bool ice_is_vf_disabled(struct ice_vf *vf)
259 static inline int ice_check_vf_ready_for_cfg(struct ice_vf *vf)
264 static inline void ice_set_vf_state_dis(struct ice_vf *vf)
274 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m)
280 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m)
285 static inline int ice_reset_vf(struct ice_vf *vf, u32 flags)