qed: Semantic refactoring of interrupt code
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
64d4e3431e
commit
4ac801b77e
@@ -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;
|
||||
|
Reference in New Issue
Block a user