1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2015-2020
5 #include "txgbe_type.h"
10 * txgbe_init_mbx_params_pf - set initial values for pf mailbox
11 * @hw: pointer to the HW structure
13 * Initializes the hw->mbx struct to correct values for pf mailbox
15 void txgbe_init_mbx_params_pf(struct txgbe_hw *hw)
17 struct txgbe_mbx_info *mbx = &hw->mbx;
22 mbx->size = TXGBE_P2VMBX_SIZE;
24 mbx->stats.msgs_tx = 0;
25 mbx->stats.msgs_rx = 0;