[openib-general] Re: [PATCH] handle QP0/1 send queue overrun

Hal Rosenstock halr at voltaire.com
Wed Nov 10 09:36:17 PST 2004


On Tue, 2004-11-09 at 20:12, Sean Hefty wrote:
> The following patch adds support for handling QP0/1 send queue overrun, 
> along with a couple of related fixes:
> 
> * The patch includes that provided by Roland in order to configure the 
> fabric.
> * The code no longer modifies the user's send_wr structures when sending 
> a MAD.
> * Sent MADs work requests are copied in order to handle both queuing and 
> for error recovery (when added).
> * The receive side code was slightly restructured to use a single 
> function to repost receives.  If a receive cannot be posted for some 
> reason (e.g. lack of memory), it will now try to refill the receive 
> queue when posting an additional receive.  (This will also make it 
> possible for the code to be lazier about reposting receives, which would 
> allow for better batching of completions.)

I will break this up into two chunks: 
1. the minor agent change
2. the rest (mad changes) excluding the already applied patch (to bring
the ports up to ACTIVE) which I believe is temporary.

> 
> Also, I switched my mailer, so I apologize in advance if I hose up my patch.

It seems to have doubled up the inline diffs (as well as including it as
an attachment) but no need to regenerate because of this.

-- Hal






More information about the general mailing list