1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3 * Copyright(c) 2010-2017 Intel Corporation
11 * ngbe_init_mbx_params_pf - set initial values for pf mailbox
12 * @hw: pointer to the HW structure
14 * Initializes the hw->mbx struct to correct values for pf mailbox
16 void ngbe_init_mbx_params_pf(struct ngbe_hw *hw)
18 struct ngbe_mbx_info *mbx = &hw->mbx;
23 mbx->size = NGBE_P2VMBX_SIZE;
25 mbx->stats.msgs_tx = 0;
26 mbx->stats.msgs_rx = 0;