]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Add PTP ioctl support for child interface
authorFeras Daoud <ferasda@mellanox.com>
Tue, 31 Oct 2017 12:24:19 +0000 (14:24 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 Jan 2018 05:40:48 +0000 (07:40 +0200)
commitf56839a2701f0ba51cff8722e2841d2345881bba
tree745d9aaae825786f21079786093041c18d794e51
parent4a37d9c72b99010a8970e807306785e7e3891d06
net/mlx5e: IPoIB, Add PTP ioctl support for child interface

Add support to control precision time protocol on child interfaces
using ioctl.

This commit changes the following:
- Change parent ioctl function to be non static
- Reuse the parent ioctl function in child devices

Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c