Subject: Re: hme & frame len (fwd)
To: None <tech-net@netbsd.org>
From: Andrei Petrov <and@genesyslab.com>
List: tech-net
Date: 11/16/2000 11:14:07
On Thu, 16 Nov 2000, Manuel Bouyer wrote:

> Hi,
> could someone familiar with the hme driver tell me how to convince it to

A little bit familiar, I looked at different problem but it appeared on
hme driver(sbus-hme btw), I used sun's STP2002QFP doc (available from
www.sun.com) , and that says that maximum frame size is set by 
TX_MAC TxMaxFrameSize register(default 0x5ee = 1518).
I havn't noticed definition for it in hmeregs.h though. Anyway one thing
you should be aware that transmit buffer ring has _HME_BUFSZ which is
1600, I'm not sure you can set it to whatever you want and not break the
driver.

> receive >1500 bytes frames ? This is for 802.1q support. I tried pocking a bit
> around but didn't find anything obvious. The frame is dropped without counters
> being incremented.
> Somethimes I get:
> hme1: status=400<MAXPKTERR>
> this seems related to transmit.
> I tried ignoring MAXPKTERR but this didn't help (after this even ping didn't
> work).
> When a large frame is received it's silently dropped.

There is similar TX_MAC register for that as well. And receive buffer
ring too.

--
	Andrey