svn commit: r353209 - in stable/12/sys/dev/mlx5: . mlx5_core

Hans Petter Selasky hselasky at FreeBSD.org
Mon Oct 7 09:06:38 UTC 2019


Author: hselasky
Date: Mon Oct  7 09:06:37 2019
New Revision: 353209
URL: https://svnweb.freebsd.org/changeset/base/353209

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/12/sys/dev/mlx5/mlx5_core/mlx5_vsc.c
  stable/12/sys/dev/mlx5/mlx5_ifc.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_vsc.c
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_core/mlx5_vsc.c	Mon Oct  7 09:04:32 2019	(r353208)
+++ stable/12/sys/dev/mlx5/mlx5_core/mlx5_vsc.c	Mon Oct  7 09:06:37 2019	(r353209)
@@ -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/12/sys/dev/mlx5/mlx5_ifc.h
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_ifc.h	Mon Oct  7 09:04:32 2019	(r353208)
+++ stable/12/sys/dev/mlx5/mlx5_ifc.h	Mon Oct  7 09:06:37 2019	(r353209)
@@ -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-stable-12 mailing list