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