Lines Matching refs:max_vectors
63 u16 i, max_vectors;
65 max_vectors = mrioc->intr_info_count;
67 for (i = 0; i < max_vectors; i++)
794 static void mpi3mr_calc_poll_queues(struct mpi3mr_ioc *mrioc, u16 max_vectors)
800 if (max_vectors > 2 &&
801 (mrioc->requested_poll_qcount < max_vectors - 2)) {
804 mrioc->requested_poll_qcount, max_vectors);
808 mrioc->requested_poll_qcount, max_vectors);
825 int max_vectors, min_vec;
836 max_vectors = 1;
838 1, max_vectors, irq_flags);
845 max_vectors =
849 mpi3mr_calc_poll_queues(mrioc, max_vectors);
856 max_vectors, mrioc->requested_poll_qcount);
863 min_vec, max_vectors, irq_flags, &desc);
878 else if (retval != (max_vectors)) {
881 retval, max_vectors);
884 max_vectors = retval;
885 mrioc->op_reply_q_offset = (max_vectors > 1) ? 1 : 0;
887 mpi3mr_calc_poll_queues(mrioc, max_vectors);
891 mrioc->intr_info = kzalloc(sizeof(struct mpi3mr_intr_info) * max_vectors,
898 for (i = 0; i < max_vectors; i++) {
907 mrioc->intr_info_count = max_vectors;