/* To check if valid bit is set, check the entire word as we don't know
  * the endianness of the data (old entry is host endian while a new entry is
  * little endian) */
-static inline bool be_mcc_compl_is_new(struct be_mcc_cq_entry *compl)
+static inline bool be_mcc_compl_is_new(struct be_mcc_compl *compl)
 {
        if (compl->flags != 0) {
                compl->flags = le32_to_cpu(compl->flags);
 }
 
 /* Need to reset the entire word that houses the valid bit */
-static inline void be_mcc_compl_use(struct be_mcc_cq_entry *compl)
+static inline void be_mcc_compl_use(struct be_mcc_compl *compl)
 {
        compl->flags = 0;
 }
 
 static int be_mcc_compl_process(struct be_adapter *adapter,
-       struct be_mcc_cq_entry *compl)
+       struct be_mcc_compl *compl)
 {
        u16 compl_status, extd_status;
 
                                ASYNC_EVENT_CODE_LINK_STATE);
 }
 
-static struct be_mcc_cq_entry *be_mcc_compl_get(struct be_adapter *adapter)
+static struct be_mcc_compl *be_mcc_compl_get(struct be_adapter *adapter)
 {
        struct be_queue_info *mcc_cq = &adapter->mcc_obj.cq;
-       struct be_mcc_cq_entry *compl = queue_tail_node(mcc_cq);
+       struct be_mcc_compl *compl = queue_tail_node(mcc_cq);
 
        if (be_mcc_compl_is_new(compl)) {
                queue_tail_inc(mcc_cq);
 
 void be_process_mcc(struct be_adapter *adapter)
 {
-       struct be_mcc_cq_entry *compl;
+       struct be_mcc_compl *compl;
        int num = 0;
 
        spin_lock_bh(&adapter->mcc_cq_lock);
  * Insert the mailbox address into the doorbell in two steps
  * Polls on the mbox doorbell till a command completion (or a timeout) occurs
  */
-static int be_mbox_db_ring(struct be_adapter *adapter)
+static int be_mbox_notify(struct be_adapter *adapter)
 {
        int status;
        u32 val = 0;
        void __iomem *db = adapter->db + MPU_MAILBOX_DB_OFFSET;
        struct be_dma_mem *mbox_mem = &adapter->mbox_mem;
        struct be_mcc_mailbox *mbox = mbox_mem->va;
-       struct be_mcc_cq_entry *cqe = &mbox->cqe;
+       struct be_mcc_compl *compl = &mbox->compl;
 
-       memset(cqe, 0, sizeof(*cqe));
+       memset(compl, 0, sizeof(*compl));
 
        val |= MPU_MAILBOX_DB_HI_MASK;
        /* at bits 2 - 31 place mbox dma addr msb bits 34 - 63 */
                return status;
 
        /* A cq entry has been made now */
-       if (be_mcc_compl_is_new(cqe)) {
-               status = be_mcc_compl_process(adapter, &mbox->cqe);
-               be_mcc_compl_use(cqe);
+       if (be_mcc_compl_is_new(compl)) {
+               status = be_mcc_compl_process(adapter, &mbox->compl);
+               be_mcc_compl_use(compl);
                if (status)
                        return status;
        } else {
 
        be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                eq->id = le16_to_cpu(resp->eq_id);
                eq->created = true;
                req->permanent = 0;
        }
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status)
                memcpy(mac_addr, resp->mac.addr, ETH_ALEN);
 
        req->if_id = cpu_to_le32(if_id);
        memcpy(req->mac_address, mac_addr, ETH_ALEN);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_pmac_add *resp = embedded_payload(wrb);
                *pmac_id = le32_to_cpu(resp->pmac_id);
        req->if_id = cpu_to_le32(if_id);
        req->pmac_id = cpu_to_le32(pmac_id);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        spin_unlock(&adapter->mbox_lock);
 
        return status;
 
        be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                cq->id = le16_to_cpu(resp->cq_id);
                cq->created = true;
 
        be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_mcc_create *resp = embedded_payload(wrb);
                mccq->id = le16_to_cpu(resp->id);
 
        be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_eth_tx_create *resp = embedded_payload(wrb);
                txq->id = le16_to_cpu(resp->cid);
        req->max_frame_size = cpu_to_le16(max_frame_size);
        req->rss_queue = cpu_to_le32(rss);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_eth_rx_create *resp = embedded_payload(wrb);
                rxq->id = le16_to_cpu(resp->id);
        be_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req));
        req->id = cpu_to_le16(q->id);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
 
        spin_unlock(&adapter->mbox_lock);
 
        if (!pmac_invalid)
                memcpy(req->mac_addr, mac, ETH_ALEN);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_if_create *resp = embedded_payload(wrb);
                *if_handle = le32_to_cpu(resp->interface_id);
                OPCODE_COMMON_NTWK_INTERFACE_DESTROY, sizeof(*req));
 
        req->interface_id = cpu_to_le32(interface_id);
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
 
        spin_unlock(&adapter->mbox_lock);
 
        sge->pa_lo = cpu_to_le32(nonemb_cmd->dma & 0xFFFFFFFF);
        sge->len = cpu_to_le32(nonemb_cmd->size);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_get_stats *resp = nonemb_cmd->va;
                be_dws_le_to_cpu(&resp->hw_stats, sizeof(resp->hw_stats));
        be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
                OPCODE_COMMON_NTWK_LINK_STATUS_QUERY, sizeof(*req));
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_link_status *resp = embedded_payload(wrb);
                if (resp->mac_speed != PHY_LINK_SPEED_ZERO)
        be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
                OPCODE_COMMON_GET_FW_VERSION, sizeof(*req));
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_get_fw_version *resp = embedded_payload(wrb);
                strncpy(fw_ver, resp->firmware_version_string, FW_VER_LEN);
        req->delay[0].phase = 0;
        req->delay[0].delay_multiplier = cpu_to_le32(eqd);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
 
        spin_unlock(&adapter->mbox_lock);
        return status;
                        req->num_vlan * sizeof(vtag_array[0]));
        }
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
 
        spin_unlock(&adapter->mbox_lock);
        return status;
        req->tx_flow_control = cpu_to_le16((u16)tx_fc);
        req->rx_flow_control = cpu_to_le16((u16)rx_fc);
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
 
        spin_unlock(&adapter->mbox_lock);
        return status;
        be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
                OPCODE_COMMON_GET_FLOW_CONTROL, sizeof(*req));
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_get_flow_control *resp =
                                                embedded_payload(wrb);
        be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON,
                OPCODE_COMMON_QUERY_FIRMWARE_CONFIG, sizeof(*req));
 
-       status = be_mbox_db_ring(adapter);
+       status = be_mbox_notify(adapter);
        if (!status) {
                struct be_cmd_resp_query_fw_cfg *resp = embedded_payload(wrb);
                *port_num = le32_to_cpu(resp->phys_port);