diff options
author | Jim Baxter <jim_baxter@mentor.com> | 2013-07-03 01:52:56 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-04 03:45:34 +0400 |
commit | cdffcf1bc721032d261a7a9da353b41f0d830410 (patch) | |
tree | 4746033333eae7eb588f2eca7eb7770eb38f563f /drivers/net/ethernet/freescale/fec.h | |
parent | bc2bebe8de8ed4ba6482c9cc370b0dd72ffe8cd2 (diff) | |
download | linux-cdffcf1bc721032d261a7a9da353b41f0d830410.tar.xz |
net: fec: Add VLAN receive HW support.
This enables the driver to take advantage of the FEC VLAN
indicator to improve performance.
Signed-off-by: Jim Baxter <jim_baxter@mentor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 8362a0399afb..2b0a0ea4f8e7 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -203,6 +203,9 @@ struct bufdesc_ex { #define BD_ENET_RX_CL ((ushort)0x0001) #define BD_ENET_RX_STATS ((ushort)0x013f) /* All status bits */ +/* Enhanced buffer descriptor control/status used by Ethernet receive */ +#define BD_ENET_RX_VLAN 0x00000004 + /* Buffer descriptor control/status used by Ethernet transmit. */ #define BD_ENET_TX_READY ((ushort)0x8000) |