Lines Matching refs:mbx
406 union nic_mbx mbx = {}; in nicvf_reclaim_rcv_queue() local
409 mbx.msg.msg = NIC_MBOX_MSG_RQ_SW_SYNC; in nicvf_reclaim_rcv_queue()
410 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_reclaim_rcv_queue()
497 union nic_mbx mbx = {}; in nicvf_reset_rcv_queue_stats() local
500 mbx.reset_stat.msg = NIC_MBOX_MSG_RESET_STAT_COUNTER; in nicvf_reset_rcv_queue_stats()
501 mbx.reset_stat.rx_stat_mask = 0x3FFF; in nicvf_reset_rcv_queue_stats()
502 mbx.reset_stat.tx_stat_mask = 0x1F; in nicvf_reset_rcv_queue_stats()
503 mbx.reset_stat.rq_stat_mask = 0xFFFF; in nicvf_reset_rcv_queue_stats()
504 mbx.reset_stat.sq_stat_mask = 0xFFFF; in nicvf_reset_rcv_queue_stats()
505 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_reset_rcv_queue_stats()
512 union nic_mbx mbx = {}; in nicvf_rcv_queue_config() local
537 mbx.rq.msg = NIC_MBOX_MSG_RQ_CFG; in nicvf_rcv_queue_config()
538 mbx.rq.qs_num = qs->vnic_id; in nicvf_rcv_queue_config()
539 mbx.rq.rq_num = qidx; in nicvf_rcv_queue_config()
540 mbx.rq.cfg = (rq->caching << 26) | (rq->cq_qs << 19) | in nicvf_rcv_queue_config()
544 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
546 mbx.rq.msg = NIC_MBOX_MSG_RQ_BP_CFG; in nicvf_rcv_queue_config()
547 mbx.rq.cfg = (1ULL << 63) | (1ULL << 62) | (qs->vnic_id << 0); in nicvf_rcv_queue_config()
548 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
553 mbx.rq.msg = NIC_MBOX_MSG_RQ_DROP_CFG; in nicvf_rcv_queue_config()
554 mbx.rq.cfg = (1ULL << 62) | (RQ_CQ_DROP << 8); in nicvf_rcv_queue_config()
555 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
616 union nic_mbx mbx = {}; in nicvf_snd_queue_config() local
635 mbx.sq.msg = NIC_MBOX_MSG_SQ_CFG; in nicvf_snd_queue_config()
636 mbx.sq.qs_num = qs->vnic_id; in nicvf_snd_queue_config()
637 mbx.sq.sq_num = qidx; in nicvf_snd_queue_config()
638 mbx.sq.sqs_mode = nic->sqs_mode; in nicvf_snd_queue_config()
639 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
640 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_snd_queue_config()
706 union nic_mbx mbx = {}; in nicvf_qset_config() local
720 mbx.qs.msg = NIC_MBOX_MSG_QS_CFG; in nicvf_qset_config()
721 mbx.qs.num = qs->vnic_id; in nicvf_qset_config()
722 mbx.qs.sqs_count = nic->sqs_count; in nicvf_qset_config()
724 mbx.qs.cfg = 0; in nicvf_qset_config()
725 qs_cfg = (struct qs_cfg *)&mbx.qs.cfg; in nicvf_qset_config()
733 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_qset_config()