Lines Matching refs:msg
13 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack() argument
16 s32 retval = ixgbevf_write_mbx(hw, msg, size); in ixgbevf_write_msg_read_ack()
902 u32 msg[3]; in ixgbevf_negotiate_api_version_vf() local
905 msg[0] = IXGBE_VF_API_NEGOTIATE; in ixgbevf_negotiate_api_version_vf()
906 msg[1] = api; in ixgbevf_negotiate_api_version_vf()
907 msg[2] = 0; in ixgbevf_negotiate_api_version_vf()
909 err = ixgbevf_write_msg_read_ack(hw, msg, msg, ARRAY_SIZE(msg)); in ixgbevf_negotiate_api_version_vf()
911 msg[0] &= ~IXGBE_VT_MSGTYPE_CTS; in ixgbevf_negotiate_api_version_vf()
914 if (msg[0] == (IXGBE_VF_API_NEGOTIATE | in ixgbevf_negotiate_api_version_vf()
945 u32 msg[5]; in ixgbevf_get_queues() local
960 msg[0] = IXGBE_VF_GET_QUEUE; in ixgbevf_get_queues()
961 msg[1] = msg[2] = msg[3] = msg[4] = 0; in ixgbevf_get_queues()
963 err = ixgbevf_write_msg_read_ack(hw, msg, msg, ARRAY_SIZE(msg)); in ixgbevf_get_queues()
965 msg[0] &= ~IXGBE_VT_MSGTYPE_CTS; in ixgbevf_get_queues()
971 if (msg[0] != (IXGBE_VF_GET_QUEUE | IXGBE_VT_MSGTYPE_SUCCESS)) in ixgbevf_get_queues()
975 hw->mac.max_tx_queues = msg[IXGBE_VF_TX_QUEUES]; in ixgbevf_get_queues()
980 hw->mac.max_rx_queues = msg[IXGBE_VF_RX_QUEUES]; in ixgbevf_get_queues()
985 *num_tcs = msg[IXGBE_VF_TRANS_VLAN]; in ixgbevf_get_queues()
990 *default_tc = msg[IXGBE_VF_DEF_QUEUE]; in ixgbevf_get_queues()