Lines Matching refs:mbx
642 union nic_mbx mbx = {}; in nicvf_reclaim_rcv_queue() local
645 mbx.msg.msg = NIC_MBOX_MSG_RQ_SW_SYNC; in nicvf_reclaim_rcv_queue()
646 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_reclaim_rcv_queue()
733 union nic_mbx mbx = {}; in nicvf_reset_rcv_queue_stats() local
736 mbx.reset_stat.msg = NIC_MBOX_MSG_RESET_STAT_COUNTER; in nicvf_reset_rcv_queue_stats()
737 mbx.reset_stat.rx_stat_mask = 0x3FFF; in nicvf_reset_rcv_queue_stats()
738 mbx.reset_stat.tx_stat_mask = 0x1F; in nicvf_reset_rcv_queue_stats()
739 mbx.reset_stat.rq_stat_mask = 0xFFFF; in nicvf_reset_rcv_queue_stats()
740 mbx.reset_stat.sq_stat_mask = 0xFFFF; in nicvf_reset_rcv_queue_stats()
741 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_reset_rcv_queue_stats()
748 union nic_mbx mbx = {}; in nicvf_rcv_queue_config() local
777 mbx.rq.msg = NIC_MBOX_MSG_RQ_CFG; in nicvf_rcv_queue_config()
778 mbx.rq.qs_num = qs->vnic_id; in nicvf_rcv_queue_config()
779 mbx.rq.rq_num = qidx; in nicvf_rcv_queue_config()
780 mbx.rq.cfg = ((u64)rq->caching << 26) | (rq->cq_qs << 19) | in nicvf_rcv_queue_config()
784 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
786 mbx.rq.msg = NIC_MBOX_MSG_RQ_BP_CFG; in nicvf_rcv_queue_config()
787 mbx.rq.cfg = BIT_ULL(63) | BIT_ULL(62) | in nicvf_rcv_queue_config()
790 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
795 mbx.rq.msg = NIC_MBOX_MSG_RQ_DROP_CFG; in nicvf_rcv_queue_config()
796 mbx.rq.cfg = BIT_ULL(63) | BIT_ULL(62) | in nicvf_rcv_queue_config()
799 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_rcv_queue_config()
862 union nic_mbx mbx = {}; in nicvf_snd_queue_config() local
881 mbx.sq.msg = NIC_MBOX_MSG_SQ_CFG; in nicvf_snd_queue_config()
882 mbx.sq.qs_num = qs->vnic_id; in nicvf_snd_queue_config()
883 mbx.sq.sq_num = qidx; in nicvf_snd_queue_config()
884 mbx.sq.sqs_mode = nic->sqs_mode; in nicvf_snd_queue_config()
885 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
886 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_snd_queue_config()
956 union nic_mbx mbx = {}; in nicvf_qset_config() local
970 mbx.qs.msg = NIC_MBOX_MSG_QS_CFG; in nicvf_qset_config()
971 mbx.qs.num = qs->vnic_id; in nicvf_qset_config()
972 mbx.qs.sqs_count = nic->sqs_count; in nicvf_qset_config()
974 mbx.qs.cfg = 0; in nicvf_qset_config()
975 qs_cfg = (struct qs_cfg *)&mbx.qs.cfg; in nicvf_qset_config()
986 nicvf_send_msg_to_pf(nic, &mbx); in nicvf_qset_config()