net: dsa: forward hardware timestamping ioctls to switch driver
authorBrandon Streiff <brandon.streiff@ni.com>
Wed, 14 Feb 2018 00:07:48 +0000 (01:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2018 19:33:37 +0000 (14:33 -0500)
commit0336369d3a4d65c9332476b618ff3bb9b41045e1
treeeae9faa3c3a54f4c24205f0891c62eb282426dd2
parent4eb3be2937670aecf8bbd52a95b6e9238a9bd7aa
net: dsa: forward hardware timestamping ioctls to switch driver

This patch adds support to the dsa slave network device so that
switch drivers can implement the SIOC[GS]HWTSTAMP ioctls and the
ethtool timestamp-info interface.

Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/slave.c