[eepro100] How to make eepro100 to receive pkt > 1514 ?

Mroczek, Joseph T joseph.t.mroczek@intel.com
Mon Mar 18 14:29:01 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C1CE70.0BB0F510
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

A word of warning. This will fail if you are using an i82557 controller.
i82557 does not support the larger 1522 MTU. It will only work on
82558/559/550 and possibly 562/563 controllers.

~joe

-----Original Message-----
From: Bartlomiej Zarzecki [mailto:bz@riz.pl]
Sent: Monday, March 18, 2002 2:04 AM
To: wyb
Cc: eepro100@scyld.com
Subject: Re: [eepro100] How to make eepro100 to receive pkt > 1514 ?


On Mon, 18 Mar 2002, wyb wrote:

> I'm working on a firewall project, this firewall is designed to
support switch trunk,
> such as 802.1q or CISCO isl. So it must be able to receive packet size
> 1514.
> I changed PKT_BUF_SZ from 1536 to 1572, but it didn't work. Can any
give suggesstion ?
> Mail answer to me for I dit not subscribe to this list.

You have to do this:

go to eepro100.c

find :

const char i82557_config_cmd[22] = 

change:
0xf2, 0x48,   0, 0x40, 0xf2, 0x80,              
to:
0xf2, 0x48,   0, 0x40, 0xfa, 0x80,     


find:
const char i82558_config_cmd[22] = {

change
0x68, 0, 0x40, 0xf2, 0xBD,              
to
0x68, 0, 0x40, 0xfa, 0xBD, 


generally if I am right this is the "init" of the card. changing 0xf2 to
0xfa enables receiving long frames.


-- 
 Pozdrawiam,
 Bartlomiej Zarzecki				bz@riz.pl
 Public PGP Key http://bz.riz.pl/bz.asc



_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100

------=_NextPart_000_0000_01C1CE70.0BB0F510
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFvzCCAo4w
ggH3oAMCAQICA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