Navdeep Parhar 8d6ae10af6 cxgbe(4): Fix a couple of problems in the sge_wrq data path.
- start_wrq_wr must not drain the wr_list if there are incomplete_wrs
  pending.  This can happen when a t4_wrq_tx runs between two
  start_wrq_wr.

- commit_wrq_wr must examine the cookie's pidx and ndesc with the
  queue's lock held.  Otherwise there is a bad race when incomplete WRs
  are being completed and commit_wrq_wr for the WR that is ahead in the
  queue updates the next incomplete WR's cookie's pidx/ndesc but the
  commit_wrq_wr for the second one is using stale values that it read
  without the lock.

MFC after:	1 week
Sponsored by:	Chelsio Communications
2017-09-09 05:12:14 +00:00
..
2017-09-07 15:46:44 +00:00
2017-05-23 09:29:05 +00:00
2017-09-07 07:24:22 +00:00
2017-09-06 20:32:49 +00:00
2017-09-05 07:46:45 +00:00
2017-08-16 22:54:35 +00:00
2017-08-28 21:04:56 +00:00
2017-07-09 13:53:32 +00:00
2017-09-01 17:03:48 +00:00
2017-05-23 09:29:05 +00:00
2017-09-07 19:15:31 +00:00
2017-09-01 17:03:48 +00:00
2017-06-08 21:30:34 +00:00
2017-09-01 17:03:48 +00:00
2017-05-09 05:08:47 +00:00
2017-09-07 21:43:39 +00:00