~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/mlx4/profile.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        profile[MLX4_RES_AUXC].num    = request->num_qp;
108
108
        profile[MLX4_RES_SRQ].num     = request->num_srq;
109
109
        profile[MLX4_RES_CQ].num      = request->num_cq;
110
 
        profile[MLX4_RES_EQ].num      = min_t(unsigned, dev_cap->max_eqs,
111
 
                                              dev_cap->reserved_eqs +
112
 
                                              num_possible_cpus() + 1);
 
110
        profile[MLX4_RES_EQ].num      = min_t(unsigned, dev_cap->max_eqs, MAX_MSIX);
113
111
        profile[MLX4_RES_DMPT].num    = request->num_mpt;
114
112
        profile[MLX4_RES_CMPT].num    = MLX4_NUM_CMPTS;
115
113
        profile[MLX4_RES_MTT].num     = request->num_mtt;