aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/vport.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-11-10 13:53:53 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-11-10 13:53:53 +0000
commit2fd90b8297ee9b87716400c2e8aa0e584002cfc3 (patch)
tree1227fa8dbe1e091641d3aa5b18283baaee724972 /sys/dev/mlx5/vport.h
parent0b3ebe412ef154d1bd5dd28aadc38282c98e0751 (diff)
Notes
Diffstat (limited to 'sys/dev/mlx5/vport.h')
-rw-r--r--sys/dev/mlx5/vport.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mlx5/vport.h b/sys/dev/mlx5/vport.h
index edb863580aad..07fa5b7d8772 100644
--- a/sys/dev/mlx5/vport.h
+++ b/sys/dev/mlx5/vport.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2013-2015, Mellanox Technologies, Ltd. All rights reserved.
+ * Copyright (c) 2013-2017, Mellanox Technologies, Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -101,6 +101,9 @@ int mlx5_set_nic_vport_permanent_mac(struct mlx5_core_dev *mdev, int vport,
u8 *addr);
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_query_nic_vport_system_image_guid(struct mlx5_core_dev *mdev,
u64 *system_image_guid);
int mlx5_query_vport_system_image_guid(struct mlx5_core_dev *dev,