]> Pileus Git - ~andy/linux/commit
mlx4: Add blue flame support for kernel consumers
authorEli Cohen <eli@mellanox.co.il>
Tue, 22 Mar 2011 22:38:41 +0000 (22:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Mar 2011 19:24:23 +0000 (12:24 -0700)
commitc1b43dca137f2154845122417fba86d4bae67182
tree36237582bfd5baf0e9a3ccea5377b949be289440
parent1679200f91da6a054b06954c9bd3eeed29b6731f
mlx4: Add blue flame support for kernel consumers

Using blue flame can improve latency by allowing the HW to more efficiently
access the WQE. This patch presents two functions that are used to allocate or
release HW resources for using blue flame; the caller need to supply a struct
mlx4_bf object when allocating resources. Consumers that make use of this API
should post doorbells to the UAR object pointed by the initialized struct
mlx4_bf;

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/main.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/pd.c
include/linux/mlx4/device.h
include/linux/mlx4/qp.h