mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
qed: Add support for RoCE hw init
This adds the backbone required for the various HW initalizations which are necessary for the qedr driver - FW notification, resource initializations, etc. Signed-off-by: Ram Amrani <Ram.Amrani@caviumnetworks.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cee9fbd8e2
commit
51ff17251c
17 changed files with 1620 additions and 8 deletions
|
@ -34,6 +34,8 @@ enum dcbx_protocol_type {
|
|||
DCBX_MAX_PROTOCOL_TYPE
|
||||
};
|
||||
|
||||
#define QED_ROCE_PROTOCOL_INDEX (3)
|
||||
|
||||
#ifdef CONFIG_DCB
|
||||
#define QED_LLDP_CHASSIS_ID_STAT_LEN 4
|
||||
#define QED_LLDP_PORT_ID_STAT_LEN 4
|
||||
|
@ -268,6 +270,7 @@ struct qed_dev_info {
|
|||
|
||||
enum qed_sb_type {
|
||||
QED_SB_TYPE_L2_QUEUE,
|
||||
QED_SB_TYPE_CNQ,
|
||||
};
|
||||
|
||||
enum qed_protocol {
|
||||
|
@ -628,7 +631,7 @@ enum DP_MODULE {
|
|||
QED_MSG_CXT = 0x800000,
|
||||
QED_MSG_LL2 = 0x1000000,
|
||||
QED_MSG_ILT = 0x2000000,
|
||||
QED_MSG_ROCE = 0x4000000,
|
||||
QED_MSG_RDMA = 0x4000000,
|
||||
QED_MSG_DEBUG = 0x8000000,
|
||||
/* to be added...up to 0x8000000 */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue