Lines Matching refs: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);
152 static inline u16 ice_vf_get_port_vlan_id(struct ice_vf *vf) in ice_vf_get_port_vlan_id() argument
154 return vf->port_vlan_info.vid; in ice_vf_get_port_vlan_id()
157 static inline u8 ice_vf_get_port_vlan_prio(struct ice_vf *vf) in ice_vf_get_port_vlan_prio() argument
159 return vf->port_vlan_info.prio; 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() argument
164 return (ice_vf_get_port_vlan_id(vf) || ice_vf_get_port_vlan_prio(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() argument
169 return vf->port_vlan_info.tpid; in ice_vf_get_port_vlan_tpid()
197 #define ice_for_each_vf(pf, bkt, vf) \ argument
198 hash_for_each((pf)->vfs.table, (bkt), (vf), entry)
214 #define ice_for_each_vf_rcu(pf, bkt, vf) \ argument
215 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
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);
243 static inline void ice_put_vf(struct ice_vf *vf) in ice_put_vf() argument
257 static inline struct ice_vsi *ice_get_vf_vsi(struct ice_vf *vf) in ice_get_vf_vsi() argument
262 static inline bool ice_is_vf_disabled(struct ice_vf *vf) in ice_is_vf_disabled() argument
267 static inline int ice_check_vf_ready_for_cfg(struct ice_vf *vf) in ice_check_vf_ready_for_cfg() argument
272 static inline void ice_set_vf_state_dis(struct ice_vf *vf) in ice_set_vf_state_dis() argument
282 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) in ice_vf_set_vsi_promisc() argument
288 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) in ice_vf_clear_vsi_promisc() argument
293 static inline int ice_reset_vf(struct ice_vf *vf, u32 flags) in ice_reset_vf() argument