1
linux/drivers/infiniband/hw/mlx4
Roland Dreier 0e6e741621 IB/mlx4: Handle new FW requirement for send request prefetching
New ConnectX firmware introduces FW command interface revision 2,
which requires that for each QP, a chunk of send queue entries (the
"headroom") is kept marked as invalid, so that the HCA doesn't get
confused if it prefetches entries that haven't been posted yet.  Add
code to the driver to do this, and also update the user ABI so that
userspace can request that the prefetcher be turned off for userspace
QPs (we just leave the prefetcher on for all kernel QPs).

Unfortunately, marking send queue entries this way is confuses older
firmware, so we change the driver to allow only FW command interface
revisions 2.  This means that users will have to update their firmware
to work with the new driver, but the firmware is changing quickly and
the old firmware has lots of other bugs anyway, so this shouldn't be too
big a deal.

Based on a patch from Jack Morgenstein <jackm@dev.mellanox.co.il>.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-06-18 08:13:48 -07:00
..
ah.c
cq.c IB/mlx4: Handle new FW requirement for send request prefetching 2007-06-18 08:13:48 -07:00
doorbell.c
Kconfig
mad.c
main.c IB/mlx4: Fix uninitialized spinlock for 32-bit archs 2007-05-14 13:02:58 -07:00
Makefile
mlx4_ib.h IB/mlx4: Handle new FW requirement for send request prefetching 2007-06-18 08:13:48 -07:00
mr.c
qp.c IB/mlx4: Handle new FW requirement for send request prefetching 2007-06-18 08:13:48 -07:00
srq.c IB/mlx4: Check if SRQ is full when posting receive 2007-05-20 20:19:24 -07:00
user.h IB/mlx4: Handle new FW requirement for send request prefetching 2007-06-18 08:13:48 -07:00