From nobody Fri Nov 14 13:38:16 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1587683928; cv=none; d=zohomail.com; s=zohoarc; b=V7Dqexbq5ukiq2o1969rU+1G0k3BGhMYk4ZalMfP16nbZmMleOnIj+lfefEpqPcTTTSsJLQ84ekP9QfcTVpH2mj98LrNd3y6DgaLidtRTXbAhwO/Octvxm1kKL6f9XKNffui/7lKDtN3sO/mbIp0V+/beDf7ANorRnCz27L6DVw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587683928; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Zzy57pNEhs2f791KQEcET9NOuU+baFBolmqcxp5hb4k=; b=Ij/6GG4QsPAJxJMmkIx1IJ1PV9ZFZ+v+OpU03TCkc0qwtXUduoLr+EVxdGDh5o8gP42xu7N1ZdHVCg6mF0Xq/rctu5xozHAg+baq9gjJwKpZrFCHNEu8s0P6rUD1N0oevUcuknhiCRV1ynTTAyRHqPopPPvh0OEmWjPfr/bO1Is= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587683928540404.9703398320022; Thu, 23 Apr 2020 16:18:48 -0700 (PDT) Received: from localhost ([::1]:44738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRl7G-0000Hc-Ah for importer@patchew.org; Thu, 23 Apr 2020 19:18:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51406) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRl5V-0007EL-0g for qemu-devel@nongnu.org; Thu, 23 Apr 2020 19:16:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRl5R-0006m9-0n for qemu-devel@nongnu.org; Thu, 23 Apr 2020 19:16:56 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:36570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRl5Q-0006iY-Em for qemu-devel@nongnu.org; Thu, 23 Apr 2020 19:16:52 -0400 Received: by mail-wm1-x342.google.com with SMTP id u127so8649371wmg.1 for ; Thu, 23 Apr 2020 16:16:50 -0700 (PDT) Received: from localhost.localdomain (116.red-83-42-57.dynamicip.rima-tde.net. [83.42.57.116]) by smtp.gmail.com with ESMTPSA id h13sm5498122wrs.22.2020.04.23.16.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 16:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zzy57pNEhs2f791KQEcET9NOuU+baFBolmqcxp5hb4k=; b=KRjyv3Flp2igbZSFmZiPHBeSM9+NjI0IJFxBnHnVhzkhlcqyMYXUiqaAt1GU1Lu8Iv 13wtjVOIqrLxi05OwHTlPXubU2zB1xYRoiH2IXUtIivHXNPAkGi21qasrcbZv4ACS0Ro kEHQu3N/XrhEo+5fmnXrU7VccYECtUsQOLQaoKAlcslrx2R1SWLNaxADR3v+tmUeYVxP 2TuXpCW5ySY84ZDinSsU4D74MM09ZRKwAvm5JQ0hBhz3BFOGBSdo210z2gPI6DKKUcCR +YFXKHS50qM1W79y/zBKjdwSigsTmE8tWonvHXHVc129936Uc9aFtQ+78JeG5I05dfiI 3Lkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Zzy57pNEhs2f791KQEcET9NOuU+baFBolmqcxp5hb4k=; b=Ng2PUFiYsAqxuUeEsExeP4VjMVMOQ9jkCA7la37kOSwGX5e0ovzz8nPA4fuo92sb2b IpG6KnHH7OkugZdHqA2GC6zpP4SoU26M/U7ZTBKq73CYy/8iL216Ta2qm0z6Zzbi46kn 4T4irX6Q2gJgWTqC4BbvwAvWyK1xAUu5Z7ZjbcGS7lh9UCW3+/9kGYNUDOQRgN1054lB obeXZJ3uObcw2XzhTq/lnZw51VTxTLfPXLx8VOZpe/fOKELNhPj0K2/bbNKojdvG90VD dPgxVXZOAvjMfJOi+ZZ4oCFGw01UsbOVLINvVucOq157zn2rtlKFjaqZZVolrvu66NgA 47JQ== X-Gm-Message-State: AGi0Puanqp27oj+NTsecVsk3yr89RSJ+zdd4wzxKYVJaFb8QcVDz167W Bh5okcocDFtANlbY8EZh+CVDC5/L X-Google-Smtp-Source: APiQypKNLaXSB8e5qYj2hk2DCTpxJNPC9nfi+qUSHaCMWnOGZTCnysYwtvi1lEr8G6pI/qGYLAGm8g== X-Received: by 2002:a05:600c:2214:: with SMTP id z20mr7172214wml.189.1587683808667; Thu, 23 Apr 2020 16:16:48 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [RFC PATCH 1/3] hw/net/tulip: Fix 'Descriptor Error' definition Date: Fri, 24 Apr 2020 01:16:42 +0200 Message-Id: <20200423231644.15786-2-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200423231644.15786-1-f4bug@amsat.org> References: <20200423231644.15786-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Helge Deller , Sven Schnelle , Jason Wang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Bit #14 is "DE" for 'Descriptor Error': When set, indicates a frame truncation caused by a frame that does not fit within the current descriptor buffers, and that the 21143 does not own the next descriptor. [Table 4-1. RDES0 Bit Fields Description] Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/net/tulip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/tulip.h b/hw/net/tulip.h index 97521b21db..5271aad8d5 100644 --- a/hw/net/tulip.h +++ b/hw/net/tulip.h @@ -211,7 +211,7 @@ #define RDES0_RF BIT(11) #define RDES0_DT_SHIFT 12 #define RDES0_DT_MASK 3 -#define RDES0_LE BIT(14) +#define RDES0_DE BIT(14) #define RDES0_ES BIT(15) #define RDES0_FL_SHIFT 16 #define RDES0_FL_MASK 0x3fff --=20 2.21.1