summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/chip.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-07-18 22:38:24 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-19 00:05:38 +0200
commit48cb5e03d58b7179dd8e71c1e8e068630b440b1c (patch)
treeb80598d9bbb17ae9c441c1a596139777de650a44 /drivers/net/dsa/mv88e6xxx/chip.h
parentnet: dsa: mv88e6xxx: Abstract HW timestamp setup (diff)
downloadlinux-48cb5e03d58b7179dd8e71c1e8e068630b440b1c.tar.xz
linux-48cb5e03d58b7179dd8e71c1e8e068630b440b1c.zip
net: dsa: mv88e6xxx: Abstract supported PTP filters
The 6165 only supports layer L2 PTP, where as the more modern devices also support UDP and UDPv6, i.e. L4. Abstract the supported receive filters. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.h b/drivers/net/dsa/mv88e6xxx/chip.h
index 2cc4deb110d6..432e7e8e6e3d 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.h
+++ b/drivers/net/dsa/mv88e6xxx/chip.h
@@ -503,6 +503,7 @@ struct mv88e6xxx_ptp_ops {
int arr0_sts_reg;
int arr1_sts_reg;
int dep_sts_reg;
+ u32 rx_filters;
};
#define STATS_TYPE_PORT BIT(0)