#define OTX2_MBOX_RSP_SIG (0xbeef)
/* Signature, for validating corrupted msgs */
uint16_t __otx2_io sig;
-#define OTX2_MBOX_VERSION (0x0007)
+#define OTX2_MBOX_VERSION (0x0009)
/* Version of msg's structure for this ID */
uint16_t __otx2_io ver;
/* Offset of next msg within mailbox region */
M(NPC_SET_PKIND, 0x6010, npc_set_pkind, \
npc_set_pkind, \
msg_rsp) \
+M(NPC_MCAM_READ_BASE_RULE, 0x6011, npc_read_base_steer_rule, msg_req, \
+ npc_mcam_read_base_rule_rsp) \
/* NIX mbox IDs (range 0x8000 - 0xFFFF) */ \
M(NIX_LF_ALLOC, 0x8000, nix_lf_alloc, nix_lf_alloc_req, \
nix_lf_alloc_rsp) \
uint8_t __otx2_io cgx_links; /* No. of CGX links present in HW */
uint8_t __otx2_io lbk_links; /* No. of LBK links present in HW */
uint8_t __otx2_io sdp_links; /* No. of SDP links present in HW */
+ uint8_t __otx2_io tx_link; /* Transmit channel link number */
};
struct nix_lf_free_req {
uint8_t __otx2_io enable;
};
+struct npc_mcam_read_base_rule_rsp {
+ struct mbox_msghdr hdr;
+ struct mcam_entry entry_data;
+};
+
/* TIM mailbox error codes
* Range 801 - 900.
*/