Home
last modified time | relevance | path

Searched refs:pfc_en_rx (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/mlx5/
HDport.h244 u8 pfc_en_rx, u8 pfc_en_tx);
247 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx);
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_port.c382 u8 pfc_en_rx, u8 pfc_en_tx) in mlx5_set_port_pause_and_pfc() argument
387 if (pfc_en_rx || pfc_en_tx) { in mlx5_set_port_pause_and_pfc()
397 MLX5_SET(pfcc_reg, in, pfcrx, pfc_en_rx); in mlx5_set_port_pause_and_pfc()
399 MLX5_SET(pfcc_reg, in, prio_mask_rx, pfc_en_rx); in mlx5_set_port_pause_and_pfc()
425 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx) in mlx5_query_port_pfc() argument
439 if (pfc_en_rx != NULL) in mlx5_query_port_pfc()
440 *pfc_en_rx = MLX5_GET(pfcc_reg, out, pfcrx); in mlx5_query_port_pfc()