]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdea9612a8678ea906b767aa8ccd5310ccb76b198
treeeae9faa3c3a54f4c24205f0891c62eb282426dd2
parent07e4cac98f833931e705dd444ddcb1670c4ebb7e
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