diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2014-05-06 05:41:26 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 20:13:15 +0400 |
commit | 73af08e11c6638e2abd6b1fa13cdab58c2bbdbf8 (patch) | |
tree | f0e8c962e78abbe22c5fe034022368dc8453d2ea /drivers/scsi/be2iscsi/be.h | |
parent | 0598b8afd65d6b0893d217f7cf77ea315cdfcb5b (diff) | |
download | linux-73af08e11c6638e2abd6b1fa13cdab58c2bbdbf8.tar.xz |
be2iscsi: Fix interrupt Coalescing mechanism.
Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be.h')
-rw-r--r-- | drivers/scsi/be2iscsi/be.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be.h b/drivers/scsi/be2iscsi/be.h index 1bfb0bd01198..860f527d8f26 100644 --- a/drivers/scsi/be2iscsi/be.h +++ b/drivers/scsi/be2iscsi/be.h @@ -83,9 +83,20 @@ static inline void queue_tail_inc(struct be_queue_info *q) /*ISCSI */ +struct be_aic_obj { /* Adaptive interrupt coalescing (AIC) info */ + bool enable; + u32 min_eqd; /* in usecs */ + u32 max_eqd; /* in usecs */ + u32 prev_eqd; /* in usecs */ + u32 et_eqd; /* configured val when aic is off */ + ulong jiffs; + u64 eq_prev; /* Used to calculate eqe */ +}; + struct be_eq_obj { bool todo_mcc_cq; bool todo_cq; + u32 cq_count; struct be_queue_info q; struct beiscsi_hba *phba; struct be_queue_info *cq; |