Lines Matching refs:fcnt_prog
5372 u32 val, fcnt_prog; in i40e_get_cur_guaranteed_fd_count() local
5375 fcnt_prog = (val & I40E_PFQF_FDSTAT_GUARANT_CNT_MASK); in i40e_get_cur_guaranteed_fd_count()
5376 return fcnt_prog; in i40e_get_cur_guaranteed_fd_count()
5385 u32 val, fcnt_prog; in i40e_get_current_fd_count() local
5388 fcnt_prog = (val & I40E_PFQF_FDSTAT_GUARANT_CNT_MASK) + in i40e_get_current_fd_count()
5391 return fcnt_prog; in i40e_get_current_fd_count()
5400 u32 val, fcnt_prog; in i40e_get_global_fd_count() local
5403 fcnt_prog = (val & I40E_GLQF_FDCNT_0_GUARANT_CNT_MASK) + in i40e_get_global_fd_count()
5406 return fcnt_prog; in i40e_get_global_fd_count()
5415 u32 fcnt_prog, fcnt_avail; in i40e_fdir_check_and_reenable() local
5423 fcnt_prog = i40e_get_global_fd_count(pf); in i40e_fdir_check_and_reenable()
5425 if ((fcnt_prog < (fcnt_avail - I40E_FDIR_BUFFER_HEAD_ROOM)) || in i40e_fdir_check_and_reenable()
5435 if (fcnt_prog < (fcnt_avail - I40E_FDIR_BUFFER_HEAD_ROOM * 2)) { in i40e_fdir_check_and_reenable()