net: dsa: mv88e6xxx: Abstract supported PTP filters
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:24 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commit48cb5e03d58b7179dd8e71c1e8e068630b440b1c
treeb80598d9bbb17ae9c441c1a596139777de650a44
parentffc705de86e28e7a6e6f8d2e0be73c4181b37b4b
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>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/hwtstamp.c
drivers/net/dsa/mv88e6xxx/ptp.c