summary refs log tree commit diff
path: root/tools/lib
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2023-08-21 10:17:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-30 16:11:03 +0200
commitf94f30e2abfa17f1b8173ce1ed6fdfd0861f3d55 (patch)
tree3ff8762f52d2f7c5ec7007b6ead5e475f0faead7 /tools/lib
parent9b7fd6beec371a9fceb6bca0068272a4a31ba825 (diff)
downloadlinux-f94f30e2abfa17f1b8173ce1ed6fdfd0861f3d55.tar.gz
igc: Fix the typo in the PTM Control macro
[ Upstream commit de43975721b97283d5f17eea4228faddf08f2681 ]

The IGC_PTM_CTRL_SHRT_CYC defines the time between two consecutive PTM
requests. The bit resolution of this field is six bits. That bit five was
missing in the mask. This patch comes to correct the typo in the
IGC_PTM_CTRL_SHRT_CYC macro.

Fixes: a90ec8483732 ("igc: Add support for PTP getcrosststamp()")
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20230821171721.2203572-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions