From owner-freebsd-net@FreeBSD.ORG Wed Apr 29 16:04:28 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B04011065672 for ; Wed, 29 Apr 2009 16:04:28 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 399B38FC16 for ; Wed, 29 Apr 2009 16:04:27 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by bwz9 with SMTP id 9so1250873bwz.43 for ; Wed, 29 Apr 2009 09:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3f8L6XAekd8ZMGv/75zDXGuhKAXk+UKt/Hi9Ud/yxjw=; b=pC6s/py3+89IVtNxzcZhH2KWu4wxknqSiSZy5BegiObtZCxP1MpJ3gpO1/KNwjl4m4 cZ4FUpohwkQDYHYZGH48DDeZepxpFaOiQM5539iFTvVoql6/W8oFj29bC+4FGpVZJ6GT lBnKDSQl5e8L7tZyP8SlNAGTFb7xy5AspUKZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jY9SSS270rl7QHUvxqABOYDwGZLOTAMjCwE9QvC09da+B0Lp5xm2KodIHAbeE0ntIm LgRgMHPhvTyarV+w+fspKgcXgf+3DbUQ+wzj8pp0kfF+UmWRatiI9KdronRexxWLkSuc Kr3qHCINPQzorlUD0UIeGUOrUIF8thZo+3mtU= MIME-Version: 1.0 Received: by 10.103.117.9 with SMTP id u9mr328229mum.55.1241021067053; Wed, 29 Apr 2009 09:04:27 -0700 (PDT) In-Reply-To: <2e77fc10904290733m4858172ayd96654f3a9a3a8a@mail.gmail.com> References: <5E915E92-2B82-4331-9493-739568CC6E8C@gmail.com> <2e77fc10904290733m4858172ayd96654f3a9a3a8a@mail.gmail.com> Date: Wed, 29 Apr 2009 20:04:26 +0400 Message-ID: From: pluknet To: Niki Denev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: bce(4) sees all incoming frames as 2026 bytes in length X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 16:04:29 -0000 2009/4/29 Niki Denev : > bce1: mem > 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci3 > bce1: Ethernet address: 00:22:19:xx:xx:xx > bce1: [ITHREAD] > bce1: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); B/C > (0x04040105); Flags( MFW MSI ) > > bce1: flags=8843 metric 0 mtu 1500 > options=1bb > ether 00:22:19:xx:xx:xx > inet 10.18.2.1 netmask 0xffffff00 broadcast 10.18.2.255 > media: Ethernet autoselect (1000baseTX ) > status: active > > And here is a tcpdump that shows the problem : > > 16:27:32.593808 00:22:19:yy:yy:yy > 00:22:19:xx:xx:xx, ethertype IPv4 > (0x0800), length 2026: (tos 0x0, ttl 64, id 45347, offset 0, flags > [none], proto ICMP (1), length 84) 10.18.2.2 > 10.18.2.1: ICMP echo > request, id 13578, seq 36, length 64 > 16:27:32.593817 00:22:19:xx:xx:xx > 00:22:19:yy:yy:yy, ethertype IPv4 > (0x0800), length 98: (tos 0x0, ttl 64, id 18415, offset 0, flags > [none], proto ICMP (1), length 84) 10.18.2.1 > 10.18.2.2: ICMP echo > reply, id 13578, seq 36, length 64 Ok, now I see. A link level length is 2026 for me too for some sort of packets (in opposite to proto's len where all is ok). Mine nic is (same as yours). Looks like a regression. I just also tested 7.1-R and it shows expected LL-length. -- wbr, pluknet