summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2016-02-28 13:26:52 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-02 01:39:49 +0300
commit4ac801b77e6f06e6b12c069fd29216a4102065fb (patch)
tree09a1b905f2da8ef2d7879d6d30ad894f5a5e96a1 /include/linux
parent64d4e3431e686dc37ce388ba531c4c4e866fb141 (diff)
downloadlinux-4ac801b77e6f06e6b12c069fd29216a4102065fb.tar.xz
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')
-rw-r--r--include/linux/qed/qed_if.h6
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;