Andy Fleming | 7f7f531 | 2005-11-11 12:38:59 -0600 | [diff] [blame] | 1 | The Gianfar Ethernet Driver |
Andy Fleming | 7f7f531 | 2005-11-11 12:38:59 -0600 | [diff] [blame] | 2 | |
| 3 | Author: Andy Fleming <afleming@freescale.com> |
| 4 | Updated: 2005-07-28 |
| 5 | |
Andy Fleming | 7f7f531 | 2005-11-11 12:38:59 -0600 | [diff] [blame] | 6 | |
| 7 | CHECKSUM OFFLOADING |
| 8 | |
| 9 | The eTSEC controller (first included in parts from late 2005 like |
| 10 | the 8548) has the ability to perform TCP, UDP, and IP checksums |
| 11 | in hardware. The Linux kernel only offloads the TCP and UDP |
| 12 | checksums (and always performs the pseudo header checksums), so |
| 13 | the driver only supports checksumming for TCP/IP and UDP/IP |
| 14 | packets. Use ethtool to enable or disable this feature for RX |
| 15 | and TX. |
| 16 | |
| 17 | VLAN |
| 18 | |
| 19 | In order to use VLAN, please consult Linux documentation on |
| 20 | configuring VLANs. The gianfar driver supports hardware insertion and |
| 21 | extraction of VLAN headers, but not filtering. Filtering will be |
| 22 | done by the kernel. |
| 23 | |
| 24 | MULTICASTING |
| 25 | |
| 26 | The gianfar driver supports using the group hash table on the |
| 27 | TSEC (and the extended hash table on the eTSEC) for multicast |
| 28 | filtering. On the eTSEC, the exact-match MAC registers are used |
| 29 | before the hash tables. See Linux documentation on how to join |
| 30 | multicast groups. |
| 31 | |
| 32 | PADDING |
| 33 | |
| 34 | The gianfar driver supports padding received frames with 2 bytes |
| 35 | to align the IP header to a 16-byte boundary, when supported by |
| 36 | hardware. |
| 37 | |
| 38 | ETHTOOL |
| 39 | |
| 40 | The gianfar driver supports the use of ethtool for many |
| 41 | configuration options. You must run ethtool only on currently |
| 42 | open interfaces. See ethtool documentation for details. |