[ofa-general] Re: [PATCH/RFC] IB/mlx4: Handle new FW requirement for send request prefetching
Jack Morgenstein
jackm at dev.mellanox.co.il
Sun Jun 17 08:18:34 PDT 2007
On Wednesday 13 June 2007 20:29, Roland Dreier wrote:
> I just queued this patch to handle new FW up. Please let me know if
> it looks OK to you, and I will ask Linus to pull it.
>
> Thanks.
>
Looks good!
- Jack
> commit f22332295cb218ad12db2b521a34553ff5790c34
> Author: Roland Dreier <rolandd at cisco.com>
> Date: Wed Jun 13 10:26:43 2007 -0700
>
> 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).
>
> Marking send queue entries this way is OK for older firmware too, so
> we change the driver to allow FW command interface revisions 1 and 2.
>
> Based on a patch from Jack Morgenstein <jackm at dev.mellanox.co.il>.
>
> Signed-off-by: Roland Dreier <rolandd at cisco.com>
>
>
More information about the general
mailing list