Looks good to me.
Acked-by: Satish Kharat
Satish Kharat
TECHNICAL LEADER.ENGINEERING
satis...@cisco.com
Tel: +1 408 526 7504
Cisco Systems, Inc.
3800 Zanker Road
SAN JOSE
95134
United States
cisco.com
Think before you print.
This email may contain confidential and privileged material for the
Looks good to me.
Acked-by: Satish Kharat
Satish Kharat
TECHNICAL LEADER.ENGINEERING
satis...@cisco.com
-Original Message-
From: Greg Kroah-Hartman
Sent: Tuesday, January 22, 2019 7:09 AM
To: James Bottomley ; Martin Petersen
Cc: linux-ker...@vger.kernel.org; linux-scsi
With this (the devamd2) and the previous patch series 'fnic
driver updates' (link below) the fnic driver version is 1.6.0.47
https://marc.info/?l=linux-scsi&m=154751555007972&w=2
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
1 file changed, 1 insert
Devcmd2 is a newer firmware interface exported by newer
Cisco VIC devices. This series of patches is to enable
the devcmd2 interface for fnic.
Satish Kharat (6):
scsi: fnic: fnic devcmd2 interface definitions
scsi: fnic: fnic devcmd2 controller definitions
scsi: fnic: Adds devcmd2
This patch adds changes to check if fnic devcmd2 interfaces is
exported by the firmware. If devcmd2 interfaces is exported it
initializes and starts using it else falls back to fnic devcm1
interface.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_main.c | 11 ++-
drivers/scsi
This patch adds the fnic devcmd2 command structre and the command
result structure definitions.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_devcmd.h | 158 +-
drivers/scsi/fnic/vnic_resource.h | 7 ++
2 files changed, 163 insertions(+), 2 deletions
This patch adds the fnic devcmd2 controller definition.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_dev.c | 30 --
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/vnic_dev.c b/drivers/scsi/fnic/vnic_dev.c
index
This patch adds fnic devcmd-2 interfaces for initialization and
posting commands to fw.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_dev.c | 223 ++-
1 file changed, 219 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/fnic/vnic_dev.c b/drivers
This patch adds the devcmd2 wq initalization and devcm2 ring
allocation helper interfaces used by devcmd2 init.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_wq.c | 66 +
drivers/scsi/fnic/vnic_wq.h | 8 +
2 files changed, 74 insertions
This patch is to add finc 20G port speed display in sysfs
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_fcs.c | 4
drivers/scsi/fnic/fnic_io.h | 3 ++-
drivers/scsi/fnic/fnic_main.c | 3 +++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/fnic
The following patches are bug fixes and update for the fnic driver.
Satish Kharat (10):
scsi: fnic: support to display 20G port speed
scsi: fnic: change fnic queue depth to 256
scsi: fnic: vnic_rq_clean changing BUG_ON to WARN_ON
scsi: fnic: usign fnic_lock to gaurd fnic->state_fl
rq->ctrl not enabled when this is called is bad but not
fatal and can continue.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_rq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/fnic/vnic_rq.c b/drivers/scsi/fnic/vnic_rq.c
index fd2068f5a
This change is the do RQ enable before positing descriptor. This is
needed for later hw revisions.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_main.c | 5 ++---
drivers/scsi/fnic/vnic_devcmd.h | 2 ++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/fnic
The change is to print warning when scsi done is called for an IO
that has not yet been issued to the fw. Also adding sc and tag to
debug print when IO is cleaned up.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 10 --
1 file changed, 8 insertions(+), 2 deletions
doing vnic_device_enable before this could cause interrupts to
happen before they are setup.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c
index
This change is to add fnic stats for the max number of CQs
(corresponding to copy WQ) processed in a given interrupt, max time
taken by the ISR.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 19 +++
drivers/scsi/fnic/fnic_stats.h | 3 +++
drivers/scsi/fnic
This patches changes the default lun queuedepth for fnic to 256
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h
index d094ba59ed15..5c9402c811c9 100644
--- a/drivers
This change is to impose an upper limit on the max number of CQ
entries (corresponding to the copy wq) processed in an interrupt.
Using module param to set the limit.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 ++
drivers/scsi/fnic/fnic_isr.c | 6 +++---
drivers/scsi
Need to use fnic_lock as well as host lock in that order
to set state flags.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index
This patch adds the current fnic port speed stat to fnic
debug stats.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_fcs.c | 6 ++
drivers/scsi/fnic/fnic_stats.h | 1 +
drivers/scsi/fnic/fnic_trace.c | 5 +
3 files changed, 12 insertions(+)
diff --git a/drivers/scsi/fnic
doing vnic_device_enable before this could cause interrupts to
happen before they are setup.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c
index
This change is the do RQ enable before positing descriptor needed for
later hw versions.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_main.c | 5 ++---
drivers/scsi/fnic/vnic_devcmd.h | 2 ++
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/fnic
This change is to add fnic stats for the max number of CQs
(corresponding to copy WQ) processed in a given interrupt, max time
taken by the ISR.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 19 +++
drivers/scsi/fnic/fnic_stats.h | 3 +++
drivers/scsi/fnic
rq->ctrl not enabled when this is called is bad but not
fatal and can continue.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/vnic_rq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/fnic/vnic_rq.c b/drivers/scsi/fnic/vnic_rq.c
index fd2068f5a
The change is to print warning when scsi done is called for an IO
that has not yet been issued to the fw. Also adding sc and tag to
debug print when IO is cleaned up.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 10 --
1 file changed, 8 insertions(+), 2 deletions
This change is to impose an upper limit on the max number of CQ
entries (corresponding to the copy wq) processed in an interrupt.
Using module param to set the limit.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 ++
drivers/scsi/fnic/fnic_isr.c | 6 +++---
drivers/scsi
This patch is to add finc 20G port speed display in sysfs
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_fcs.c | 4
drivers/scsi/fnic/fnic_io.h | 3 ++-
drivers/scsi/fnic/fnic_main.c | 3 +++
4 files changed, 10 insertions(+), 2 deletions
Need to use fnic_lock as well as host lock in that order
to set state flags.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index
This patches changes the default lun queuedepth for fnic to 256
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h
index d094ba59ed15..5c9402c811c9 100644
--- a/drivers
This patch adds the current fnic port speed stat to fnic
debug stats.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_fcs.c | 6 ++
drivers/scsi/fnic/fnic_stats.h | 1 +
drivers/scsi/fnic/fnic_trace.c | 5 +
3 files changed, 12 insertions(+)
diff --git a/drivers/scsi/fnic
Looks good to me.
Acked-by: Satish Kharat
-Original Message-
From: Arnd Bergmann [mailto:a...@arndb.de]
Sent: Wednesday, January 17, 2018 7:17 AM
To: Satish Kharat (satishkh) ; Sesidhar Baddela (sebaddel)
; Karan Tilak Kumar (kartilak) ; James
E.J. Bottomley ; Martin K. Petersen
Cc
Setting speed based on the vinc device parameter read during
linkup. Also adding support to display 25,40 and 100G
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_fcs.c | 24
drivers/scsi/fnic/fnic_io.h | 9 +
drivers
io_cmpl_skip keep track of number of completions to skip when
stats are reset. If a fw_reset happens immediately after stats
reset it could put it out of sync so need to reset io_cmpl_skip
when fw reset is completed.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi
Added the timestamps for
1. current timestamp
2. last fnic stats read timestamp
3. last fnic stats reset timestamp
and the deltas since last stats read and last reset in fnic stats.
fnic stats uses debugfs
Signed-off-by: Sesidhar Baddela
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic
-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic_scsi.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index d048f3b..cc48cb8 100644
--- a/drivers/scsi/fnic/fnic_scsi.c
+++ b/drivers/scsi/fnic
ion and basic IO test, this patch looks good.
Thanks,
Satish Kharat
-Original Message-
From: Martin K. Petersen [mailto:martin.peter...@oracle.com]
Sent: Wednesday, March 01, 2017 7:04 PM
To: Satish Kharat (satishkh)
Cc: linux-scsi@vger.kernel.org; Sesidhar Baddela (sebaddel)
Subject: R
This is a bug introduced when they moved the fip subcodes
to central place. Was sending FIP_SC_VL_NOTE in fip.fip_subcode
for VLAN request in fnic_fcoe_send_vlan_req. Change is to use
FIP_SC_VL_REQ instead.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic
Getting rid of else case to make the flow look bit more simpler
logical
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_scsi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic
From: Satish Kharat
This is to avoid the log from being filled with vlan discovery
messages when there is no vlan configured on the switch.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_fcs.c | 21 +
1 file changed, 13 insertions
Fixing the IO stats updation (Active IOs and IO completion) to
fix "Number of Active IOs" becoming negative in the fnistats
output.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_scsi.c | 15 ++-
1 file changed, 10 insertions(+), 5
her debug stat.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_scsi.c | 43 ++
drivers/scsi/fnic/fnic_stats.h | 15 ++
drivers/scsi/fnic/fnic_trace.c |
If SCSI-ML has already issued abort on a command i.e
FNIC_IOREQ_ABTS_PENDING is set and we get a IO completion avoid
this being flagged as out-of-order completion by setting the
FNIC_IO_DONE flag in fnic_fcpio_icmnd_cmpl_handler
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
Just a simple counter of number of check conditions encountered on
that host.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_scsi.c | 3 +++
drivers/scsi/fnic/fnic_stats.h | 1 +
drivers/scsi/fnic/fnic_trace.c | 2 ++
3 files changed, 6 insertions
This fix is to avoid calling fnic_fw_reset_handler through fnic_host_reset
when a finc reset is alreay in progress.
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic.h | 1 +
drivers/scsi/fnic/fnic_scsi.c | 16
2 files changed, 17
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
drivers/scsi/fnic/fnic_scsi.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index bfaba06..2544a37 100644
--- a
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
MAINTAINERS | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index b3a7774..11fdf45 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3149,15 +3149,15 @@ S: Supported
F
successful.
The start_time assignment is moved because of the new goto.
Fnic driver version changed from 1.6.0.17a to 1.6.0.19,
version 1.6.0.18 has been skipped
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
Reviewed-by: Ewan D. Milne
---
* v1
- Moved CMD_ABTS_STATUS assignment
scsi_cmnd error code is expected to be in the left 16 bits
of the result field. Changed to correct this.
Fnic driver version changed from 1.6.0.20 to 1.6.0.21
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
* v1
- DID_NO_CONNECT left shifted 16 bits before assigning to sc
device. Also if the original I/O is not found in fnic
firmware, we will consider the abort as successful.
The start_time assignment is moved because of the new goto.
Fnic driver version changed from 1.6.0.17a to 1.6.0.19,
version 1.6.0.18 has been skipped
Signed-off-by: Satish Kharat
---
drivers
1.
Fnic driver version changed from 1.6.0.19 to 1.6.0.20
Signed-off-by: Satish Kharat
Signed-off-by: Sesidhar Baddela
---
* v1
- new_sc is set to 1 in cases like lunreset from sg_reset
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_scsi.c | 38
Fnic does not support mutiqueue. Setting the scsi_host_template in
fnic_host_template to indicate that.
Changing fnic_version from 1.6.0.21 to 1.6.0.22
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_main.c | 1 +
2 files changed, 2 insertions
successful.
Fnic driver version changed from 1.6.0.17a to 1.6.0.19,
version 1.6.0.18 has been skipped
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_scsi.c | 32 +++-
2 files changed, 28 insertions(+), 6 deletions(-)
diff
The the scsi_cmnd error code is expected to be in the left 16 bits
of the result field. Change is to correct this.
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_scsi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
In case of LUN reset, the device reset command is issued with one of
the I/Os that has timed out on that LUN. The change is to also return
this I/O with error status set to DID_RESET.
Fnic driver version changed from 1.6.0.19 to 1.6.0.20
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h
driver version changed from 1.6.0.20 to 1.6.0.21
Signed-off-by: Satish Kharat
---
drivers/scsi/fnic/fnic.h | 2 +-
drivers/scsi/fnic/fnic_scsi.c | 20 +++-
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h
55 matches
Mail list logo