net/mlx5e: Remove timestamp set from netdevice open flow
authorFeras Daoud <ferasda@mellanox.com>
Mon, 8 Jan 2018 08:01:04 +0000 (10:01 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 12 Jan 2018 00:01:50 +0000 (02:01 +0200)
commit237f258c42c905f71c694670fe4d9773d85c36ed
tree4c39db379ddf52850173a27b9cd0c5c3f93fde50
parentafc98a0b46d8576a55f18092400cc518d03a79a1
net/mlx5e: Remove timestamp set from netdevice open flow

To avoid configuration override, timestamp set call will
be moved from the netdevice open flow to the init flow.
By this, a close-open procedure will not override the timestamp
configuration.
In addition, the change will rename mlx5e_timestamp_set function
to be mlx5e_timestamp_init.

Fixes: ef9814deafd0 ("net/mlx5e: Add HW timestamping (TS) support")
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c