diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-02-28 12:26:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 17:39:49 -0500 |
commit | 4ac801b77e6f06e6b12c069fd29216a4102065fb (patch) | |
tree | 09a1b905f2da8ef2d7879d6d30ad894f5a5e96a1 /include/linux/qed | |
parent | 64d4e3431e686dc37ce388ba531c4c4e866fb141 (diff) |
qed: Semantic refactoring of interrupt code
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r-- | include/linux/qed/qed_if.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index 3d43c1d4ecef..1f7599c77cd4 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -446,6 +446,12 @@ struct qed_eth_stats { #define RX_PI 0 #define TX_PI(tc) (RX_PI + 1 + tc) +struct qed_sb_cnt_info { + int sb_cnt; + int sb_iov_cnt; + int sb_free_blk; +}; + static inline u16 qed_sb_update_sb_idx(struct qed_sb_info *sb_info) { u32 prod = 0; |