Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/
H A Dport.h187 u8 pfc_en_rx, u8 pfc_en_tx);
190 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx);
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c383 u8 pfc_en_rx, u8 pfc_en_tx) in mlx5_set_port_pause_and_pfc() argument
388 if (pfc_en_rx || pfc_en_tx) { in mlx5_set_port_pause_and_pfc()
397 MLX5_SET(pfcc_reg, in, pfctx, pfc_en_tx); in mlx5_set_port_pause_and_pfc()
399 MLX5_SET(pfcc_reg, in, prio_mask_tx, pfc_en_tx); in mlx5_set_port_pause_and_pfc()
426 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx) in mlx5_query_port_pfc() argument
438 if (pfc_en_tx != NULL) in mlx5_query_port_pfc()
439 *pfc_en_tx = MLX5_GET(pfcc_reg, out, pfctx); in mlx5_query_port_pfc()