net/mlx5: Introduce other vport query for Q-counters
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 23 Mar 2023 10:13:51 +0000 (12:13 +0200)
committerLeon Romanovsky <leon@kernel.org>
Wed, 29 Mar 2023 07:08:40 +0000 (10:08 +0300)
commit77f7eb9f3416aace703971156133926e44e2195b
treecb9f9570a5de753b0be1ab62b612a1b7d6178f29
parentf4244e55e4c3a14374ea319b680f33d97cf6ba7e
net/mlx5: Introduce other vport query for Q-counters

These new fields in QUERY_Q_COUNTER command allow us to access
another vport counters during the query command, which is specially
useful to query representor vports.

In addition also add the required caps to check if this capability
is actually supported.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://lore.kernel.org/r/75c73a4a0e60f18c37b35a4a11ca2e2415e4a6f3.1679566038.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/mlx5_ifc.h