]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe tom: Set the tid in the work requests to program page pods for iSCSI.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 14 May 2021 19:16:40 +0000 (12:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 14 May 2021 19:16:40 +0000 (12:16 -0700)
commit4427ac3675f91df039d54a23518132e0e0fede86
tree0d497ec1ad90ce7bc8f74af674368838599a34d4
parent4b6ed0758dc6fad17081d7bd791cb0edbddbddb8
cxgbe tom: Set the tid in the work requests to program page pods for iSCSI.

As a result, CPL_FW4_ACK now returns credits for these work requests.
To support this, page pod work requests are now constructed in special
mbufs similar to "raw" mbufs used for NIC TLS in plain TX queues.
These special mbufs are stored in the ulp_pduq and dispatched in order
with PDU work requests.

Sponsored by: Chelsio Communications
Discussed with: np
Differential Revision: https://reviews.freebsd.org/D29904
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
sys/dev/cxgbe/tom/t4_cpl_io.c
sys/dev/cxgbe/tom/t4_ddp.c
sys/dev/cxgbe/tom/t4_tom.h