linux-xiaomi-chiron/include/linux/mlx5
Eli Cohen 2a4826fe74 net/mlx5_core: Add VF param when querying vport counter
Add a vf parameter to mlx5_core_query_vport_counter so we can call it to
query counters of virtual functions. Also update current users of the
API.

PFs may call mlx5_core_query_vport_counter with other_vport set to
indicate that they are querying a virtual function. The virtual
function to be queried is given by the vf parameter. Virtual function
numbering is zero based so the first VF is 0 and so on. When a PF
queries its own function, the other_vport parameter is cleared.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-21 17:13:14 -04:00
..
cmd.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.h net/mlx5_core: Fix trimming down IRQ number 2016-01-17 12:08:04 -05:00
device.h net/mlx5_core: Introduce offload arithmetic hardware capabilities 2016-03-21 16:32:35 -04:00
doorbell.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
driver.h net/mlx5_core: Refactor device capability function 2016-03-21 16:29:07 -04:00
fs.h net/mlx5_core: Introduce forward to next priority action 2016-03-10 09:22:06 -05:00
mlx5_ifc.h net/mlx5_core: Introduce offload arithmetic hardware capabilities 2016-03-21 16:32:35 -04:00
qp.h net/mlx5: Refactor mlx5_core_mr to mkey 2016-03-01 11:18:37 -05:00
srq.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
transobj.h IB/mlx5: Support setting Ethernet priority for Raw Packet QPs 2016-01-21 12:01:09 -05:00
vport.h net/mlx5_core: Add VF param when querying vport counter 2016-03-21 17:13:14 -04:00