Lines Matching refs:msg
40 nicvf_mbox_msg_str(int msg) in nicvf_mbox_msg_str() argument
42 assert(msg >= 0 && msg < NIC_MBOX_MSG_MAX); in nicvf_mbox_msg_str()
44 if (mbox_message[msg] == NULL) in nicvf_mbox_msg_str()
45 msg = 0; in nicvf_mbox_msg_str()
46 return mbox_message[msg]; in nicvf_mbox_msg_str()
64 nicvf_mbox_msg_str(mbx->msg.msg), nic->vf_id); in nicvf_mbox_send_msg_to_pf_raw()
104 mbx->msg.msg, nicvf_mbox_msg_str(mbx->msg.msg), in nicvf_mbox_send_msg_to_pf()
128 nicvf_mbox_log("msg received id=0x%hhx %s (VF%d)", mbx.msg.msg, in nicvf_handle_mbx_intr()
129 nicvf_mbox_msg_str(mbx.msg.msg), nic->vf_id); in nicvf_handle_mbx_intr()
131 switch (mbx.msg.msg) { in nicvf_handle_mbx_intr()
180 mbx.msg.msg, nicvf_mbox_msg_str(mbx.msg.msg)); in nicvf_handle_mbx_intr()
185 return mbx.msg.msg; in nicvf_handle_mbx_intr()
195 struct nic_mbx mbx = { .msg = {.msg = NIC_MBOX_MSG_READY} }; in nicvf_mbox_check_pf_ready()
204 struct nic_mbx mbx = { .msg = {0} }; in nicvf_mbox_set_mac_addr()
207 mbx.msg.msg = NIC_MBOX_MSG_SET_MAC; in nicvf_mbox_set_mac_addr()
218 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_config_cpi()
220 mbx.msg.msg = NIC_MBOX_MSG_CPI_CFG; in nicvf_mbox_config_cpi()
231 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_get_rss_size()
233 mbx.msg.msg = NIC_MBOX_MSG_RSS_SIZE; in nicvf_mbox_get_rss_size()
243 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_config_rss()
258 mbx.msg.msg = (cur_idx > 0) ? in nicvf_mbox_config_rss()
276 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_rq_config()
278 mbx.msg.msg = NIC_MBOX_MSG_RQ_CFG; in nicvf_mbox_rq_config()
288 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_sq_config()
290 mbx.msg.msg = NIC_MBOX_MSG_SQ_CFG; in nicvf_mbox_sq_config()
301 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_qset_config()
307 mbx.msg.msg = NIC_MBOX_MSG_QS_CFG; in nicvf_mbox_qset_config()
317 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_request_sqs()
324 mbx.sqs_alloc.msg = NIC_MBOX_MSG_ALLOC_SQS; in nicvf_mbox_request_sqs()
338 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_rq_drop_config()
342 mbx.msg.msg = NIC_MBOX_MSG_RQ_DROP_CFG; in nicvf_mbox_rq_drop_config()
357 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_update_hw_max_frs()
359 mbx.msg.msg = NIC_MBOX_MSG_SET_MAX_FRS; in nicvf_mbox_update_hw_max_frs()
368 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_rq_sync()
371 mbx.msg.msg = NIC_MBOX_MSG_RQ_SW_SYNC; in nicvf_mbox_rq_sync()
379 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_rq_bp_config()
381 mbx.msg.msg = NIC_MBOX_MSG_RQ_BP_CFG; in nicvf_mbox_rq_bp_config()
393 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_loopback_config()
395 mbx.lbk.msg = NIC_MBOX_MSG_LOOPBACK; in nicvf_mbox_loopback_config()
406 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_reset_stat_counters()
408 mbx.reset_stat.msg = NIC_MBOX_MSG_RESET_STAT_COUNTER; in nicvf_mbox_reset_stat_counters()
419 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_set_link_up_down()
421 mbx.lbk.msg = NIC_MBOX_MSG_SET_LINK; in nicvf_mbox_set_link_up_down()
429 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_shutdown()
431 mbx.msg.msg = NIC_MBOX_MSG_SHUTDOWN; in nicvf_mbox_shutdown()
438 struct nic_mbx mbx = { .msg = { 0 } }; in nicvf_mbox_cfg_done()
440 mbx.msg.msg = NIC_MBOX_MSG_CFG_DONE; in nicvf_mbox_cfg_done()