| 9a93c838 | 13-Sep-2019 |
Navdeep Parhar <[email protected]> |
MFC r351540, r351590
r351540: cxgbe/t4_tom: Initialize all TOE connection parameters in one place. Remove now-redundant items from toepcb and synq_entry and the code to support them.
Let the driver
MFC r351540, r351590
r351540: cxgbe/t4_tom: Initialize all TOE connection parameters in one place. Remove now-redundant items from toepcb and synq_entry and the code to support them.
Let the driver calculate tx_align, rx_coalesce, and sndbuf by default.
Reviewed by: jhb@ Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D21387
r351590: cxgbe/t4_tom: Use the correct value of sndbuf in AIO Tx.
This should have been part of r351540.
Sponsored by: Chelsio Communications
show more ...
|
| 883f6568 | 13-Sep-2019 |
Navdeep Parhar <[email protected]> |
MFC r351524:
cxgbe/t4_tom: Limit work requests with immediate payload to a single descriptor. The per-tid tx credits are in demand during active Tx and it's best not to use too many just for payloa
MFC r351524:
cxgbe/t4_tom: Limit work requests with immediate payload to a single descriptor. The per-tid tx credits are in demand during active Tx and it's best not to use too many just for payload.
Sponsored by: Chelsio Communications
show more ...
|
| a2c08be9 | 19-Aug-2019 |
John Baldwin <[email protected]> |
MFC 349467: Hold an explicit reference on the socket for the aiotx task.
Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the socket. However, when the last job
MFC 349467: Hold an explicit reference on the socket for the aiotx task.
Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the socket. However, when the last job is completed, there is nothing left to hold a reference to the socket buffer lock used to check if the queue is empty. In addition, if the last job on the queue is cancelled, the task can run with no queued jobs holding a reference to the socket buffer lock the task uses to notice the queue is empty.
Fix these races by holding an explicit reference on the socket when the task is queued and dropping that reference when the task completes.
show more ...
|
| f23dc1a6 | 04-Jun-2019 |
Navdeep Parhar <[email protected]> |
MFC r346570, r348440
r346570: cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state for a tid and maintains a running history of some interesting events.
Service TCP_INFO queries fr
MFC r346570, r348440
r346570: cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state for a tid and maintains a running history of some interesting events.
Service TCP_INFO queries from the history when the tid is being tracked there.
r348440: cxgbe/t4_tom: Do not attempt to look up entries in the TCB history if it hasn't been initialized.
This fixes a bug in r346570 that could cause a panic when servicing TCP_INFO for offloaded connections.
Sponsored by: Chelsio Communications
show more ...
|
| f8d53210 | 27-Mar-2019 |
Navdeep Parhar <[email protected]> |
MFC r342208:
cxgbe/t4_tom: fixes for issues on the passive open side.
- Fix PR 227760 by getting the TOE to respond to the SYN after the call to toe_syncache_add, not during it. The kernel synca
MFC r342208:
cxgbe/t4_tom: fixes for issues on the passive open side.
- Fix PR 227760 by getting the TOE to respond to the SYN after the call to toe_syncache_add, not during it. The kernel syncache code calls syncache_respond just before syncache_insert. If the ACK to the syncache_respond is processed in another thread it may run before the syncache_insert and won't find the entry. Note that this affects only t4_tom because it's the only driver trying to insert and expand syncache entries from different threads.
- Do not leak resources if an embryonic connection terminates at SYN_RCVD because of L2 lookup failures.
- Retire lctx->synq and associated code because there is never a need to walk the list of embryonic connections associated with a listener. The per-tid state is still called a synq entry in the driver even though the synq itself is now gone.
PR: 227760 Sponsored by: Chelsio Communications
show more ...
|