net/mlx5: Add ifc bits to support optional counters
authorAharon Landau <aharonl@nvidia.com>
Fri, 8 Oct 2021 12:24:27 +0000 (15:24 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Sat, 9 Oct 2021 09:03:37 +0000 (12:03 +0300)
commit8208461d3912e3e97e31bcbd4ce716e4a251a5dd
treeef3132415f99c378da2dcd37be8ac0a985656f22
parentd2c8a1554c10d5e0443b1f97f480d7dacd55cf55
net/mlx5: Add ifc bits to support optional counters

Adding bth_opcode field and the relevant bits. This field will be used
to capture and count congestion notification packets (CNP).

Adding source_vhca_port support bit.
This field will be used to check the capability to use the
source_vhca_port as a match criteria in cases of dual port.

Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
include/linux/mlx5/mlx5_ifc.h