WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Xen () ethernet padding

To: "Marcelo Messa" <mrmessa@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen () ethernet padding
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2008 17:29:47 +1100
Delivery-date: Fri, 11 Jan 2008 22:30:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <292D3ACD-724E-4530-82FB-0CB3BB94282E@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <292D3ACD-724E-4530-82FB-0CB3BB94282E@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchUmaZCfeZeR2KLQom75bAP+dG0GAASgAKA
Thread-topic: [Xen-users] Xen () ethernet padding
> 
>         I made some tests about ethernet padding ( in my dummy works:
> an expected behavior from ethernet 10/100 on-wire, that needs at
> least 60 bytes of data to be able to CRC and the NIC chipset has the
> job of fullfill the packet if it is smaller than this- padding ) and
> I notice a behavior that is not expected (at least for me).
> 

Maybe not relevant to you problem, but I have a router which uses the
'via_rhine' linux Ethernet driver, and it simply doesn't bother padding
packets when sending them out on the wire. The Cisco switch that it is
connected to reflects those packets in the 'runt frames' counter, but
otherwise isn't bothered. Nothing else on the network appears to be
bothered either.

I've raised the problem with the author of the driver, the linux kernel
mailing list, and even submitted a patch, but nobody seems to care.
(it may actually be fixed by now, I haven't checked as the only problem
it appears to cause is the counter incrementing on the cisco router)

I think that the minimum frame size was only really imported on single
duplex unswitched networks (eg a 'hub' or 10base[25]), where you had to
be absolutely sure that if you were up one end of the wire, you'd be
able to sense a device transmitting from the other end of the wire
whilst you were still transmitting your packet, so that you could detect
the collision. If you had finished your packet (because it was too
short), then you'd not see the packet from the other end of the wire
until you were idle again, and the packet would be lost.

James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>