diff options
Diffstat (limited to 'include/linux/mlx4')
| -rw-r--r-- | include/linux/mlx4/device.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index f1e41b33462f..1069ce65e8b4 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -744,8 +744,15 @@ struct mlx4_vf_dev { | |||
| 744 | u8 n_ports; | 744 | u8 n_ports; |
| 745 | }; | 745 | }; |
| 746 | 746 | ||
| 747 | struct mlx4_dev { | 747 | struct mlx4_dev_persistent { |
| 748 | struct pci_dev *pdev; | 748 | struct pci_dev *pdev; |
| 749 | struct mlx4_dev *dev; | ||
| 750 | int nvfs[MLX4_MAX_PORTS + 1]; | ||
| 751 | int num_vfs; | ||
| 752 | }; | ||
| 753 | |||
| 754 | struct mlx4_dev { | ||
| 755 | struct mlx4_dev_persistent *persist; | ||
| 749 | unsigned long flags; | 756 | unsigned long flags; |
| 750 | unsigned long num_slaves; | 757 | unsigned long num_slaves; |
| 751 | struct mlx4_caps caps; | 758 | struct mlx4_caps caps; |
| @@ -754,13 +761,11 @@ struct mlx4_dev { | |||
| 754 | struct radix_tree_root qp_table_tree; | 761 | struct radix_tree_root qp_table_tree; |
| 755 | u8 rev_id; | 762 | u8 rev_id; |
| 756 | char board_id[MLX4_BOARD_ID_LEN]; | 763 | char board_id[MLX4_BOARD_ID_LEN]; |
| 757 | int num_vfs; | ||
| 758 | int numa_node; | 764 | int numa_node; |
| 759 | int oper_log_mgm_entry_size; | 765 | int oper_log_mgm_entry_size; |
| 760 | u64 regid_promisc_array[MLX4_MAX_PORTS + 1]; | 766 | u64 regid_promisc_array[MLX4_MAX_PORTS + 1]; |
| 761 | u64 regid_allmulti_array[MLX4_MAX_PORTS + 1]; | 767 | u64 regid_allmulti_array[MLX4_MAX_PORTS + 1]; |
| 762 | struct mlx4_vf_dev *dev_vfs; | 768 | struct mlx4_vf_dev *dev_vfs; |
| 763 | int nvfs[MLX4_MAX_PORTS + 1]; | ||
| 764 | }; | 769 | }; |
| 765 | 770 | ||
| 766 | struct mlx4_eqe { | 771 | struct mlx4_eqe { |
