svn commit: r353210 - in stable/11/sys/dev/mlx5: . mlx5_core
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Oct 7 09:07:34 UTC 2019
Author: hselasky
Date: Mon Oct 7 09:07:33 2019
New Revision: 353210
URL: https://svnweb.freebsd.org/changeset/base/353210
Log:
MFC r352968:
Move mlx5_ifc_vsc_space_bits and mlx5_ifc_vsc_addr_bits to mlx5_ifc.h.
Submitted by: kib@
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/dev/mlx5/mlx5_core/mlx5_vsc.c
stable/11/sys/dev/mlx5/mlx5_ifc.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_vsc.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_vsc.c Mon Oct 7 09:06:37 2019 (r353209)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_vsc.c Mon Oct 7 09:07:33 2019 (r353210)
@@ -31,18 +31,6 @@
#define MLX5_SEMAPHORE_SPACE_DOMAIN 0xA
-struct mlx5_ifc_vsc_space_bits {
- u8 status[0x3];
- u8 reserved0[0xd];
- u8 space[0x10];
-};
-
-struct mlx5_ifc_vsc_addr_bits {
- u8 flag[0x1];
- u8 reserved0[0x1];
- u8 address[0x1e];
-};
-
int mlx5_vsc_lock(struct mlx5_core_dev *mdev)
{
device_t dev = mdev->pdev->dev.bsddev;
Modified: stable/11/sys/dev/mlx5/mlx5_ifc.h
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_ifc.h Mon Oct 7 09:06:37 2019 (r353209)
+++ stable/11/sys/dev/mlx5/mlx5_ifc.h Mon Oct 7 09:07:33 2019 (r353210)
@@ -9749,6 +9749,18 @@ struct mlx5_ifc_vendor_specific_cap_bits {
u8 data[0x20];
};
+struct mlx5_ifc_vsc_space_bits {
+ u8 status[0x3];
+ u8 reserved0[0xd];
+ u8 space[0x10];
+};
+
+struct mlx5_ifc_vsc_addr_bits {
+ u8 flag[0x1];
+ u8 reserved0[0x1];
+ u8 address[0x1e];
+};
+
enum {
MLX5_INITIAL_SEG_NIC_INTERFACE_FULL_DRIVER = 0x0,
MLX5_INITIAL_SEG_NIC_INTERFACE_DISABLED = 0x1,
More information about the svn-src-all
mailing list