]> 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)
commitff98104b844c030e6e5914d7bd3232f18a6bfe20
tree5cc71d7834c2eb5d0eabe38b7d36610fa3cfde80
parent3505c6ee54e26874461cceaccc2d62b5ca1b8081
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: 08177fd6234d ("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