RE: [PATCH v2 0/3] new ib_drain_qp() API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Hello Steve,
> >
> > How about creating three functions - one that drains the receive queue,
> > one that drains the send queue and a third function that drains both ?
> > The latter function then can call the two former functions. And since
> > only one of these three functions will have a user in your patch series
> > (the function that drains the RQ), how about only introducing only that
> > function now and to wait with introducing the two other functions until
> > these have a user ?
> 
> That sounds reasonable.  Simpler too perhaps.  We'll see if anyone else
> has an opinion.

Another option is for ib_drain_qp() to just skip queues with IB_POLL_DIRECT CQ processing.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux