OSDN Git Service

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[uclinux-h8/linux.git] / include / linux / mlx5 / vport.h
index 1237710..bd93e63 100644 (file)
@@ -92,5 +92,12 @@ int mlx5_modify_nic_vport_vlans(struct mlx5_core_dev *dev,
 
 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev);
 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev);
+int mlx5_core_query_vport_counter(struct mlx5_core_dev *dev, u8 other_vport,
+                                 int vf, u8 port_num, void *out,
+                                 size_t out_sz);
+int mlx5_core_modify_hca_vport_context(struct mlx5_core_dev *dev,
+                                      u8 other_vport, u8 port_num,
+                                      int vf,
+                                      struct mlx5_hca_vport_context *req);
 
 #endif /* __MLX5_VPORT_H__ */