]> git.baikalelectronics.ru Git - kernel.git/commit
ch_ktls/cxgb4: handle partial tag alone SKBs
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:40 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:38 +0000 (16:30 -0800)
commit4da1f6f9fe55e0a4228da9105da38e8ee16843c7
tree5cc71d7834c2eb5d0eabe38b7d36610fa3cfde80
parent954451f17458eee67a4ce5bfa3f17850a84efb7c
ch_ktls/cxgb4: handle partial tag alone SKBs

If TCP congestion caused a very small packets which only has some
part fo the TAG, and that too is not till the end. HW can't handle
such case, so falling back to sw crypto in such cases.

v1->v2:
- Marked chcr_ktls_sw_fallback() static.

Fixes: ff3cf11c6c8f ("chcr: Handle first or middle part of record")
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.h