net/bnxt: initialize table scope parameter
authorFarah Smith <farah.smith@broadcom.com>
Fri, 17 Jul 2020 14:14:39 +0000 (19:44 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commit6511faeffc28f1d53ae394ddc1c71837f00fcc17
tree8005fd6ef939e6956dd48f99ed642bfd021b1615
parent8cc50a63800278ba53c67437c9d19649e17e8c6c
net/bnxt: initialize table scope parameter

Initialize table scope resource manager parameter.
Clear out rm_is_allocated parms before calling as base_index was added
and used incorrectly in this instance.

Signed-off-by: Farah Smith <farah.smith@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_core/tf_em_common.c