]> git.openfabrics.org - ~aditr/compat-rdma.git/commit
cxgb4/iw_cxgb4: Add LE hash collision bug fix for active and passive offloaded connec...
authorVipul Pandya <vipul@chelsio.com>
Wed, 31 Oct 2012 16:39:01 +0000 (09:39 -0700)
committerVipul Pandya <vipul@chelsio.com>
Mon, 5 Nov 2012 07:37:47 +0000 (23:37 -0800)
commit6d0409ab4bf32c14a2a1ee400a23461a57fd82fa
tree7455a2a95976b3b25c4a6d58de2c9f236786f962
parent0489dc73b0681da9cf42a455493f5d24406648ef
cxgb4/iw_cxgb4: Add LE hash collision bug fix for active and passive offloaded connections

If the hash functionality is enabled in T4 than tuple information of active and
passive offloaded connections are stored in DDR3 memory. LE (Lookup Engine)
implements the interface to search this tuple entries using hash algorithm. If
the number of offloaded connections exceeds the number of maximum hash entries
in DDR3 memory then LE hash collision can occur. To avoid this, driver will
take different path for offloading active and passive connections.

In case of active connection, firmware detects LE hash collision situation and
notifies driver. Driver uses fw_ofld_connection work request to offload that
connection and stores its tuple information in TCAM memory array.

Incase of passive connection, server filter region is created in TCAM. This
region stores the filter which will redirect the incoming SYN packet to offload
queues. After this driver tries to establish the connection using firmware work
request.

This patch series also adds framework for managing filters and to use T4's filter
capabilities.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
linux-next-pending/0011-cxgb4-Add-T4-filter-support.patch [new file with mode: 0644]
linux-next-pending/0012-cxgb4-Add-LE-hash-collision-bug-fix-path-in-LLD-driv.patch [new file with mode: 0644]
linux-next-pending/0013-RDMA-cxgb4-Fix-LE-hash-collision-bug-for-active-open.patch [new file with mode: 0644]
linux-next-pending/0014-RDMA-cxgb4-Fix-LE-hash-collision-bug-for-passive-ope.patch [new file with mode: 0644]
linux-next-pending/0015-RDMA-cxgb4-Fix-bug-for-active-and-passive-LE-hash-co.patch [new file with mode: 0644]