ch_ipsec: Remove initialization of rxq related data
authorAyush Sawal <ayush.sawal@chelsio.com>
Wed, 13 Jan 2021 04:43:02 +0000 (10:13 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 02:11:26 +0000 (18:11 -0800)
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>
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c

index 47d9268a7e3c94493327c486870bf90137ec18df..5855905200761c5c596905c476d34d3786da73bc 100644 (file)
@@ -92,9 +92,6 @@ static const struct xfrmdev_ops ch_ipsec_xfrmdev_ops = {
 
 static struct cxgb4_uld_info ch_ipsec_uld_info = {
        .name = CHIPSEC_DRV_MODULE_NAME,
-       .nrxq = MAX_ULD_QSETS,
-       /* Max ntxq will be derived from fw config file*/
-       .rxq_size = 1024,
        .add = ch_ipsec_uld_add,
        .state_change = ch_ipsec_uld_state_change,
        .tx_handler = ch_ipsec_xmit,