Searched refs:pfc_en_rx (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | port.c | 580 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx) in mlx5_set_port_pfc() argument 587 MLX5_SET(pfcc_reg, in, pfcrx, pfc_en_rx); in mlx5_set_port_pfc() 595 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx) in mlx5_query_port_pfc() argument 607 if (pfc_en_rx) in mlx5_query_port_pfc() 608 *pfc_en_rx = MLX5_GET(pfcc_reg, out, pfcrx); in mlx5_query_port_pfc()
|
| H A D | mlx5_core.h | 326 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx); 328 u8 *pfc_en_rx);
|
| H A D | en_stats.c | 1995 u8 pfc_en_rx; in mlx5e_query_pfc_combined() local 2001 err = mlx5_query_port_pfc(mdev, &pfc_en_tx, &pfc_en_rx); in mlx5e_query_pfc_combined() 2003 return err ? 0 : pfc_en_tx | pfc_en_rx; in mlx5e_query_pfc_combined()
|