def METHOD_NAME(vm_session, vm_iface):
    """
    Check rx and tx package
    :param vm_session: An session to VM
    :param vm_iface: VM's interface
    """
    cmd = "ip -s -json link show %s" % vm_iface
    status, stdout = vm_session.cmd_status_output(cmd)
    if status or not stdout:
        raise exceptions.TestFail("Failed to run cmd - {}, status - {}, "
                                  "output - {}.".format(cmd, status, stdout))
    ip_info = eval(stdout.strip())
    LOG.debug("VM iface's info: %s.", ip_info)
    tx_info = ip_info[0]['stats64']['tx']['packets']
    rx_info = ip_info[0]['stats64']['rx']['packets']
    if rx_info != tx_info:
        raise exceptions.TestFail("The value of rx and tx should be same.")