]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix timestamping capabilities reporting
authorMaor Dickman <maord@mellanox.com>
Thu, 18 May 2017 12:15:08 +0000 (15:15 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 15 Jun 2017 20:27:46 +0000 (23:27 +0300)
commitf4ae92ce2a99f357c8eb10fbf530e60436d342e9
tree30374b8ecc8e448329f49cf540db13a0f0b8f1a0
parent75108ee269a440f47ba3437d1dd6fd5e2a5f12b5
net/mlx5e: Fix timestamping capabilities reporting

Misuse of (BIT) macro caused to report wrong flags for
"Hardware Transmit Timestamp Modes" and "Hardware Receive
Filter Modes"

Fixes: 5bfaa8246922 ('net/mlx5e: Add HW timestamping (TS) support')
Signed-off-by: Maor Dickman <maord@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c