linux-brain/drivers/crypto/chelsio
Ayush Sawal 9db1f14e70 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
[ Upstream commit 2355a6773a2cb0d2dce13432dde78497f1d6617b ]

The Max imm data size in cxgb4 is not similar to the max imm data size
in the chtls. This caused an mismatch in output of is_ofld_imm() of
cxgb4 and chtls. So fixed this by keeping the max wreq size of imm data
same in both chtls and cxgb4 as MAX_IMM_OFLD_TX_DATA_WR_LEN.

As cxgb4's max imm. data value for ofld packets is changed to
MAX_IMM_OFLD_TX_DATA_WR_LEN. Using the same in cxgbit also.

Fixes: 36bedb3f2e ("crypto: chtls - Inline TLS record Tx")
Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 10:26:17 +01:00
..
chtls cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds 2021-03-04 10:26:17 +01:00
Kconfig crypto: chelsio - replace AES cipher calls with library calls 2019-07-26 14:58:35 +10:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
chcr_algo.c crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test 2020-10-01 13:17:33 +02:00
chcr_algo.h crypto: chelsio - Rename arrays to avoid conflict with crypto/sha256.h 2019-09-05 14:54:54 +10:00
chcr_core.c Crypto: chelsio - Fixes a hang issue during driver registration 2020-05-02 08:49:00 +02:00
chcr_core.h crypto: chelsio - avoid using sa_entry imm 2019-01-25 18:41:51 +08:00
chcr_crypto.h crypto: chelsio - replace AES cipher calls with library calls 2019-07-26 14:58:35 +10:00
chcr_ipsec.c crypto: chelsio - replace AES cipher calls with library calls 2019-07-26 14:58:35 +10:00