Lines Matching refs:fcnt_prog
5754 u32 val, fcnt_prog; in i40e_get_cur_guaranteed_fd_count() local
5757 fcnt_prog = (val & I40E_PFQF_FDSTAT_GUARANT_CNT_MASK); in i40e_get_cur_guaranteed_fd_count()
5758 return fcnt_prog; in i40e_get_cur_guaranteed_fd_count()
5767 u32 val, fcnt_prog; in i40e_get_current_fd_count() local
5770 fcnt_prog = (val & I40E_PFQF_FDSTAT_GUARANT_CNT_MASK) + in i40e_get_current_fd_count()
5773 return fcnt_prog; in i40e_get_current_fd_count()
5782 u32 val, fcnt_prog; in i40e_get_global_fd_count() local
5785 fcnt_prog = (val & I40E_GLQF_FDCNT_0_GUARANT_CNT_MASK) + in i40e_get_global_fd_count()
5788 return fcnt_prog; in i40e_get_global_fd_count()
5798 u32 fcnt_prog, fcnt_avail; in i40e_fdir_check_and_reenable() local
5807 fcnt_prog = i40e_get_global_fd_count(pf); in i40e_fdir_check_and_reenable()
5809 if ((fcnt_prog < (fcnt_avail - I40E_FDIR_BUFFER_HEAD_ROOM)) || in i40e_fdir_check_and_reenable()
5820 if (fcnt_prog < (fcnt_avail - I40E_FDIR_BUFFER_HEAD_ROOM * 2)) { in i40e_fdir_check_and_reenable()