OSDN Git Service

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)
commit08437c572c0873a696ceae92aff29f0ae334aeab
tree745d9aaae825786f21079786093041c18d794e51
parent36e564b76f1862914ad32c35bab433e07da2ebf8
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