Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ch_ipsec: Remove initialization of rxq related data

Removing initialization of nrxq and rxq_size in uld_info. As
ipsec uses nic queues only, there is no need to create uld
rx queues for ipsec.

Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Link: https://lore.kernel.org/r/20210113044302.25522-1-ayush.sawal@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Ayush Sawal and committed by
Jakub Kicinski
e3a76707 3d33c003

-3
-3
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
··· 92 92 93 93 static struct cxgb4_uld_info ch_ipsec_uld_info = { 94 94 .name = CHIPSEC_DRV_MODULE_NAME, 95 - .nrxq = MAX_ULD_QSETS, 96 - /* Max ntxq will be derived from fw config file*/ 97 - .rxq_size = 1024, 98 95 .add = ch_ipsec_uld_add, 99 96 .state_change = ch_ipsec_uld_state_change, 100 97 .tx_handler = ch_ipsec_xmit,