diff options
author | Jon Mason <jon.mason@exar.com> | 2011-01-18 10:02:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-20 02:18:14 -0500 |
commit | 16fded7da2cefc619ece0d44f8df76b533c43fd2 (patch) | |
tree | ec9ca42bf2e754e378dbd701def152c7dc5cf194 /drivers/net/vxge/vxge-config.h | |
parent | 1d15f81cda496f1c1d59af7458ea0bcdeeb726f3 (diff) |
vxge: MSIX one shot mode
To reduce the possibility of losing an interrupt in the handler due to a
race between an interrupt processing and disable/enable of interrupts,
enable MSIX one shot.
Also, add support for adaptive interrupt coalesing
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Masroor Vettuparambil <masroor.vettuparambil@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-config.h')
-rw-r--r-- | drivers/net/vxge/vxge-config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/vxge/vxge-config.h index e249e288d160..3c53aa732c9d 100644 --- a/drivers/net/vxge/vxge-config.h +++ b/drivers/net/vxge/vxge-config.h | |||
@@ -682,6 +682,10 @@ struct __vxge_hw_virtualpath { | |||
682 | u32 vsport_number; | 682 | u32 vsport_number; |
683 | u32 max_kdfc_db; | 683 | u32 max_kdfc_db; |
684 | u32 max_nofl_db; | 684 | u32 max_nofl_db; |
685 | u64 tim_tti_cfg1_saved; | ||
686 | u64 tim_tti_cfg3_saved; | ||
687 | u64 tim_rti_cfg1_saved; | ||
688 | u64 tim_rti_cfg3_saved; | ||
685 | 689 | ||
686 | struct __vxge_hw_ring *____cacheline_aligned ringh; | 690 | struct __vxge_hw_ring *____cacheline_aligned ringh; |
687 | struct __vxge_hw_fifo *____cacheline_aligned fifoh; | 691 | struct __vxge_hw_fifo *____cacheline_aligned fifoh; |
@@ -921,6 +925,9 @@ struct __vxge_hw_ring { | |||
921 | u32 doorbell_cnt; | 925 | u32 doorbell_cnt; |
922 | u32 total_db_cnt; | 926 | u32 total_db_cnt; |
923 | u64 rxds_limit; | 927 | u64 rxds_limit; |
928 | u32 rtimer; | ||
929 | u64 tim_rti_cfg1_saved; | ||
930 | u64 tim_rti_cfg3_saved; | ||
924 | 931 | ||
925 | enum vxge_hw_status (*callback)( | 932 | enum vxge_hw_status (*callback)( |
926 | struct __vxge_hw_ring *ringh, | 933 | struct __vxge_hw_ring *ringh, |
@@ -1000,6 +1007,9 @@ struct __vxge_hw_fifo { | |||
1000 | u32 per_txdl_space; | 1007 | u32 per_txdl_space; |
1001 | u32 vp_id; | 1008 | u32 vp_id; |
1002 | u32 tx_intr_num; | 1009 | u32 tx_intr_num; |
1010 | u32 rtimer; | ||
1011 | u64 tim_tti_cfg1_saved; | ||
1012 | u64 tim_tti_cfg3_saved; | ||
1003 | 1013 | ||
1004 | enum vxge_hw_status (*callback)( | 1014 | enum vxge_hw_status (*callback)( |
1005 | struct __vxge_hw_fifo *fifo_handle, | 1015 | struct __vxge_hw_fifo *fifo_handle, |