[ofa-general][PATCH 1/3]mlx4: Multiple completion vectors support

Jeff Garzik jgarzik at pobox.com
Thu Oct 30 21:55:05 PDT 2008


Yevgeny Petrilin wrote:
> The driver now creates a completion EQ for every cpu.
> While allocating CQ a ULP asks a completion vector number
> it wants the CQ to be attached to. The number of completion
> vectors is advertised via ib_device.num_comp_vectors
> 
> Signed-off-by: Yevgeny Petrilin <yevgenyp at mellanox.co.il>
> ---
>  drivers/infiniband/hw/mlx4/cq.c   |    2 +-
>  drivers/infiniband/hw/mlx4/main.c |    2 +-
>  drivers/net/mlx4/cq.c             |   14 ++++++++--
>  drivers/net/mlx4/en_cq.c          |    9 ++++--
>  drivers/net/mlx4/en_main.c        |    4 +-
>  drivers/net/mlx4/eq.c             |   47 ++++++++++++++++++++++++------------
>  drivers/net/mlx4/main.c           |   14 ++++++----
>  drivers/net/mlx4/mlx4.h           |    4 +-
>  include/linux/mlx4/device.h       |    4 ++-
>  9 files changed, 65 insertions(+), 35 deletions(-)

Roland, OK for me to put merge this via net-next (the standard avenue 
for drivers/net patches during -rc)?





More information about the general mailing list