git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/txgbe: add interrupt operation
[dpdk.git]
/
drivers
/
net
/
txgbe
/
base
/
txgbe_type.h
diff --git
a/drivers/net/txgbe/base/txgbe_type.h
b/drivers/net/txgbe/base/txgbe_type.h
index
b8e8506
..
01af0c9
100644
(file)
--- a/
drivers/net/txgbe/base/txgbe_type.h
+++ b/
drivers/net/txgbe/base/txgbe_type.h
@@
-303,6
+303,8
@@
struct txgbe_mac_info {
u16 wwpn_prefix;
u32 num_rar_entries;
u16 wwpn_prefix;
u32 num_rar_entries;
+ u32 max_tx_queues;
+ u32 max_rx_queues;
u8 san_mac_rar_index;
u64 orig_autoc; /* cached value of AUTOC */
u8 san_mac_rar_index;
u64 orig_autoc; /* cached value of AUTOC */
@@
-358,6
+360,7
@@
struct txgbe_phy_info {
u32 media_type;
u32 phy_semaphore_mask;
bool reset_disable;
u32 media_type;
u32 phy_semaphore_mask;
bool reset_disable;
+ bool multispeed_fiber;
bool qsfp_shared_i2c_bus;
u32 nw_mng_if_sel;
};
bool qsfp_shared_i2c_bus;
u32 nw_mng_if_sel;
};
@@
-375,6
+378,14
@@
struct txgbe_mbx_info {
s32 (*check_for_rst)(struct txgbe_hw *hw, u16 mbx_id);
};
s32 (*check_for_rst)(struct txgbe_hw *hw, u16 mbx_id);
};
+enum txgbe_isb_idx {
+ TXGBE_ISB_HEADER,
+ TXGBE_ISB_MISC,
+ TXGBE_ISB_VEC0,
+ TXGBE_ISB_VEC1,
+ TXGBE_ISB_MAX
+};
+
struct txgbe_hw {
void IOMEM *hw_addr;
void *back;
struct txgbe_hw {
void IOMEM *hw_addr;
void *back;