src/dpdk/drivers/net/txgbe/base/txgbe_mbx.c
void txgbe_init_mbx_params_pf(struct txgbe_hw *hw)
{
	struct txgbe_mbx_info *mbx = &hw->mbx;

	mbx->timeout = 0;
	mbx->usec_delay = 0;

	mbx->size = TXGBE_P2VMBX_SIZE;

	mbx->stats.msgs_tx = 0;
	mbx->stats.msgs_rx = 0;
	mbx->stats.reqs = 0;
	mbx->stats.acks = 0;
	mbx->stats.rsts = 0;
}
/**
 *  txgbe_init_mbx_params_pf - set initial values for pf mailbox
 *  @hw: pointer to the HW structure
 *
 *  Initializes the hw->mbx struct to correct values for pf mailbox
 */
set initial values for pf mailbox
@hw: pointer to the HW structure

Initializes the hw->mbx struct to correct values for pf mailbox
set initial values for pf mailbox @hw : pointer to the HW structure Initializes the hw - > mbx struct to correct values for pf mailbox
void txgbe_init_mbx_params_pf(struct txgbe_hw *hw)
{
	struct txgbe_mbx_info *mbx = &hw->mbx;
	mbx->timeout = 0;
	mbx->usec_delay = 0;
	mbx->size = TXGBE_P2VMBX_SIZE;
	mbx->stats.msgs_tx = 0;
	mbx->stats.msgs_rx = 0;
	mbx->stats.reqs = 0;
	mbx->stats.acks = 0;
	mbx->stats.rsts = 0;
}
void txgbe_init_mbx_params_pf ( struct txgbe_hw * hw ) { struct txgbe_mbx_info * mbx = & hw -> mbx ; mbx -> timeout = 0 ; mbx -> usec_delay = 0 ; mbx -> size = TXGBE_P2VMBX_SIZE ; mbx -> stats . msgs_tx = 0 ; mbx -> stats . msgs_rx = 0 ; mbx -> stats . reqs = 0 ; mbx -> stats . acks = 0 ; mbx -> stats . rsts = 0 ; }
txgbe_init_mbx_params_pf - set initial values for pf mailbox
  @hw: pointer to the HW structure
txgbe_init_mbx_params_pf - set initial values for pf mailbox @hw : pointer to the HW structure