src/dpdk/drivers/net/txgbe/base/txgbe_mbx.c
s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id)
{
	struct txgbe_mbx_info *mbx = &hw->mbx;
	s32 ret_val = TXGBE_ERR_MBX;

	DEBUGFUNC("txgbe_check_for_msg");

	if (mbx->check_for_msg)
		ret_val = mbx->check_for_msg(hw, mbx_id);

	return ret_val;
}
/**
 *  txgbe_check_for_msg - checks to see if someone sent us mail
 *  @hw: pointer to the HW structure
 *  @mbx_id: id of mailbox to check
 *
 *  returns 0 if the Status bit was found or else ERR_MBX
 **/
checks to see if someone sent us mail
@hw: pointer to the HW structure
@mbx_id: id of mailbox to check

returns 0 if the Status bit was found or else ERR_MBX
checks to see if someone sent us mail @hw : pointer to the HW structure @mbx_id : id of mailbox to check returns 0 if the Status bit was found or else ERR_MBX
s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id)
{
	struct txgbe_mbx_info *mbx = &hw->mbx;
	s32 ret_val = TXGBE_ERR_MBX;
	DEBUGFUNC("txgbe_check_for_msg");
	if (mbx->check_for_msg)
		ret_val = mbx->check_for_msg(hw, mbx_id);
	return ret_val;
}
s32 txgbe_check_for_msg ( struct txgbe_hw * hw , u16 mbx_id ) { struct txgbe_mbx_info * mbx = & hw -> mbx ; s32 ret_val = TXGBE_ERR_MBX ; DEBUGFUNC ( " " ) ; if ( mbx -> check_for_msg ) ret_val = mbx -> check_for_msg ( hw , mbx_id ) ; return ret_val ; }
txgbe_check_for_msg - checks to see if someone sent us mail
  @hw: pointer to the HW structure
  @mbx_id: id of mailbox to check
txgbe_check_for_msg - checks to see if someone sent us mail @hw : pointer to the HW structure @mbx_id : id of mailbox to check