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

Michael Rozhavsky mike@nbase.co.il
Mon Mar 18 04:42:01 2002


--AkbCVLjbJ9qUtAXD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Attached patch is for 2.4.9 but should work with later kernels also.

On Mon, Mar 18, 2002 at 02:02:34PM +0800, 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.
> 
> Thanks
> _______________________________________________
> eepro100 mailing list
> eepro100@scyld.com
> http://www.scyld.com/mailman/listinfo/eepro100
--
Best regards.

   Michael Rozhavsky                    Tel:    +972-4-9936248
   mrozhavsky@opticalaccess.com         Fax:    +972-4-9890564
   Optical Access
   Senior Software Engineer             www.opticalaccess.com

--AkbCVLjbJ9qUtAXD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="linux-eepro100-big-frames.patch"

--- eepro100.c	Wed Jul  4 16:21:02 2001
+++ eepro100.c.new	Sun Sep  2 16:57:41 2001
@@ -499,12 +499,12 @@
 static const char i82557_config_cmd[CONFIG_DATA_SIZE] = {
 	22, 0x08, 0, 0,  0, 0, 0x32, 0x03,  1, /* 1=Use MII  0=Use AUI */
 	0, 0x2E, 0,  0x60, 0,
-	0xf2, 0x48,   0, 0x40, 0xf2, 0x80, 		/* 0x40=Force full-duplex */
+	0xf2, 0x48,   0, 0x40, 0xfa, 0x80, 		/* 0x40=Force full-duplex */
 	0x3f, 0x05, };
 static const char i82558_config_cmd[CONFIG_DATA_SIZE] = {
 	22, 0x08, 0, 1,  0, 0, 0x22, 0x03,  1, /* 1=Use MII  0=Use AUI */
 	0, 0x2E, 0,  0x60, 0x08, 0x88,
-	0x68, 0, 0x40, 0xf2, 0x84,		/* Disable FC */
+	0x68, 0, 0x40, 0xfa, 0x84,		/* Disable FC */
 	0x31, 0x05, };
 
 /* PHY media interface chips. */

--AkbCVLjbJ9qUtAXD--