Lines Matching refs:max_size
2821 uint_t max_size, log2, actual_sgl; in hermon_qp_sgl_to_logwqesz() local
2830 max_size = (HERMON_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2831 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2832 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()
2850 max_size = (HERMON_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2851 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2852 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()
2867 max_size = (HERMON_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2868 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2869 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()
2887 max_size = (HERMON_QP_WQE_MLX_QP0_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2888 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2889 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()
2909 max_size = (HERMON_QP_WQE_MLX_QP1_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2910 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2911 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()