diff options
| -rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 2 | ||||
| -rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 23 | ||||
| -rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 7 |
3 files changed, 0 insertions, 32 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index f59aa2124ea2..df43bfe6d573 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
| @@ -711,8 +711,6 @@ struct lpfc_hba { | |||
| 711 | uint32_t cfg_use_msi; | 711 | uint32_t cfg_use_msi; |
| 712 | uint32_t cfg_fcp_imax; | 712 | uint32_t cfg_fcp_imax; |
| 713 | uint32_t cfg_fcp_cpu_map; | 713 | uint32_t cfg_fcp_cpu_map; |
| 714 | uint32_t cfg_fcp_wq_count; | ||
| 715 | uint32_t cfg_fcp_eq_count; | ||
| 716 | uint32_t cfg_fcp_io_channel; | 714 | uint32_t cfg_fcp_io_channel; |
| 717 | uint32_t cfg_total_seg_cnt; | 715 | uint32_t cfg_total_seg_cnt; |
| 718 | uint32_t cfg_sg_seg_cnt; | 716 | uint32_t cfg_sg_seg_cnt; |
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index cb7b779aafe9..22f42f866f75 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
| @@ -4121,25 +4121,6 @@ LPFC_ATTR_R(use_msi, 2, 0, 2, "Use Message Signaled Interrupts (1) or " | |||
| 4121 | "MSI-X (2), if possible"); | 4121 | "MSI-X (2), if possible"); |
| 4122 | 4122 | ||
| 4123 | /* | 4123 | /* |
| 4124 | # lpfc_fcp_wq_count: Set the number of fast-path FCP work queues | ||
| 4125 | # This parameter is ignored and will eventually be depricated | ||
| 4126 | # | ||
| 4127 | # Value range is [1,7]. Default value is 4. | ||
| 4128 | */ | ||
| 4129 | LPFC_ATTR_R(fcp_wq_count, LPFC_FCP_IO_CHAN_DEF, LPFC_FCP_IO_CHAN_MIN, | ||
| 4130 | LPFC_FCP_IO_CHAN_MAX, | ||
| 4131 | "Set the number of fast-path FCP work queues, if possible"); | ||
| 4132 | |||
| 4133 | /* | ||
| 4134 | # lpfc_fcp_eq_count: Set the number of FCP EQ/CQ/WQ IO channels | ||
| 4135 | # | ||
| 4136 | # Value range is [1,7]. Default value is 4. | ||
| 4137 | */ | ||
| 4138 | LPFC_ATTR_R(fcp_eq_count, LPFC_FCP_IO_CHAN_DEF, LPFC_FCP_IO_CHAN_MIN, | ||
| 4139 | LPFC_FCP_IO_CHAN_MAX, | ||
| 4140 | "Set the number of fast-path FCP event queues, if possible"); | ||
| 4141 | |||
| 4142 | /* | ||
| 4143 | # lpfc_fcp_io_channel: Set the number of FCP EQ/CQ/WQ IO channels | 4124 | # lpfc_fcp_io_channel: Set the number of FCP EQ/CQ/WQ IO channels |
| 4144 | # | 4125 | # |
| 4145 | # Value range is [1,7]. Default value is 4. | 4126 | # Value range is [1,7]. Default value is 4. |
| @@ -4317,8 +4298,6 @@ struct device_attribute *lpfc_hba_attrs[] = { | |||
| 4317 | &dev_attr_lpfc_use_msi, | 4298 | &dev_attr_lpfc_use_msi, |
| 4318 | &dev_attr_lpfc_fcp_imax, | 4299 | &dev_attr_lpfc_fcp_imax, |
| 4319 | &dev_attr_lpfc_fcp_cpu_map, | 4300 | &dev_attr_lpfc_fcp_cpu_map, |
| 4320 | &dev_attr_lpfc_fcp_wq_count, | ||
| 4321 | &dev_attr_lpfc_fcp_eq_count, | ||
| 4322 | &dev_attr_lpfc_fcp_io_channel, | 4301 | &dev_attr_lpfc_fcp_io_channel, |
| 4323 | &dev_attr_lpfc_enable_bg, | 4302 | &dev_attr_lpfc_enable_bg, |
| 4324 | &dev_attr_lpfc_soft_wwnn, | 4303 | &dev_attr_lpfc_soft_wwnn, |
| @@ -5301,8 +5280,6 @@ lpfc_get_cfgparam(struct lpfc_hba *phba) | |||
| 5301 | lpfc_use_msi_init(phba, lpfc_use_msi); | 5280 | lpfc_use_msi_init(phba, lpfc_use_msi); |
| 5302 | lpfc_fcp_imax_init(phba, lpfc_fcp_imax); | 5281 | lpfc_fcp_imax_init(phba, lpfc_fcp_imax); |
| 5303 | lpfc_fcp_cpu_map_init(phba, lpfc_fcp_cpu_map); | 5282 | lpfc_fcp_cpu_map_init(phba, lpfc_fcp_cpu_map); |
| 5304 | lpfc_fcp_wq_count_init(phba, lpfc_fcp_wq_count); | ||
| 5305 | lpfc_fcp_eq_count_init(phba, lpfc_fcp_eq_count); | ||
| 5306 | lpfc_fcp_io_channel_init(phba, lpfc_fcp_io_channel); | 5283 | lpfc_fcp_io_channel_init(phba, lpfc_fcp_io_channel); |
| 5307 | lpfc_enable_hba_reset_init(phba, lpfc_enable_hba_reset); | 5284 | lpfc_enable_hba_reset_init(phba, lpfc_enable_hba_reset); |
| 5308 | lpfc_enable_hba_heartbeat_init(phba, lpfc_enable_hba_heartbeat); | 5285 | lpfc_enable_hba_heartbeat_init(phba, lpfc_enable_hba_heartbeat); |
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index f7b9c126e157..501147c4a147 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
| @@ -4913,9 +4913,6 @@ lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba) | |||
| 4913 | lpfc_get_cfgparam(phba); | 4913 | lpfc_get_cfgparam(phba); |
| 4914 | phba->max_vpi = LPFC_MAX_VPI; | 4914 | phba->max_vpi = LPFC_MAX_VPI; |
| 4915 | 4915 | ||
| 4916 | /* Eventually cfg_fcp_eq_count / cfg_fcp_wq_count will be depricated */ | ||
| 4917 | phba->cfg_fcp_io_channel = phba->cfg_fcp_eq_count; | ||
| 4918 | |||
| 4919 | /* This will be set to correct value after the read_config mbox */ | 4916 | /* This will be set to correct value after the read_config mbox */ |
| 4920 | phba->max_vports = 0; | 4917 | phba->max_vports = 0; |
| 4921 | 4918 | ||
| @@ -6873,11 +6870,7 @@ lpfc_sli4_queue_verify(struct lpfc_hba *phba) | |||
| 6873 | cfg_fcp_io_channel = phba->sli4_hba.max_cfg_param.max_eq; | 6870 | cfg_fcp_io_channel = phba->sli4_hba.max_cfg_param.max_eq; |
| 6874 | } | 6871 | } |
| 6875 | 6872 | ||
| 6876 | /* Eventually cfg_fcp_eq_count / cfg_fcp_wq_count will be depricated */ | ||
| 6877 | |||
| 6878 | /* The actual number of FCP event queues adopted */ | 6873 | /* The actual number of FCP event queues adopted */ |
| 6879 | phba->cfg_fcp_eq_count = cfg_fcp_io_channel; | ||
| 6880 | phba->cfg_fcp_wq_count = cfg_fcp_io_channel; | ||
| 6881 | phba->cfg_fcp_io_channel = cfg_fcp_io_channel; | 6874 | phba->cfg_fcp_io_channel = cfg_fcp_io_channel; |
| 6882 | 6875 | ||
| 6883 | /* Get EQ depth from module parameter, fake the default for now */ | 6876 | /* Get EQ depth from module parameter, fake the default for now */ |
