0001
0002
0003
0004 #ifndef _ICE_VF_LIB_PRIVATE_H_
0005 #define _ICE_VF_LIB_PRIVATE_H_
0006
0007 #include "ice_vf_lib.h"
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef CONFIG_PCI_IOV
0023 #warning "Only include ice_vf_lib_private.h in CONFIG_PCI_IOV virtualization files"
0024 #endif
0025
0026 void ice_dis_vf_qs(struct ice_vf *vf);
0027 int ice_check_vf_init(struct ice_vf *vf);
0028 struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf);
0029 int ice_vsi_apply_spoofchk(struct ice_vsi *vsi, bool enable);
0030 bool ice_is_vf_trusted(struct ice_vf *vf);
0031 bool ice_vf_has_no_qs_ena(struct ice_vf *vf);
0032 bool ice_is_vf_link_up(struct ice_vf *vf);
0033 void ice_vf_rebuild_host_cfg(struct ice_vf *vf);
0034 void ice_vf_ctrl_invalidate_vsi(struct ice_vf *vf);
0035 void ice_vf_ctrl_vsi_release(struct ice_vf *vf);
0036 struct ice_vsi *ice_vf_ctrl_vsi_setup(struct ice_vf *vf);
0037 void ice_vf_invalidate_vsi(struct ice_vf *vf);
0038 void ice_vf_set_initialized(struct ice_vf *vf);
0039
0040 #endif