Lines Matching full:hw

38 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
39 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
43 * @hw: pointer to the HW structure
50 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx() argument
52 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_read_mbx()
65 return mbx->ops[mbx_id].read(hw, msg, size, mbx_id); in ixgbe_read_mbx()
72 * @hw: pointer to the HW structure
79 s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_poll_mbx() argument
81 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_poll_mbx()
98 ret_val = ixgbe_poll_for_msg(hw, mbx_id); in ixgbe_poll_mbx()
101 return mbx->ops[mbx_id].read(hw, msg, size, mbx_id); in ixgbe_poll_mbx()
108 * @hw: pointer to the HW structure
116 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx() argument
118 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_write_mbx()
136 ret_val = mbx->ops[mbx_id].write(hw, msg, size, mbx_id); in ixgbe_write_mbx()
144 * @hw: pointer to the HW structure
149 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg() argument
151 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_check_for_msg()
157 ret_val = mbx->ops[mbx_id].check_for_msg(hw, mbx_id); in ixgbe_check_for_msg()
164 * @hw: pointer to the HW structure
169 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack() argument
171 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_check_for_ack()
177 ret_val = mbx->ops[mbx_id].check_for_ack(hw, mbx_id); in ixgbe_check_for_ack()
184 * @hw: pointer to the HW structure
189 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst() argument
191 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_check_for_rst()
197 ret_val = mbx->ops[mbx_id].check_for_rst(hw, mbx_id); in ixgbe_check_for_rst()
204 * @hw: pointer to the HW structure
209 s32 ixgbe_clear_mbx(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_clear_mbx() argument
211 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_clear_mbx()
217 ret_val = mbx->ops[mbx_id].clear(hw, mbx_id); in ixgbe_clear_mbx()
224 * @hw: pointer to the HW structure
229 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg() argument
231 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_poll_for_msg()
239 while (countdown && mbx->ops[mbx_id].check_for_msg(hw, mbx_id)) { in ixgbe_poll_for_msg()
257 * @hw: pointer to the HW structure
262 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack() argument
264 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_poll_for_ack()
272 while (countdown && mbx->ops[mbx_id].check_for_ack(hw, mbx_id)) { in ixgbe_poll_for_ack()
290 * @hw: pointer to the HW structure
295 static u32 ixgbe_read_mailbox_vf(struct ixgbe_hw *hw) in ixgbe_read_mailbox_vf() argument
297 u32 vf_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX); in ixgbe_read_mailbox_vf()
299 vf_mailbox |= hw->mbx.vf_mailbox; in ixgbe_read_mailbox_vf()
300 hw->mbx.vf_mailbox |= vf_mailbox % IXGBE_VFMAILBOX_R2C_BITS; in ixgbe_read_mailbox_vf()
305 static void ixgbe_clear_msg_vf(struct ixgbe_hw *hw) in ixgbe_clear_msg_vf() argument
307 u32 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_clear_msg_vf()
310 hw->mbx.stats.reqs++; in ixgbe_clear_msg_vf()
311 hw->mbx.vf_mailbox &= ~IXGBE_VFMAILBOX_PFSTS; in ixgbe_clear_msg_vf()
315 static void ixgbe_clear_ack_vf(struct ixgbe_hw *hw) in ixgbe_clear_ack_vf() argument
317 u32 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_clear_ack_vf()
320 hw->mbx.stats.acks++; in ixgbe_clear_ack_vf()
321 hw->mbx.vf_mailbox &= ~IXGBE_VFMAILBOX_PFACK; in ixgbe_clear_ack_vf()
325 static void ixgbe_clear_rst_vf(struct ixgbe_hw *hw) in ixgbe_clear_rst_vf() argument
327 u32 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_clear_rst_vf()
330 hw->mbx.stats.rsts++; in ixgbe_clear_rst_vf()
331 hw->mbx.vf_mailbox &= ~(IXGBE_VFMAILBOX_RSTI | in ixgbe_clear_rst_vf()
338 * @hw: pointer to the HW structure
344 static s32 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbe_check_for_bit_vf() argument
346 u32 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_check_for_bit_vf()
356 * @hw: pointer to the HW structure
361 static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg_vf() argument
366 if (!ixgbe_check_for_bit_vf(hw, IXGBE_VFMAILBOX_PFSTS)) in ixgbe_check_for_msg_vf()
374 * @hw: pointer to the HW structure
379 static s32 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack_vf() argument
384 if (!ixgbe_check_for_bit_vf(hw, IXGBE_VFMAILBOX_PFACK)) { in ixgbe_check_for_ack_vf()
386 ixgbe_clear_ack_vf(hw); in ixgbe_check_for_ack_vf()
395 * @hw: pointer to the HW structure
400 static s32 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst_vf() argument
405 if (!ixgbe_check_for_bit_vf(hw, IXGBE_VFMAILBOX_RSTI | in ixgbe_check_for_rst_vf()
408 ixgbe_clear_rst_vf(hw); in ixgbe_check_for_rst_vf()
417 * @hw: pointer to the HW structure
421 static s32 ixgbe_obtain_mbx_lock_vf(struct ixgbe_hw *hw) in ixgbe_obtain_mbx_lock_vf() argument
423 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_obtain_mbx_lock_vf()
435 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_obtain_mbx_lock_vf()
437 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbe_obtain_mbx_lock_vf()
440 if (ixgbe_read_mailbox_vf(hw) & IXGBE_VFMAILBOX_VFU) { in ixgbe_obtain_mbx_lock_vf()
460 * @hw: pointer to the HW structure
463 static void ixgbe_release_mbx_lock_dummy(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_release_mbx_lock_dummy() argument
465 UNREFERENCED_2PARAMETER(hw, mbx_id); in ixgbe_release_mbx_lock_dummy()
472 * @hw: pointer to the HW structure
475 static void ixgbe_release_mbx_lock_vf(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_release_mbx_lock_vf() argument
484 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_release_mbx_lock_vf()
486 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbe_release_mbx_lock_vf()
491 * @hw: pointer to the HW structure
498 static s32 ixgbe_write_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_mbx_vf_legacy() argument
508 ret_val = ixgbe_obtain_mbx_lock_vf(hw); in ixgbe_write_mbx_vf_legacy()
513 ixgbe_check_for_msg_vf(hw, 0); in ixgbe_write_mbx_vf_legacy()
514 ixgbe_clear_msg_vf(hw); in ixgbe_write_mbx_vf_legacy()
515 ixgbe_check_for_ack_vf(hw, 0); in ixgbe_write_mbx_vf_legacy()
516 ixgbe_clear_ack_vf(hw); in ixgbe_write_mbx_vf_legacy()
520 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_VFMBMEM, i, msg[i]); in ixgbe_write_mbx_vf_legacy()
523 hw->mbx.stats.msgs_tx++; in ixgbe_write_mbx_vf_legacy()
526 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, IXGBE_VFMAILBOX_REQ); in ixgbe_write_mbx_vf_legacy()
533 * @hw: pointer to the HW structure
540 static s32 ixgbe_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_mbx_vf() argument
552 ret_val = ixgbe_obtain_mbx_lock_vf(hw); in ixgbe_write_mbx_vf()
557 ixgbe_clear_msg_vf(hw); in ixgbe_write_mbx_vf()
558 ixgbe_clear_ack_vf(hw); in ixgbe_write_mbx_vf()
562 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_VFMBMEM, i, msg[i]); in ixgbe_write_mbx_vf()
565 hw->mbx.stats.msgs_tx++; in ixgbe_write_mbx_vf()
568 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_write_mbx_vf()
570 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbe_write_mbx_vf()
573 ixgbe_poll_for_ack(hw, mbx_id); in ixgbe_write_mbx_vf()
576 hw->mbx.ops[mbx_id].release(hw, mbx_id); in ixgbe_write_mbx_vf()
583 * @hw: pointer to the HW structure
590 static s32 ixgbe_read_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_mbx_vf_legacy() argument
600 ret_val = ixgbe_obtain_mbx_lock_vf(hw); in ixgbe_read_mbx_vf_legacy()
606 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_VFMBMEM, i); in ixgbe_read_mbx_vf_legacy()
609 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, IXGBE_VFMAILBOX_ACK); in ixgbe_read_mbx_vf_legacy()
612 hw->mbx.stats.msgs_rx++; in ixgbe_read_mbx_vf_legacy()
619 * @hw: pointer to the HW structure
626 static s32 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_mbx_vf() argument
637 ret_val = ixgbe_check_for_msg_vf(hw, 0); in ixgbe_read_mbx_vf()
641 ixgbe_clear_msg_vf(hw); in ixgbe_read_mbx_vf()
645 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_VFMBMEM, i); in ixgbe_read_mbx_vf()
648 vf_mailbox = ixgbe_read_mailbox_vf(hw); in ixgbe_read_mbx_vf()
650 IXGBE_WRITE_REG(hw, IXGBE_VFMAILBOX, vf_mailbox); in ixgbe_read_mbx_vf()
653 hw->mbx.stats.msgs_rx++; in ixgbe_read_mbx_vf()
660 * @hw: pointer to the HW structure
662 * Initializes single set the hw->mbx struct to correct values for vf mailbox
665 void ixgbe_init_mbx_params_vf(struct ixgbe_hw *hw) in ixgbe_init_mbx_params_vf() argument
667 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_init_mbx_params_vf()
692 * @hw: pointer to the HW structure
694 * Initializes the hw->mbx struct to correct values for vf mailbox
696 void ixgbe_upgrade_mbx_params_vf(struct ixgbe_hw *hw) in ixgbe_upgrade_mbx_params_vf() argument
698 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_upgrade_mbx_params_vf()
721 static void ixgbe_clear_msg_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_clear_msg_pf() argument
727 pfmbicr = IXGBE_READ_REG(hw, IXGBE_PFMBICR(index)); in ixgbe_clear_msg_pf()
730 hw->mbx.stats.reqs++; in ixgbe_clear_msg_pf()
732 IXGBE_WRITE_REG(hw, IXGBE_PFMBICR(index), in ixgbe_clear_msg_pf()
736 static void ixgbe_clear_ack_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_clear_ack_pf() argument
742 pfmbicr = IXGBE_READ_REG(hw, IXGBE_PFMBICR(index)); in ixgbe_clear_ack_pf()
745 hw->mbx.stats.acks++; in ixgbe_clear_ack_pf()
747 IXGBE_WRITE_REG(hw, IXGBE_PFMBICR(index), in ixgbe_clear_ack_pf()
751 static s32 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) in ixgbe_check_for_bit_pf() argument
753 u32 pfmbicr = IXGBE_READ_REG(hw, IXGBE_PFMBICR(index)); in ixgbe_check_for_bit_pf()
764 * @hw: pointer to the HW structure
769 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_check_for_msg_pf() argument
776 if (!ixgbe_check_for_bit_pf(hw, IXGBE_PFMBICR_VFREQ_VF1 << vf_shift, in ixgbe_check_for_msg_pf()
785 * @hw: pointer to the HW structure
790 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_check_for_ack_pf() argument
798 if (!ixgbe_check_for_bit_pf(hw, IXGBE_PFMBICR_VFACK_VF1 << vf_shift, in ixgbe_check_for_ack_pf()
802 ixgbe_clear_ack_pf(hw, vf_id); in ixgbe_check_for_ack_pf()
810 * @hw: pointer to the HW structure
815 static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_check_for_rst_pf() argument
824 switch (hw->mac.type) { in ixgbe_check_for_rst_pf()
826 vflre = IXGBE_READ_REG(hw, IXGBE_PFVFLRE(index)); in ixgbe_check_for_rst_pf()
832 vflre = IXGBE_READ_REG(hw, IXGBE_PFVFLREC(index)); in ixgbe_check_for_rst_pf()
840 IXGBE_WRITE_REG(hw, IXGBE_PFVFLREC(index), (1 << vf_shift)); in ixgbe_check_for_rst_pf()
841 hw->mbx.stats.rsts++; in ixgbe_check_for_rst_pf()
849 * @hw: pointer to the HW structure
854 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_obtain_mbx_lock_pf() argument
856 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_obtain_mbx_lock_pf()
868 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_obtain_mbx_lock_pf()
870 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_obtain_mbx_lock_pf()
873 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_obtain_mbx_lock_pf()
894 * @hw: pointer to the HW structure
897 static void ixgbe_release_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_release_mbx_lock_pf() argument
904 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_release_mbx_lock_pf()
906 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_release_mbx_lock_pf()
911 * @hw: pointer to the HW structure
918 static s32 ixgbe_write_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_mbx_pf_legacy() argument
927 ret_val = ixgbe_obtain_mbx_lock_pf(hw, vf_id); in ixgbe_write_mbx_pf_legacy()
932 ixgbe_check_for_msg_pf(hw, vf_id); in ixgbe_write_mbx_pf_legacy()
933 ixgbe_clear_msg_pf(hw, vf_id); in ixgbe_write_mbx_pf_legacy()
934 ixgbe_check_for_ack_pf(hw, vf_id); in ixgbe_write_mbx_pf_legacy()
935 ixgbe_clear_ack_pf(hw, vf_id); in ixgbe_write_mbx_pf_legacy()
939 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_PFMBMEM(vf_id), i, msg[i]); in ixgbe_write_mbx_pf_legacy()
942 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), IXGBE_PFMAILBOX_STS); in ixgbe_write_mbx_pf_legacy()
945 hw->mbx.stats.msgs_tx++; in ixgbe_write_mbx_pf_legacy()
952 * @hw: pointer to the HW structure
959 static s32 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_mbx_pf() argument
969 ret_val = ixgbe_obtain_mbx_lock_pf(hw, vf_id); in ixgbe_write_mbx_pf()
974 ixgbe_clear_msg_pf(hw, vf_id); in ixgbe_write_mbx_pf()
975 ixgbe_clear_ack_pf(hw, vf_id); in ixgbe_write_mbx_pf()
979 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_PFMBMEM(vf_id), i, msg[i]); in ixgbe_write_mbx_pf()
982 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_write_mbx_pf()
984 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_write_mbx_pf()
987 ixgbe_poll_for_ack(hw, vf_id); in ixgbe_write_mbx_pf()
990 hw->mbx.stats.msgs_tx++; in ixgbe_write_mbx_pf()
993 hw->mbx.ops[vf_id].release(hw, vf_id); in ixgbe_write_mbx_pf()
1001 * @hw: pointer to the HW structure
1010 static s32 ixgbe_read_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_mbx_pf_legacy() argument
1019 ret_val = ixgbe_obtain_mbx_lock_pf(hw, vf_id); in ixgbe_read_mbx_pf_legacy()
1025 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_PFMBMEM(vf_id), i); in ixgbe_read_mbx_pf_legacy()
1028 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), IXGBE_PFMAILBOX_ACK); in ixgbe_read_mbx_pf_legacy()
1031 hw->mbx.stats.msgs_rx++; in ixgbe_read_mbx_pf_legacy()
1038 * @hw: pointer to the HW structure
1047 static s32 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_mbx_pf() argument
1057 ret_val = ixgbe_check_for_msg_pf(hw, vf_id); in ixgbe_read_mbx_pf()
1061 ixgbe_clear_msg_pf(hw, vf_id); in ixgbe_read_mbx_pf()
1065 msg[i] = IXGBE_READ_REG_ARRAY(hw, IXGBE_PFMBMEM(vf_id), i); in ixgbe_read_mbx_pf()
1068 pf_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_id)); in ixgbe_read_mbx_pf()
1070 IXGBE_WRITE_REG(hw, IXGBE_PFMAILBOX(vf_id), pf_mailbox); in ixgbe_read_mbx_pf()
1073 hw->mbx.stats.msgs_rx++; in ixgbe_read_mbx_pf()
1080 * @hw: pointer to the HW structure
1085 static s32 ixgbe_clear_mbx_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_clear_mbx_pf() argument
1087 u16 mbx_size = hw->mbx.size; in ixgbe_clear_mbx_pf()
1094 IXGBE_WRITE_REG_ARRAY(hw, IXGBE_PFMBMEM(vf_id), i, 0x0); in ixgbe_clear_mbx_pf()
1101 * @hw: pointer to the HW structure
1104 * Initializes single set of the hw->mbx struct to correct values for pf mailbox
1107 void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_init_mbx_params_pf_id() argument
1109 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_init_mbx_params_pf_id()
1122 * @hw: pointer to the HW structure
1124 * Initializes all sets of the hw->mbx struct to correct values for pf
1128 void ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) in ixgbe_init_mbx_params_pf() argument
1131 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_init_mbx_params_pf()
1134 if (hw->mac.type != ixgbe_mac_82599EB && in ixgbe_init_mbx_params_pf()
1135 hw->mac.type != ixgbe_mac_X550 && in ixgbe_init_mbx_params_pf()
1136 hw->mac.type != ixgbe_mac_X550EM_x && in ixgbe_init_mbx_params_pf()
1137 hw->mac.type != ixgbe_mac_X550EM_a && in ixgbe_init_mbx_params_pf()
1138 hw->mac.type != ixgbe_mac_X540) in ixgbe_init_mbx_params_pf()
1160 ixgbe_init_mbx_params_pf_id(hw, i); in ixgbe_init_mbx_params_pf()
1165 * @hw: pointer to the HW structure
1168 * Initializes the hw->mbx struct to new function set for improved
1171 void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id) in ixgbe_upgrade_mbx_params_pf() argument
1173 struct ixgbe_mbx_info *mbx = &hw->mbx; in ixgbe_upgrade_mbx_params_pf()
1176 if (hw->mac.type != ixgbe_mac_82599EB && in ixgbe_upgrade_mbx_params_pf()
1177 hw->mac.type != ixgbe_mac_X550 && in ixgbe_upgrade_mbx_params_pf()
1178 hw->mac.type != ixgbe_mac_X550EM_x && in ixgbe_upgrade_mbx_params_pf()
1179 hw->mac.type != ixgbe_mac_X550EM_a && in ixgbe_upgrade_mbx_params_pf()
1180 hw->mac.type != ixgbe_mac_X540) in ixgbe_upgrade_mbx_params_pf()