[dpdk-test-report] |WARNING| pw90681 [PATCH v5 06/52] common/cnxk: add mbox request and response definitions

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 6 16:45:01 CEST 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/90681

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#167: FILE: drivers/common/cnxk/roc_mbox.h:44:
+#define MBOX_MESSAGES                                                          \
+	/* Generic mbox IDs (range 0x000 - 0x1FF) */                           \
+	M(READY, 0x001, ready, msg_req, ready_msg_rsp)                         \
+	M(ATTACH_RESOURCES, 0x002, attach_resources, rsrc_attach_req, msg_rsp) \
+	M(DETACH_RESOURCES, 0x003, detach_resources, rsrc_detach_req, msg_rsp) \
+	M(FREE_RSRC_CNT, 0x004, free_rsrc_cnt, msg_req, free_rsrcs_rsp)        \
+	M(MSIX_OFFSET, 0x005, msix_offset, msg_req, msix_offset_rsp)           \
+	M(VF_FLR, 0x006, vf_flr, msg_req, msg_rsp)                             \
+	M(PTP_OP, 0x007, ptp_op, ptp_req, ptp_rsp)                             \
+	M(GET_HW_CAP, 0x008, get_hw_cap, msg_req, get_hw_cap_rsp)              \
+	M(NDC_SYNC_OP, 0x009, ndc_sync_op, ndc_sync_op, msg_rsp)               \
+	M(LMTST_TBL_SETUP, 0x00a, lmtst_tbl_setup, lmtst_tbl_setup_req,        \
+	  msg_rsp)                                                             \
+	/* CGX mbox IDs (range 0x200 - 0x3FF) */                               \
+	M(CGX_START_RXTX, 0x200, cgx_start_rxtx, msg_req, msg_rsp)             \
+	M(CGX_STOP_RXTX, 0x201, cgx_stop_rxtx, msg_req, msg_rsp)               \
+	M(CGX_STATS, 0x202, cgx_stats, msg_req, cgx_stats_rsp)                 \
+	M(CGX_MAC_ADDR_SET, 0x203, cgx_mac_addr_set, cgx_mac_addr_set_or_get,  \
+	  cgx_mac_addr_set_or_get)                                             \
+	M(CGX_MAC_ADDR_GET, 0x204, cgx_mac_addr_get, cgx_mac_addr_set_or_get,  \
+	  cgx_mac_addr_set_or_get)                                             \
+	M(CGX_PROMISC_ENABLE, 0x205, cgx_promisc_enable, msg_req, msg_rsp)     \
+	M(CGX_PROMISC_DISABLE, 0x206, cgx_promisc_disable, msg_req, msg_rsp)   \
+	M(CGX_START_LINKEVENTS, 0x207, cgx_start_linkevents, msg_req, msg_rsp) \
+	M(CGX_STOP_LINKEVENTS, 0x208, cgx_stop_linkevents, msg_req, msg_rsp)   \
+	M(CGX_GET_LINKINFO, 0x209, cgx_get_linkinfo, msg_req,                  \
+	  cgx_link_info_msg)                                                   \
+	M(CGX_INTLBK_ENABLE, 0x20A, cgx_intlbk_enable, msg_req, msg_rsp)       \
+	M(CGX_INTLBK_DISABLE, 0x20B, cgx_intlbk_disable, msg_req, msg_rsp)     \
+	M(CGX_PTP_RX_ENABLE, 0x20C, cgx_ptp_rx_enable, msg_req, msg_rsp)       \
+	M(CGX_PTP_RX_DISABLE, 0x20D, cgx_ptp_rx_disable, msg_req, msg_rsp)     \
+	M(CGX_CFG_PAUSE_FRM, 0x20E, cgx_cfg_pause_frm, cgx_pause_frm_cfg,      \
+	  cgx_pause_frm_cfg)                                                   \
+	M(CGX_FW_DATA_GET, 0x20F, cgx_get_aux_link_info, msg_req, cgx_fw_data) \
+	M(CGX_FEC_SET, 0x210, cgx_set_fec_param, fec_mode, fec_mode)           \
+	M(CGX_MAC_ADDR_ADD, 0x211, cgx_mac_addr_add, cgx_mac_addr_add_req,     \
+	  cgx_mac_addr_add_rsp)                                                \
+	M(CGX_MAC_ADDR_DEL, 0x212, cgx_mac_addr_del, cgx_mac_addr_del_req,     \
+	  msg_rsp)                                                             \
+	M(CGX_MAC_MAX_ENTRIES_GET, 0x213, cgx_mac_max_entries_get, msg_req,    \
+	  cgx_max_dmac_entries_get_rsp)                                        \
+	M(CGX_SET_LINK_STATE, 0x214, cgx_set_link_state,                       \
+	  cgx_set_link_state_msg, msg_rsp)                                     \
+	M(CGX_GET_PHY_MOD_TYPE, 0x215, cgx_get_phy_mod_type, msg_req,          \
+	  cgx_phy_mod_type)                                                    \
+	M(CGX_SET_PHY_MOD_TYPE, 0x216, cgx_set_phy_mod_type, cgx_phy_mod_type, \
+	  msg_rsp)                                                             \
+	M(CGX_FEC_STATS, 0x217, cgx_fec_stats, msg_req, cgx_fec_stats_rsp)     \
+	M(CGX_SET_LINK_MODE, 0x218, cgx_set_link_mode, cgx_set_link_mode_req,  \
+	  cgx_set_link_mode_rsp)                                               \
+	M(CGX_GET_PHY_FEC_STATS, 0x219, cgx_get_phy_fec_stats, msg_req,        \
+	  msg_rsp)                                                             \
+	M(CGX_STATS_RST, 0x21A, cgx_stats_rst, msg_req, msg_rsp)               \
+	M(RPM_STATS, 0x21C, rpm_stats, msg_req, rpm_stats_rsp)                 \
+	/* NPA mbox IDs (range 0x400 - 0x5FF) */                               \
+	M(NPA_LF_ALLOC, 0x400, npa_lf_alloc, npa_lf_alloc_req,                 \
+	  npa_lf_alloc_rsp)                                                    \
+	M(NPA_LF_FREE, 0x401, npa_lf_free, msg_req, msg_rsp)                   \
+	M(NPA_AQ_ENQ, 0x402, npa_aq_enq, npa_aq_enq_req, npa_aq_enq_rsp)       \
+	M(NPA_HWCTX_DISABLE, 0x403, npa_hwctx_disable, hwctx_disable_req,      \
+	  msg_rsp)                                                             \
+	/* SSO/SSOW mbox IDs (range 0x600 - 0x7FF) */                          \
+	M(SSO_LF_ALLOC, 0x600, sso_lf_alloc, sso_lf_alloc_req,                 \
+	  sso_lf_alloc_rsp)                                                    \
+	M(SSO_LF_FREE, 0x601, sso_lf_free, sso_lf_free_req, msg_rsp)           \
+	M(SSOW_LF_ALLOC, 0x602, ssow_lf_alloc, ssow_lf_alloc_req, msg_rsp)     \
+	M(SSOW_LF_FREE, 0x603, ssow_lf_free, ssow_lf_free_req, msg_rsp)        \
+	M(SSO_HW_SETCONFIG, 0x604, sso_hw_setconfig, sso_hw_setconfig,         \
+	  msg_rsp)                                                             \
+	M(SSO_GRP_SET_PRIORITY, 0x605, sso_grp_set_priority, sso_grp_priority, \
+	  msg_rsp)                                                             \
+	M(SSO_GRP_GET_PRIORITY, 0x606, sso_grp_get_priority, sso_info_req,     \
+	  sso_grp_priority)                                                    \
+	M(SSO_WS_CACHE_INV, 0x607, sso_ws_cache_inv, msg_req, msg_rsp)         \
+	M(SSO_GRP_QOS_CONFIG, 0x608, sso_grp_qos_config, sso_grp_qos_cfg,      \
+	  msg_rsp)                                                             \
+	M(SSO_GRP_GET_STATS, 0x609, sso_grp_get_stats, sso_info_req,           \
+	  sso_grp_stats)                                                       \
+	M(SSO_HWS_GET_STATS, 0x610, sso_hws_get_stats, sso_info_req,           \
+	  sso_hws_stats)                                                       \
+	M(SSO_HW_RELEASE_XAQ, 0x611, sso_hw_release_xaq_aura,                  \
+	  sso_hw_xaq_release, msg_rsp)                                         \
+	/* TIM mbox IDs (range 0x800 - 0x9FF) */                               \
+	M(TIM_LF_ALLOC, 0x800, tim_lf_alloc, tim_lf_alloc_req,                 \
+	  tim_lf_alloc_rsp)                                                    \
+	M(TIM_LF_FREE, 0x801, tim_lf_free, tim_ring_req, msg_rsp)              \
+	M(TIM_CONFIG_RING, 0x802, tim_config_ring, tim_config_req, msg_rsp)    \
+	M(TIM_ENABLE_RING, 0x803, tim_enable_ring, tim_ring_req,               \
+	  tim_enable_rsp)                                                      \
+	M(TIM_DISABLE_RING, 0x804, tim_disable_ring, tim_ring_req, msg_rsp)    \
+	/* CPT mbox IDs (range 0xA00 - 0xBFF) */                               \
+	M(CPT_LF_ALLOC, 0xA00, cpt_lf_alloc, cpt_lf_alloc_req_msg, msg_rsp)    \
+	M(CPT_LF_FREE, 0xA01, cpt_lf_free, msg_req, msg_rsp)                   \
+	M(CPT_RD_WR_REGISTER, 0xA02, cpt_rd_wr_register, cpt_rd_wr_reg_msg,    \
+	  cpt_rd_wr_reg_msg)                                                   \
+	M(CPT_SET_CRYPTO_GRP, 0xA03, cpt_set_crypto_grp,                       \
+	  cpt_set_crypto_grp_req_msg, msg_rsp)                                 \
+	M(CPT_INLINE_IPSEC_CFG, 0xA04, cpt_inline_ipsec_cfg,                   \
+	  cpt_inline_ipsec_cfg_msg, msg_rsp)                                   \
+	M(CPT_STATS, 0xA05, cpt_sts_get, cpt_sts_req, cpt_sts_rsp)             \
+	M(CPT_RXC_TIME_CFG, 0xA06, cpt_rxc_time_cfg, cpt_rxc_time_cfg_req,     \
+	  msg_rsp)                                                             \
+	M(CPT_RX_INLINE_LF_CFG, 0xBFE, cpt_rx_inline_lf_cfg,                   \
+	  cpt_rx_inline_lf_cfg_msg, msg_rsp)                                   \
+	M(CPT_GET_CAPS, 0xBFD, cpt_caps_get, msg_req, cpt_caps_rsp_msg)        \
+	M(CPT_GET_ENG_GRP, 0xBFF, cpt_eng_grp_get, cpt_eng_grp_req,            \
+	  cpt_eng_grp_rsp)                                                     \
+	/* SDP mbox IDs (range 0x1000 - 0x11FF) */                             \
+	M(SET_SDP_CHAN_INFO, 0x1000, set_sdp_chan_info, sdp_chan_info_msg,     \
+	  msg_rsp)                                                             \
+	/* NPC mbox IDs (range 0x6000 - 0x7FFF) */                             \
+	M(NPC_MCAM_ALLOC_ENTRY, 0x6000, npc_mcam_alloc_entry,                  \
+	  npc_mcam_alloc_entry_req, npc_mcam_alloc_entry_rsp)                  \
+	M(NPC_MCAM_FREE_ENTRY, 0x6001, npc_mcam_free_entry,                    \
+	  npc_mcam_free_entry_req, msg_rsp)                                    \
+	M(NPC_MCAM_WRITE_ENTRY, 0x6002, npc_mcam_write_entry,                  \
+	  npc_mcam_write_entry_req, msg_rsp)                                   \
+	M(NPC_MCAM_ENA_ENTRY, 0x6003, npc_mcam_ena_entry,                      \
+	  npc_mcam_ena_dis_entry_req, msg_rsp)                                 \
+	M(NPC_MCAM_DIS_ENTRY, 0x6004, npc_mcam_dis_entry,                      \
+	  npc_mcam_ena_dis_entry_req, msg_rsp)                                 \
+	M(NPC_MCAM_SHIFT_ENTRY, 0x6005, npc_mcam_shift_entry,                  \
+	  npc_mcam_shift_entry_req, npc_mcam_shift_entry_rsp)                  \
+	M(NPC_MCAM_ALLOC_COUNTER, 0x6006, npc_mcam_alloc_counter,              \
+	  npc_mcam_alloc_counter_req, npc_mcam_alloc_counter_rsp)              \
+	M(NPC_MCAM_FREE_COUNTER, 0x6007, npc_mcam_free_counter,                \
+	  npc_mcam_oper_counter_req, msg_rsp)                                  \
+	M(NPC_MCAM_UNMAP_COUNTER, 0x6008, npc_mcam_unmap_counter,              \
+	  npc_mcam_unmap_counter_req, msg_rsp)                                 \
+	M(NPC_MCAM_CLEAR_COUNTER, 0x6009, npc_mcam_clear_counter,              \
+	  npc_mcam_oper_counter_req, msg_rsp)                                  \
+	M(NPC_MCAM_COUNTER_STATS, 0x600a, npc_mcam_counter_stats,              \
+	  npc_mcam_oper_counter_req, npc_mcam_oper_counter_rsp)                \
+	M(NPC_MCAM_ALLOC_AND_WRITE_ENTRY, 0x600b,                              \
+	  npc_mcam_alloc_and_write_entry, npc_mcam_alloc_and_write_entry_req,  \
+	  npc_mcam_alloc_and_write_entry_rsp)                                  \
+	M(NPC_GET_KEX_CFG, 0x600c, npc_get_kex_cfg, msg_req,                   \
+	  npc_get_kex_cfg_rsp)                                                 \
+	M(NPC_INSTALL_FLOW, 0x600d, npc_install_flow, npc_install_flow_req,    \
+	  npc_install_flow_rsp)                                                \
+	M(NPC_DELETE_FLOW, 0x600e, npc_delete_flow, npc_delete_flow_req,       \
+	  msg_rsp)                                                             \
+	M(NPC_MCAM_READ_ENTRY, 0x600f, npc_mcam_read_entry,                    \
+	  npc_mcam_read_entry_req, npc_mcam_read_entry_rsp)                    \
+	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)                                         \
+	M(NPC_MCAM_GET_STATS, 0x6012, npc_mcam_entry_stats,                    \
+	  npc_mcam_get_stats_req, npc_mcam_get_stats_rsp)                      \
+	/* NIX mbox IDs (range 0x8000 - 0xFFFF) */                             \
+	M(NIX_LF_ALLOC, 0x8000, nix_lf_alloc, nix_lf_alloc_req,                \
+	  nix_lf_alloc_rsp)                                                    \
+	M(NIX_LF_FREE, 0x8001, nix_lf_free, nix_lf_free_req, msg_rsp)          \
+	M(NIX_AQ_ENQ, 0x8002, nix_aq_enq, nix_aq_enq_req, nix_aq_enq_rsp)      \
+	M(NIX_HWCTX_DISABLE, 0x8003, nix_hwctx_disable, hwctx_disable_req,     \
+	  msg_rsp)                                                             \
+	M(NIX_TXSCH_ALLOC, 0x8004, nix_txsch_alloc, nix_txsch_alloc_req,       \
+	  nix_txsch_alloc_rsp)                                                 \
+	M(NIX_TXSCH_FREE, 0x8005, nix_txsch_free, nix_txsch_free_req, msg_rsp) \
+	M(NIX_TXSCHQ_CFG, 0x8006, nix_txschq_cfg, nix_txschq_config,           \
+	  nix_txschq_config)                                                   \
+	M(NIX_STATS_RST, 0x8007, nix_stats_rst, msg_req, msg_rsp)              \
+	M(NIX_VTAG_CFG, 0x8008, nix_vtag_cfg, nix_vtag_config, msg_rsp)        \
+	M(NIX_RSS_FLOWKEY_CFG, 0x8009, nix_rss_flowkey_cfg,                    \
+	  nix_rss_flowkey_cfg, nix_rss_flowkey_cfg_rsp)                        \
+	M(NIX_SET_MAC_ADDR, 0x800a, nix_set_mac_addr, nix_set_mac_addr,        \
+	  msg_rsp)                                                             \
+	M(NIX_SET_RX_MODE, 0x800b, nix_set_rx_mode, nix_rx_mode, msg_rsp)      \
+	M(NIX_SET_HW_FRS, 0x800c, nix_set_hw_frs, nix_frs_cfg, msg_rsp)        \
+	M(NIX_LF_START_RX, 0x800d, nix_lf_start_rx, msg_req, msg_rsp)          \
+	M(NIX_LF_STOP_RX, 0x800e, nix_lf_stop_rx, msg_req, msg_rsp)            \
+	M(NIX_MARK_FORMAT_CFG, 0x800f, nix_mark_format_cfg,                    \
+	  nix_mark_format_cfg, nix_mark_format_cfg_rsp)                        \
+	M(NIX_SET_RX_CFG, 0x8010, nix_set_rx_cfg, nix_rx_cfg, msg_rsp)         \
+	M(NIX_LSO_FORMAT_CFG, 0x8011, nix_lso_format_cfg, nix_lso_format_cfg,  \
+	  nix_lso_format_cfg_rsp)                                              \
+	M(NIX_LF_PTP_TX_ENABLE, 0x8013, nix_lf_ptp_tx_enable, msg_req,         \
+	  msg_rsp)                                                             \
+	M(NIX_LF_PTP_TX_DISABLE, 0x8014, nix_lf_ptp_tx_disable, msg_req,       \
+	  msg_rsp)                                                             \
+	M(NIX_SET_VLAN_TPID, 0x8015, nix_set_vlan_tpid, nix_set_vlan_tpid,     \
+	  msg_rsp)                                                             \
+	M(NIX_BP_ENABLE, 0x8016, nix_bp_enable, nix_bp_cfg_req,                \
+	  nix_bp_cfg_rsp)                                                      \
+	M(NIX_BP_DISABLE, 0x8017, nix_bp_disable, nix_bp_cfg_req, msg_rsp)     \
+	M(NIX_GET_MAC_ADDR, 0x8018, nix_get_mac_addr, msg_req,                 \
+	  nix_get_mac_addr_rsp)                                                \
+	M(NIX_INLINE_IPSEC_CFG, 0x8019, nix_inline_ipsec_cfg,                  \
+	  nix_inline_ipsec_cfg, msg_rsp)                                       \
+	M(NIX_INLINE_IPSEC_LF_CFG, 0x801a, nix_inline_ipsec_lf_cfg,            \
+	  nix_inline_ipsec_lf_cfg, msg_rsp)                                    \
+	M(NIX_CN10K_AQ_ENQ, 0x801b, nix_cn10k_aq_enq, nix_cn10k_aq_enq_req,    \
+	  nix_cn10k_aq_enq_rsp)                                                \
+	M(NIX_GET_HW_INFO, 0x801c, nix_get_hw_info, msg_req, nix_hw_info)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#249: FILE: drivers/common/cnxk/roc_mbox.h:126:
+	/* TIM mbox IDs (range 0x800 - 0x9FF) */                               \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#250: FILE: drivers/common/cnxk/roc_mbox.h:127:
+	M(TIM_LF_ALLOC, 0x800, tim_lf_alloc, tim_lf_alloc_req,                 \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/common/cnxk/roc_mbox.h:127:
+	M(TIM_LF_ALLOC, 0x800, tim_lf_alloc, tim_lf_alloc_req,                 \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/common/cnxk/roc_mbox.h:127:
+	M(TIM_LF_ALLOC, 0x800, tim_lf_alloc, tim_lf_alloc_req,                 \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/common/cnxk/roc_mbox.h:128:
+	  tim_lf_alloc_rsp)                                                    \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#252: FILE: drivers/common/cnxk/roc_mbox.h:129:
+	M(TIM_LF_FREE, 0x801, tim_lf_free, tim_ring_req, msg_rsp)              \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#252: FILE: drivers/common/cnxk/roc_mbox.h:129:
+	M(TIM_LF_FREE, 0x801, tim_lf_free, tim_ring_req, msg_rsp)              \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#252: FILE: drivers/common/cnxk/roc_mbox.h:129:
+	M(TIM_LF_FREE, 0x801, tim_lf_free, tim_ring_req, msg_rsp)              \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#253: FILE: drivers/common/cnxk/roc_mbox.h:130:
+	M(TIM_CONFIG_RING, 0x802, tim_config_ring, tim_config_req, msg_rsp)    \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#253: FILE: drivers/common/cnxk/roc_mbox.h:130:
+	M(TIM_CONFIG_RING, 0x802, tim_config_ring, tim_config_req, msg_rsp)    \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#253: FILE: drivers/common/cnxk/roc_mbox.h:130:
+	M(TIM_CONFIG_RING, 0x802, tim_config_ring, tim_config_req, msg_rsp)    \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#254: FILE: drivers/common/cnxk/roc_mbox.h:131:
+	M(TIM_ENABLE_RING, 0x803, tim_enable_ring, tim_ring_req,               \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/common/cnxk/roc_mbox.h:131:
+	M(TIM_ENABLE_RING, 0x803, tim_enable_ring, tim_ring_req,               \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/common/cnxk/roc_mbox.h:131:
+	M(TIM_ENABLE_RING, 0x803, tim_enable_ring, tim_ring_req,               \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#255: FILE: drivers/common/cnxk/roc_mbox.h:132:
+	  tim_enable_rsp)                                                      \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#256: FILE: drivers/common/cnxk/roc_mbox.h:133:
+	M(TIM_DISABLE_RING, 0x804, tim_disable_ring, tim_ring_req, msg_rsp)    \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#256: FILE: drivers/common/cnxk/roc_mbox.h:133:
+	M(TIM_DISABLE_RING, 0x804, tim_disable_ring, tim_ring_req, msg_rsp)    \

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#256: FILE: drivers/common/cnxk/roc_mbox.h:133:
+	M(TIM_DISABLE_RING, 0x804, tim_disable_ring, tim_ring_req, msg_rsp)    \

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#363: FILE: drivers/common/cnxk/roc_mbox.h:240:
+#define MBOX_UP_CGX_MESSAGES                                                   \
+	M(CGX_LINK_EVENT, 0xC00, cgx_link_event, cgx_link_info_msg, msg_rsp)   \
+	M(CGX_PTP_RX_INFO, 0xC01, cgx_ptp_rx_info, cgx_ptp_rx_info_msg, msg_rsp)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#368: FILE: drivers/common/cnxk/roc_mbox.h:245:
+#define M(_name, _id, _1, _2, _3) MBOX_MSG_##_name = _id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#486: FILE: drivers/common/cnxk/roc_mbox.h:363:
+	uint16_t __io tim;

WARNING:TYPO_SPELLING: 'DONT' may be misspelled - perhaps 'DON'T'?
#859: FILE: drivers/common/cnxk/roc_mbox.h:736:
+#define NIX_LF_DONT_FREE_TX_VTAG BIT_ULL(1)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1767: FILE: drivers/common/cnxk/roc_mbox.h:1644:
+/* TIM mailbox error codes

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1770: FILE: drivers/common/cnxk/roc_mbox.h:1647:
+enum tim_af_status {

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1771: FILE: drivers/common/cnxk/roc_mbox.h:1648:
+	TIM_AF_NO_RINGS_LEFT = -801,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1772: FILE: drivers/common/cnxk/roc_mbox.h:1649:
+	TIM_AF_INVALID_NPA_PF_FUNC = -802,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1773: FILE: drivers/common/cnxk/roc_mbox.h:1650:
+	TIM_AF_INVALID_SSO_PF_FUNC = -803,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1774: FILE: drivers/common/cnxk/roc_mbox.h:1651:
+	TIM_AF_RING_STILL_RUNNING = -804,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1775: FILE: drivers/common/cnxk/roc_mbox.h:1652:
+	TIM_AF_LF_INVALID = -805,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1776: FILE: drivers/common/cnxk/roc_mbox.h:1653:
+	TIM_AF_CSIZE_NOT_ALIGNED = -806,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1777: FILE: drivers/common/cnxk/roc_mbox.h:1654:
+	TIM_AF_CSIZE_TOO_SMALL = -807,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1778: FILE: drivers/common/cnxk/roc_mbox.h:1655:
+	TIM_AF_CSIZE_TOO_BIG = -808,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1779: FILE: drivers/common/cnxk/roc_mbox.h:1656:
+	TIM_AF_INTERVAL_TOO_SMALL = -809,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1780: FILE: drivers/common/cnxk/roc_mbox.h:1657:
+	TIM_AF_INVALID_BIG_ENDIAN_VALUE = -810,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1781: FILE: drivers/common/cnxk/roc_mbox.h:1658:
+	TIM_AF_INVALID_CLOCK_SOURCE = -811,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1782: FILE: drivers/common/cnxk/roc_mbox.h:1659:
+	TIM_AF_GPIO_CLK_SRC_NOT_ENABLED = -812,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1783: FILE: drivers/common/cnxk/roc_mbox.h:1660:
+	TIM_AF_INVALID_BSIZE = -813,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1784: FILE: drivers/common/cnxk/roc_mbox.h:1661:
+	TIM_AF_INVALID_ENABLE_PERIODIC = -814,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1785: FILE: drivers/common/cnxk/roc_mbox.h:1662:
+	TIM_AF_INVALID_ENABLE_DONTFREE = -815,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1786: FILE: drivers/common/cnxk/roc_mbox.h:1663:
+	TIM_AF_ENA_DONTFRE_NSET_PERIODIC = -816,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1787: FILE: drivers/common/cnxk/roc_mbox.h:1664:
+	TIM_AF_RING_ALREADY_DISABLED = -817,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1790: FILE: drivers/common/cnxk/roc_mbox.h:1667:
+enum tim_clk_srcs {

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1791: FILE: drivers/common/cnxk/roc_mbox.h:1668:
+	TIM_CLK_SRCS_TENNS = 0,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1792: FILE: drivers/common/cnxk/roc_mbox.h:1669:
+	TIM_CLK_SRCS_GPIO = 1,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1793: FILE: drivers/common/cnxk/roc_mbox.h:1670:
+	TIM_CLK_SRCS_GTI = 2,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1794: FILE: drivers/common/cnxk/roc_mbox.h:1671:
+	TIM_CLK_SRCS_PTP = 3,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1795: FILE: drivers/common/cnxk/roc_mbox.h:1672:
+	TIM_CLK_SRSC_INVALID,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1798: FILE: drivers/common/cnxk/roc_mbox.h:1675:
+enum tim_gpio_edge {

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1799: FILE: drivers/common/cnxk/roc_mbox.h:1676:
+	TIM_GPIO_NO_EDGE = 0,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1800: FILE: drivers/common/cnxk/roc_mbox.h:1677:
+	TIM_GPIO_LTOH_TRANS = 1,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1801: FILE: drivers/common/cnxk/roc_mbox.h:1678:
+	TIM_GPIO_HTOL_TRANS = 2,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1802: FILE: drivers/common/cnxk/roc_mbox.h:1679:
+	TIM_GPIO_BOTH_TRANS = 3,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#1803: FILE: drivers/common/cnxk/roc_mbox.h:1680:
+	TIM_GPIO_INVALID,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1838: FILE: drivers/common/cnxk/roc_mbox.h:1715:
+struct tim_lf_alloc_req {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1845: FILE: drivers/common/cnxk/roc_mbox.h:1722:
+struct tim_ring_req {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1850: FILE: drivers/common/cnxk/roc_mbox.h:1727:
+struct tim_config_req {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1863: FILE: drivers/common/cnxk/roc_mbox.h:1740:
+struct tim_lf_alloc_rsp {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#1868: FILE: drivers/common/cnxk/roc_mbox.h:1745:
+struct tim_enable_rsp {

total: 3 errors, 56 warnings, 1775 lines checked


More information about the test-report mailing list