Lines Matching refs:mdev
39 #define MLX5_VPORT_MANAGER(mdev) \ argument
40 (MLX5_CAP_GEN(mdev, vport_group_manager) && \
41 (MLX5_CAP_GEN(mdev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && \
42 mlx5_core_is_pf(mdev))
58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
59 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
61 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,
63 int mlx5_query_mac_address(struct mlx5_core_dev *mdev, u8 *addr);
64 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev,
66 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline);
67 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev,
71 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
72 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu);
73 int mlx5_query_nic_vport_system_image_guid(struct mlx5_core_dev *mdev,
75 int mlx5_query_nic_vport_sd_group(struct mlx5_core_dev *mdev, u8 *sd_group);
76 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid);
77 int mlx5_modify_nic_vport_node_guid(struct mlx5_core_dev *mdev,
79 int mlx5_query_nic_vport_qkey_viol_cntr(struct mlx5_core_dev *mdev,
104 int mlx5_query_nic_vport_promisc(struct mlx5_core_dev *mdev,
109 int mlx5_modify_nic_vport_promisc(struct mlx5_core_dev *mdev,
117 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev);
118 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev);
119 int mlx5_query_vport_down_stats(struct mlx5_core_dev *mdev, u16 vport,
128 int mlx5_nic_vport_update_local_lb(struct mlx5_core_dev *mdev, bool enable);
129 int mlx5_nic_vport_query_local_lb(struct mlx5_core_dev *mdev, bool *status);
135 u64 mlx5_query_nic_system_image_guid(struct mlx5_core_dev *mdev);