• Home
  • Raw
  • Download

Lines Matching refs:fwcfg

295 	*km_len += cfg->fwcfg.num_ioim_reqs *  in bfa_fcpim_meminfo()
301 if (cfg->fwcfg.num_tskim_reqs < BFA_TSKIM_MIN) in bfa_fcpim_meminfo()
302 cfg->fwcfg.num_tskim_reqs = BFA_TSKIM_MIN; in bfa_fcpim_meminfo()
303 *km_len += cfg->fwcfg.num_tskim_reqs * sizeof(struct bfa_tskim_s); in bfa_fcpim_meminfo()
315 bfa_trc(bfa, cfg->fwcfg.num_rports); in bfa_fcpim_attach()
316 bfa_trc(bfa, cfg->fwcfg.num_ioim_reqs); in bfa_fcpim_attach()
317 bfa_trc(bfa, cfg->fwcfg.num_tskim_reqs); in bfa_fcpim_attach()
321 fcpim->num_itnims = cfg->fwcfg.num_rports; in bfa_fcpim_attach()
322 fcpim->num_tskim_reqs = cfg->fwcfg.num_tskim_reqs; in bfa_fcpim_attach()
1102 *km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itnim_s); in bfa_itnim_meminfo()
3637 if (cfg->fwcfg.num_ioim_reqs && in bfa_fcp_meminfo()
3638 cfg->fwcfg.num_ioim_reqs < BFA_IOIM_MIN) in bfa_fcp_meminfo()
3639 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MIN; in bfa_fcp_meminfo()
3640 else if (cfg->fwcfg.num_ioim_reqs > BFA_IOIM_MAX) in bfa_fcp_meminfo()
3641 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MAX; in bfa_fcp_meminfo()
3643 if (cfg->fwcfg.num_fwtio_reqs > BFA_FWTIO_MAX) in bfa_fcp_meminfo()
3644 cfg->fwcfg.num_fwtio_reqs = BFA_FWTIO_MAX; in bfa_fcp_meminfo()
3646 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3648 if (cfg->fwcfg.num_ioim_reqs && cfg->fwcfg.num_fwtio_reqs) { in bfa_fcp_meminfo()
3649 cfg->fwcfg.num_ioim_reqs = BFA_IO_MAX/2; in bfa_fcp_meminfo()
3650 cfg->fwcfg.num_fwtio_reqs = BFA_IO_MAX/2; in bfa_fcp_meminfo()
3651 } else if (cfg->fwcfg.num_fwtio_reqs) in bfa_fcp_meminfo()
3652 cfg->fwcfg.num_fwtio_reqs = BFA_FWTIO_MAX; in bfa_fcp_meminfo()
3654 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MAX; in bfa_fcp_meminfo()
3659 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3661 km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itn_s); in bfa_fcp_meminfo()
3689 fcp->max_ioim_reqs = cfg->fwcfg.num_ioim_reqs; in bfa_fcp_attach()
3690 fcp->num_ioim_reqs = cfg->fwcfg.num_ioim_reqs; in bfa_fcp_attach()
3691 fcp->num_fwtio_reqs = cfg->fwcfg.num_fwtio_reqs; in bfa_fcp_attach()
3692 fcp->num_itns = cfg->fwcfg.num_rports; in bfa_fcp_attach()
3699 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_attach()