mtu 1504 & PKT_BUF_SZ

Bartlomiej Zarzecki <[email protected]>
Newsgroups gmane.linux.drivers.vortex.devel
Organization RiZ Computers
Message-ID <[email protected]>
If I change from default 1500
to:
static const int mtu = 1504;

(to enable vlans to work on my router)

then:

/* Allocation size of Rx buffers with normal sized Ethernet frames.
   Do not change this value without good reason.  The 1536 value is not
   a limit, or directly related to MTU, but rather a way to keep a
   consistent allocation size among drivers.
 */
#define PKT_BUF_SZ              1536

Should I also change PKT_BUF_SZ +4(to 1540) ? Is it a 'good reason' to do it ?

-- 
 Pozdrawiam,
 Bartlomiej Zarzecki                    mailto:[email protected]

_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.