Message ID | 20171214145255.31545-10-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 35D536019C for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 14 Dec 2017 15:01:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2564229046 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 14 Dec 2017 15:01:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1994F29A0B; Thu, 14 Dec 2017 15:01:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6D34B299BC for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 14 Dec 2017 15:01:03 +0000 (UTC) Received: from localhost ([::1]:41415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1ePV0Q-0007sc-Bk for patchwork-qemu-devel@patchwork.kernel.org; Thu, 14 Dec 2017 10:01:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1ePUtF-0001Wt-Ad for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1ePUtD-0000ds-5d for qemu-devel@nongnu.org; Thu, 14 Dec 2017 09:53:36 -0500 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:39292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1ePUtA-0000Wq-Mi; Thu, 14 Dec 2017 09:53:32 -0500 Received: by mail-pf0-x241.google.com with SMTP id l24so3768018pfj.6; Thu, 14 Dec 2017 06:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ty+c/nHpZuV2ryMR9Vetge+TEO8E4qKSpfUH6xLUNk0=; b=ffewbUoLB9UQfWWwDqrub0YHVMbHDoyBmQfR/nIRu2A05kI9euKnOrDmNYuDo6RMlI Ay+DzUpw+uF3bxnD2+ubC5niX/rwYk7ZyeMUM0XoivsW6o8NieGn+XfvRXQ6JgE1nflj v1ExP2x/5lzLfdwBNh5S5LiUp+Sc/hyviA/F2quLOTDf4CW0EQqoy2fz/Lwqm3m23Owz gWm42CunSEnVMzDv5ejCiaB57ykC3cu0R/ZYczZ+OyZ8zusq71wvkranKeUbhjp954VV DuK0L7229/iYSLPTjbc4/AzyCv3mly0XrrUjnhNGID0uAumJfto28EKqc45D8EwSMedJ 9l5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ty+c/nHpZuV2ryMR9Vetge+TEO8E4qKSpfUH6xLUNk0=; b=RLIlFSvx/p1mQZF35M28e1ywsME95+6DwA3M2JzjmlP1DbKQOcyoMHkmfSjGSCdp1V LlHeuRz3Gmi6kYhugYFK2rPOiAeBeIfDhkrq3c8fq6IbFvqDxng83dCWvSFqFT/jsjOY XdRqbYcVRsW15APEl2G1jyr963MyuuhVgc6UaN64o/JT6MH+/uLsHFjo2EIVNF1hPK17 ohwkALRqcYVpMjBKRuqQ0QjzlPWtZXG4FZkQr5xmcfyF3NWM24/AiA2I4OMKMOlycKL7 g3ZTK+iHGCUeRSrR9Lh9/UoPsSynQuWVuYcyLisOQh2fTwvJFVK+SMPBm40dhT5r1Dn7 LkfA== X-Gm-Message-State: AKGB3mJugq4RGMuQan3NHVOkaCxmxWFnjEt/JGqy0JwT0oenqwvQ1dun e6nDJ5FDHMufJ+lTUMAsqgc58JoC X-Google-Smtp-Source: ACJfBotBuRDwTs0nA4LK4X5GXspUJDYDOn/nR9zE4dHKRpkpJzRATea3py81J49Gc1iizJ84hmkwJg== X-Received: by 10.84.151.70 with SMTP id i64mr5697496pli.330.1513263211424; Thu, 14 Dec 2017 06:53:31 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id e7sm8757439pfj.44.2017.12.14.06.53.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 06:53:30 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: qemu-arm@nongnu.org Date: Thu, 14 Dec 2017 06:52:49 -0800 Message-Id: <20171214145255.31545-10-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171214145255.31545-1-andrew.smirnov@gmail.com> References: <20171214145255.31545-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 Subject: [Qemu-devel] [PATCH v2 09/15] imx_fec: Use correct length for packet size X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Andrey Smirnov <andrew.smirnov@gmail.com>, Jason Wang <jasowang@redhat.com>, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, qemu-devel@nongnu.org, yurovsky@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index 77d27f763e..6cb9e2e20e 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -556,7 +556,7 @@ static void imx_enet_do_tx(IMXFECState *s, uint32_t index) } /* Last buffer in frame. */ - qemu_send_packet(qemu_get_queue(s->nic), s->frame, len); + qemu_send_packet(qemu_get_queue(s->nic), s->frame, frame_size); ptr = s->frame; frame_size = 0;