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