net/mlx5e: Rename misleading skb_pc/cc references in ptp code
authorGal Pressman <gal@nvidia.com>
Mon, 30 Jan 2023 13:52:08 +0000 (15:52 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 6 Apr 2023 01:57:34 +0000 (18:57 -0700)
commitcf1cccae79836aceaecc1d6a2d1c955d1e2e8b0c
tree41274d7486209da0b56e7f2d1c39a2568a884582
parent6a40109275626267ebf413ceda81c64719b5c431
net/mlx5e: Rename misleading skb_pc/cc references in ptp code

The 'skb_pc/cc' naming is misleading as the values hold the
producer/consumer indices (masked values), not the counters. Rename to
'skb_pi/ci'.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Adham Faris <afaris@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c