]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1da2dee0d37e5e12dc49d1972c2ba62843ff1ab8
tree4c39db379ddf52850173a27b9cd0c5c3f93fde50
parentea43b9c4902b0540ccb889032bdcf346b5866bac
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: 5bfaa8246922 ("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