Lines Matching refs:mlx5_core_dev

113 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps);
114 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys,
116 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev,
118 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev,
120 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev,
122 int mlx5_query_port_ib_proto_oper(struct mlx5_core_dev *dev,
124 int mlx5_query_port_eth_proto_oper(struct mlx5_core_dev *dev,
126 int mlx5_set_port_ptys(struct mlx5_core_dev *dev, bool an_disable,
128 void mlx5_toggle_port_link(struct mlx5_core_dev *dev);
129 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev,
131 int mlx5_query_port_admin_status(struct mlx5_core_dev *dev,
133 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration);
134 void mlx5_query_port_autoneg(struct mlx5_core_dev *dev, int proto_mask,
138 int mlx5_set_port_mtu(struct mlx5_core_dev *dev, u16 mtu, u8 port);
139 void mlx5_query_port_max_mtu(struct mlx5_core_dev *dev, u16 *max_mtu, u8 port);
140 void mlx5_query_port_oper_mtu(struct mlx5_core_dev *dev, u16 *oper_mtu,
143 int mlx5_query_port_vl_hw_cap(struct mlx5_core_dev *dev,
146 int mlx5_set_port_pause(struct mlx5_core_dev *dev, u32 rx_pause, u32 tx_pause);
147 int mlx5_query_port_pause(struct mlx5_core_dev *dev,
150 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx);
151 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx,
154 int mlx5_set_port_stall_watermark(struct mlx5_core_dev *dev,
157 int mlx5_query_port_stall_watermark(struct mlx5_core_dev *dev,
160 int mlx5_max_tc(struct mlx5_core_dev *mdev);
162 int mlx5_set_port_prio_tc(struct mlx5_core_dev *mdev, u8 *prio_tc);
163 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev,
165 int mlx5_set_port_tc_group(struct mlx5_core_dev *mdev, u8 *tc_group);
166 int mlx5_query_port_tc_group(struct mlx5_core_dev *mdev,
168 int mlx5_set_port_tc_bw_alloc(struct mlx5_core_dev *mdev, u8 *tc_bw);
169 int mlx5_query_port_tc_bw_alloc(struct mlx5_core_dev *mdev,
171 int mlx5_modify_port_ets_rate_limit(struct mlx5_core_dev *mdev,
174 int mlx5_query_port_ets_rate_limit(struct mlx5_core_dev *mdev,
177 int mlx5_set_port_wol(struct mlx5_core_dev *mdev, u8 wol_mode);
178 int mlx5_query_port_wol(struct mlx5_core_dev *mdev, u8 *wol_mode);
180 int mlx5_set_port_fcs(struct mlx5_core_dev *mdev, u8 enable);
181 void mlx5_query_port_fcs(struct mlx5_core_dev *mdev, bool *supported,
183 int mlx5_query_module_eeprom(struct mlx5_core_dev *dev,
186 int mlx5_query_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *out);
187 int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in);
189 int mlx5_set_trust_state(struct mlx5_core_dev *mdev, u8 trust_state);
190 int mlx5_query_trust_state(struct mlx5_core_dev *mdev, u8 *trust_state);
191 int mlx5_set_dscp2prio(struct mlx5_core_dev *mdev, u8 dscp, u8 prio);
192 int mlx5_query_dscp2prio(struct mlx5_core_dev *mdev, u8 *dscp2prio);